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.21 | |
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.21')
-rwxr-xr-x | 343/CH2/EX2.21/ex2_21.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/343/CH2/EX2.21/ex2_21.sce b/343/CH2/EX2.21/ex2_21.sce new file mode 100755 index 000000000..28e7d1c23 --- /dev/null +++ b/343/CH2/EX2.21/ex2_21.sce @@ -0,0 +1,8 @@ +V1=17.68 //Defining voltage equations in rectangular form
+V2=6.12+%i*3.54
+V3=%i*21.21
+V4=10-%i*10;
+V=V1+V2+V3+V4;
+[Ro,Theta]=polar(V);
+function y=f(t), y=Ro*sqrt(2)*sin(t+Theta), endfunction
+disp("Volts",Ro*sqrt(2),"Maximum Voltage value")
\ No newline at end of file |