diff options
Diffstat (limited to '3745/CH1/EX1.64/Ex1_64.sce')
-rw-r--r-- | 3745/CH1/EX1.64/Ex1_64.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3745/CH1/EX1.64/Ex1_64.sce b/3745/CH1/EX1.64/Ex1_64.sce new file mode 100644 index 000000000..f7a7e6857 --- /dev/null +++ b/3745/CH1/EX1.64/Ex1_64.sce @@ -0,0 +1,18 @@ +// Ex 64 Page 405 + +clc;clear;close; +// Given +//i=0.25+0.25*sin(omega*t)-0.25*sin(2*omega*t) +I0=0.25;I1m=0.25;I2m=-0.25;//from above expression +Iav=I0;//A +R=800;//ohm +L=1/1000;//H + +Irms=sqrt(I0**2+(I1m/sqrt(2)**2+(I2m/sqrt(2)**2)));//A +printf("Reading on hot wire instrument = %.3f A",Irms) +VR=Irms*R;//V +printf("\n Reading on electrostatic voltmeter across 800 ohm = %d V",VR) +//vl_dash=L*di/dt=300*cos(w*t)-400*cos(2*w*t) +vl1=300;vl2=4;//V +vl=sqrt((300/sqrt(2))**2+(400/sqrt(2))**2) +printf("\n Reading on electrostatic voltmeter across 1 mH inductor = %d V",vl) |