diff options
Diffstat (limited to '620/CH25/EX25.16')
-rw-r--r-- | 620/CH25/EX25.16/example25_16.sce | 16 | ||||
-rw-r--r-- | 620/CH25/EX25.16/example25_16.txt | bin | 0 -> 278 bytes |
2 files changed, 16 insertions, 0 deletions
diff --git a/620/CH25/EX25.16/example25_16.sce b/620/CH25/EX25.16/example25_16.sce new file mode 100644 index 000000000..1e49a9557 --- /dev/null +++ b/620/CH25/EX25.16/example25_16.sce @@ -0,0 +1,16 @@ +m_v1=50;
+m_v2=30;
+m_v3=75;
+deg_v1=20*%pi/180;
+deg_v2=50*%pi/180;
+deg_v3=-80*%pi/180;
+v1=m_v1*(cos(deg_v1)+%i*sin(deg_v1));
+v2=m_v2*(cos(deg_v2)+%i*sin(deg_v2));
+v3=m_v3*(cos(deg_v3)+%i*sin(deg_v3));
+v=v1+v2+v3;
+a=real(v);
+b=imag(v);
+m_v=sqrt(a^2+b^2);
+deg_v=atan(b/a)*180/%pi;
+disp("the the supply voltage (in V) has a magnitude of"); disp(m_v);
+disp("with a phase angle (in degrees) of"); disp(deg_v);
\ No newline at end of file diff --git a/620/CH25/EX25.16/example25_16.txt b/620/CH25/EX25.16/example25_16.txt Binary files differnew file mode 100644 index 000000000..ab3839b6c --- /dev/null +++ b/620/CH25/EX25.16/example25_16.txt |