diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /503/CH12/EX12.2/ch12_2.sci | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '503/CH12/EX12.2/ch12_2.sci')
-rwxr-xr-x | 503/CH12/EX12.2/ch12_2.sci | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/503/CH12/EX12.2/ch12_2.sci b/503/CH12/EX12.2/ch12_2.sci index eec86e1de..36e538981 100755 --- a/503/CH12/EX12.2/ch12_2.sci +++ b/503/CH12/EX12.2/ch12_2.sci @@ -1,9 +1,11 @@ -//calculate firing angle value
-
-clc;
-Po=15000;
-Ro=1.5;
-Va=sqrt(Po*Ro);
-a=acosd((Va*2*%pi/(3*sqrt(6)*V))-1);disp(a,'firing angle(deg)');
-Ia=Va/Ro;
+//calculate firing angle value + +clc; +clear + V = 220; +Po=15000; +Ro=1.5; +Va=sqrt(Po*Ro); +a=acosd((Va*2*%pi/(3*sqrt(6)*V))-1);disp(a,'firing angle(deg)'); +Ia=Va/Ro; Ith=Ia/3;disp(Ith,'avg current through diodes(A)');
\ No newline at end of file |