diff options
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 |