summaryrefslogtreecommitdiff
path: root/3769/CH7/EX7.15/Ex7_15.sce
blob: 0381b48af9d560bb82a179b15eff243dcf8c7520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
//Given
m=900
w=100.0
c=1
a=80
b=4.2
V=210                   //V
x=12
y=60

//Calculation
Hout=(m+w)*c*a
Hin=(V*x*y)/b
Hin1=90/w*Hin
I=Hout/Hin1

//Result
printf("\n Strength of the current is %0.3f  A",I)