From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 620/CH20/EX20.6/example20_6.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 620/CH20/EX20.6/example20_6.sce (limited to '620/CH20/EX20.6/example20_6.sce') 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 -- cgit