summaryrefslogtreecommitdiff
path: root/620/CH20/EX20.6/example20_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH20/EX20.6/example20_6.sce')
-rw-r--r--620/CH20/EX20.6/example20_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/620/CH20/EX20.6/example20_6.sce b/620/CH20/EX20.6/example20_6.sce
new file mode 100644
index 000000000..7c60597ff
--- /dev/null
+++ b/620/CH20/EX20.6/example20_6.sce
@@ -0,0 +1,10 @@
+v=10;
+l=10;
+r=100;
+f=60;
+disp("Part a");
+disp("the dc output voltage (in V) is"); disp(v);
+disp("Part b");
+x_l=2*%pi*f*l;
+vo=v*r/x_l;
+disp("the ac output voltage (in V) is"); disp(vo); \ No newline at end of file