summaryrefslogtreecommitdiff
path: root/620/CH15/EX15.4
diff options
context:
space:
mode:
Diffstat (limited to '620/CH15/EX15.4')
-rw-r--r--620/CH15/EX15.4/example15_4.sce13
-rw-r--r--620/CH15/EX15.4/example15_4.txtbin0 -> 514 bytes
2 files changed, 13 insertions, 0 deletions
diff --git a/620/CH15/EX15.4/example15_4.sce b/620/CH15/EX15.4/example15_4.sce
new file mode 100644
index 000000000..3747dcd46
--- /dev/null
+++ b/620/CH15/EX15.4/example15_4.sce
@@ -0,0 +1,13 @@
+r=25;
+vm=50;
+w=800*%pi;
+disp("Part a");
+im=vm/r;
+pm=im^2*r;
+disp("Peak power dissipated (in W) in the resistoris"); disp(pm);
+disp("Part b");
+f=w/(2*%pi);
+disp("the frequency (in Hz) of power variation is"); disp(2*f);
+disp("Part c");
+pavg=pm/2;
+disp("the average power (in W) dissipated in the resistor is"); disp(pavg); \ No newline at end of file
diff --git a/620/CH15/EX15.4/example15_4.txt b/620/CH15/EX15.4/example15_4.txt
new file mode 100644
index 000000000..f6d59108c
--- /dev/null
+++ b/620/CH15/EX15.4/example15_4.txt
Binary files differ