summaryrefslogtreecommitdiff
path: root/3835/CH4/EX4.13/Ex4_13.sce
blob: 46738a49c0d11b9c2a75f3878fb2574772dd2038 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//
vr=150
r=50
l=250*10**-3
f=50
i=vr/r
xl=2*3.14*f*l
vl=i*xl
v=(((vr**2)+(vl**2))**0.5)
printf("\n v= %0.1f  V",v)