summaryrefslogtreecommitdiff
path: root/3769/CH6/EX6.7/Ex6_7.sce
blob: b41db82f60109fbc2a7e7aa54764ebc342b3ee69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
a=15
b=4
c=12.0
d=10

//Calculation
R=(a*b)/c
X=(d*R)/(d-R)

//Result
printf("\n The value of resistance is %0.3f  ohm", X)