summaryrefslogtreecommitdiff
path: root/2210/CH1/EX1.7/1_7.sce
blob: 010389b3a7d8258732fa27d6015746808e99e86c (plain)
1
2
3
4
5
6
7
8
9
//Chapter 1, Example 1.7, figure 1.23
clc
n=4                         //no of recievers
Zo=50                       //input impedance of each receiver

//calculating the value of resistor
R=((n-1)/(n+1))*Zo

printf("Value of the matching resistor = %d ohm",R)