summaryrefslogtreecommitdiff
path: root/620/CH25/EX25.1/example25_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH25/EX25.1/example25_1.sce')
-rw-r--r--620/CH25/EX25.1/example25_1.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/620/CH25/EX25.1/example25_1.sce b/620/CH25/EX25.1/example25_1.sce
new file mode 100644
index 000000000..311980c4e
--- /dev/null
+++ b/620/CH25/EX25.1/example25_1.sce
@@ -0,0 +1,6 @@
+vr=30;
+vl=40;
+v=sqrt((vr^2)+(vl^2));
+theta=atan(vl/vr);
+disp("the polar form of the total voltage has a magnitude (in V) of") ; disp(v);
+disp("with a phase angle (in degrees) of"); disp(theta*180/%pi); \ No newline at end of file