diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2672/CH3/EX3.21/Ex3_21.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2672/CH3/EX3.21/Ex3_21.sce')
-rwxr-xr-x | 2672/CH3/EX3.21/Ex3_21.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2672/CH3/EX3.21/Ex3_21.sce b/2672/CH3/EX3.21/Ex3_21.sce new file mode 100755 index 000000000..8a47e3308 --- /dev/null +++ b/2672/CH3/EX3.21/Ex3_21.sce @@ -0,0 +1,23 @@ +//Example 3_21
+clc;
+clear;
+close;
+format('v',5);
+//given data :
+L=100;//mH
+//i=14.148sin(314*t+%pi/6)
+//v=325*sin(314*t)
+Vm=325;//V
+Im=14.14;//A
+omega=314;//rad/s
+V=Vm/sqrt(2);//V
+I=Im/sqrt(2);//A
+Z=V/(I*expm(%i*%pi/6));//ohm
+R=real(Z);//ohm
+disp(R,"Value of R(ohm)");
+XCL=-imag(Z);//ohm//XCL=XC-XL
+XC=XCL+omega*L/1000;//ohm
+C=1/XC/omega;//F
+C=C*10^6;//micro F
+disp(C,"Value of C(micro F)");
+//Answer is not accurate in the book.
|