summaryrefslogtreecommitdiff
path: root/1376/CH4/EX4.7/4_7.sci
blob: 425a5a290fe3da7ff5f8f7bd0eab512ba2116d0a (plain)
1
2
3
4
5
6
7
8
9
10
//4.7
clc;
E=230;
V1=60;
V2=40;
Rv=50000;
R1=((E-(V1+V2))/V2)*Rv*10^-3;
printf("Resistance between positive and earth=%.2f Kohm",R1)
R2=((E-(V1+V2))/V1)*Rv*10^-3;
printf("\nResistance between -ve and earth=%.2f Kohm",R2)