summaryrefslogtreecommitdiff
path: root/1994/CH8/EX8.2/Example8_2.sce
blob: 681c804460dd798f55ab09fe17bdf0b4000b7ca6 (plain)
1
2
3
4
5
6
7
8
//Chapter-8,Example8_2,pg 8_18
R1=10*10^3
R2=2*10^3
R3=5*10^3
//R4=Rx
R4=(R1*R3)/R2
printf("unknown resistance\n")
printf("R4=%.2f ohm",R4)