summaryrefslogtreecommitdiff
path: root/1049/CH10/EX10.5/ch10_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1049/CH10/EX10.5/ch10_5.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1049/CH10/EX10.5/ch10_5.sce')
-rwxr-xr-x1049/CH10/EX10.5/ch10_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1049/CH10/EX10.5/ch10_5.sce b/1049/CH10/EX10.5/ch10_5.sce
new file mode 100755
index 000000000..a97bda417
--- /dev/null
+++ b/1049/CH10/EX10.5/ch10_5.sce
@@ -0,0 +1,16 @@
+clear;
+clc;
+V_s=400;
+V_ph=V_s/2;
+V_l=V_ph*sqrt(3);
+a=160;
+r=cosd(180-a);
+m=6;
+V_or=r*(V_l*(m/%pi)*sin(%pi/m)); printf("rms o/p voltage=%.2f V",V_or);
+R=2;
+X_L=1.5;
+th=atand(X_L/R);
+Z=sqrt(R^2+X_L^2);
+I_or=V_or/Z; printf("\nrms o/p current=%.2f A",I_or);
+printf("\nphase angle of o/p current=%.2f deg",-th)
+P=I_or^2*R; printf("\no/p power=%.2f W",P);