summaryrefslogtreecommitdiff
path: root/1529/CH21/EX21.21/21_21.sce
blob: 7f38ff555666395b7979c36c25fc023c8f26565a (plain)
1
2
3
4
5
6
//Chapter 21, Problem 21
clc;
N=4/1;                      //turns ratio
Rl=100;                     //load resistance
R1=N^2*Rl;                  //equivalent input resistance
printf("Equivalent input resistance = %d ohms",R1);