summaryrefslogtreecommitdiff
path: root/620/CH18/EX18.5/example18_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH18/EX18.5/example18_5.sce')
-rw-r--r--620/CH18/EX18.5/example18_5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/620/CH18/EX18.5/example18_5.sce b/620/CH18/EX18.5/example18_5.sce
new file mode 100644
index 000000000..4095f70a5
--- /dev/null
+++ b/620/CH18/EX18.5/example18_5.sce
@@ -0,0 +1,11 @@
+i=4;
+v=115;
+n1=75/5;
+n2=20;
+il=i*n1;
+v1=v*n2;
+p=350;
+p1=p*n1*n2;
+disp("the load current (in A) is"); disp(i1);
+disp("the load voltage (in V) is"); disp(v1);
+disp("the load power (in kW) is"); disp(p1*10^(-3)); \ No newline at end of file