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 /343/CH2/EX2.43/ex2_43.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 '343/CH2/EX2.43/ex2_43.sce')
-rwxr-xr-x | 343/CH2/EX2.43/ex2_43.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/343/CH2/EX2.43/ex2_43.sce b/343/CH2/EX2.43/ex2_43.sce new file mode 100755 index 000000000..3aee1b42e --- /dev/null +++ b/343/CH2/EX2.43/ex2_43.sce @@ -0,0 +1,11 @@ +clc
+function i=f(t), i=5*sin(314*t+2*%pi/3), endfunction; //Defining functions
+function v=f1(t), v=20*sin(314*t+5*%pi/6), endfunction;
+I=-1.77+3.065*%i;
+V=-12.24+7.07*%i;
+Z=V/I;
+[r,t]=polar(Z);
+P=V*I*cos(t);
+[ro,theta]=polar(P);
+disp("Ohms",r,"Impedance");
+disp("Watts",ro,"Average Power");
\ No newline at end of file |