summaryrefslogtreecommitdiff
path: root/3769/CH9/EX9.40/Ex9_40.sce
blob: 475c174756f685f80c05162cb38f793acbea0588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
//Given
R1=400                      //ohm
R2=800.0
R3=10
V=6
R11=10000.0
R22=400

//Calculation
Rt=R1+R2+R3
I=V/Rt
Rp=(R11*R22)/(R11+R22)
R=Rp+800
I1=V/R
Vab=I1*Rp

//Result
printf("\n Hence the voltmeter will read %0.2f  V",Vab)