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 /3775/CH4/EX4.3/Ex4_3.sce | |
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 '3775/CH4/EX4.3/Ex4_3.sce')
-rw-r--r-- | 3775/CH4/EX4.3/Ex4_3.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3775/CH4/EX4.3/Ex4_3.sce b/3775/CH4/EX4.3/Ex4_3.sce new file mode 100644 index 000000000..b0ea49598 --- /dev/null +++ b/3775/CH4/EX4.3/Ex4_3.sce @@ -0,0 +1,20 @@ +//Ex 4.3 page 159 + +clc; +clear; +close; + + +R=10;// ohm +Vs=230;// V +f=50;// Hz +alpha = 90;// degree + +Vor=Vs*sqrt(1/%pi*(%pi-alpha*%pi/180+sin(2*alpha*%pi/180)/2));// V +Ior=Vor/R;// A +P=Ior**2*R;// W +pf=Vor/Vs;// power factor +printf('\n rms load voltage = %.2f V', Vor) +printf('\n rms load current = %.2f A', Ior) +printf('\n power input = %.2f W', P) +printf('\n load power factor = %.1f ',pf) |