summaryrefslogtreecommitdiff
path: root/620/CH18/EX18.2/example18_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH18/EX18.2/example18_2.sce')
-rw-r--r--620/CH18/EX18.2/example18_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/620/CH18/EX18.2/example18_2.sce b/620/CH18/EX18.2/example18_2.sce
new file mode 100644
index 000000000..d3d033d96
--- /dev/null
+++ b/620/CH18/EX18.2/example18_2.sce
@@ -0,0 +1,12 @@
+v1=120;
+v2=12.6;
+r=10;
+disp("Part a");
+n=v1/v2;
+disp("the turns ratio is"); disp(n);
+disp("Part b");
+i2=v2/r;
+disp("the secondary current (in A) is"); disp(i2);
+disp("Part c");
+i1=v1/r;
+disp("the primary current (in A) is"); disp(i1); \ No newline at end of file