diff options
Diffstat (limited to '343/CH2/EX2.19/ex2_19.sce')
-rwxr-xr-x | 343/CH2/EX2.19/ex2_19.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/343/CH2/EX2.19/ex2_19.sce b/343/CH2/EX2.19/ex2_19.sce new file mode 100755 index 000000000..50f95bfbb --- /dev/null +++ b/343/CH2/EX2.19/ex2_19.sce @@ -0,0 +1,12 @@ +V1=42.43+%i*0; //Defining voltage equations in rectangular form
+V2=14.14+%i*24.49;
+Va=V1+V2;
+[Ro,Theta]=polar(Va);
+Vm=Ro*sqrt(2);
+disp("Volts",Vm,"Maximum value of voltage considering addition of voltages")
+function y=f(t), y=Ro*sin(t+Theta),endfunction //Defining voltage equation
+Vb=V1-V2;
+[Ro1,Theta1]=polar(Vb);
+Vm1=Ro1*sqrt(2);
+function y1=f(t),y1=Ro*sin(t+Theta1),endfunction //Defining voltage equation
+disp("Volts",Vm1,"Maximum value of voltage considering difference of voltages")
\ No newline at end of file |