diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3745/CH1/EX1.62 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3745/CH1/EX1.62')
-rw-r--r-- | 3745/CH1/EX1.62/Ex1_62.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/3745/CH1/EX1.62/Ex1_62.sce b/3745/CH1/EX1.62/Ex1_62.sce new file mode 100644 index 000000000..b3456a1e3 --- /dev/null +++ b/3745/CH1/EX1.62/Ex1_62.sce @@ -0,0 +1,25 @@ +// Ex 62 Page 403 + +clc;clear;close; +// Given +R=150;//ohm +Vrms=200;//V +Rd1=65;//ohm +Rd2=140;//ohm + +Vm=Vrms/sqrt(2);//V +//v=Vm*sin(theta) +Rf=R+Rd1;//ohm +Rb=R+Rd2;//ohm +//i_f=v/Rf;//A +//i_b=v/Rb;//A +Irms=1/2/%pi*(integrate('(sqrt(2)*sin(theta))**2','theta',0,%pi)+integrate('(sqrt(2)/3*sin(theta))**2','theta',%pi,2*%pi)) +Iav=1/2/%pi*(integrate('sqrt(2)*sin(theta)','theta',0,%pi)+integrate('sqrt(2)/3*sin(theta)','theta',%pi,2*%pi)) +printf("reading of ammeter 1= %.2f A",Irms) +printf("\n reading of ammeter 2 = %.2f A",Iav) +P=1/2*(Vrms**2/Rf+Vrms**2/Rb);//W +printf("\n\n Power taken from the mains = %.1f W",P) +Pc=Irms**2*R;//W +Pd=P-Pc;//W +printf("\n Power dissipated in rectifying device = %d W",Pd) +//Answer wrong in the textbook. |