diff options
Diffstat (limited to '620/CH15/EX15.4')
-rw-r--r-- | 620/CH15/EX15.4/example15_4.sce | 13 | ||||
-rw-r--r-- | 620/CH15/EX15.4/example15_4.txt | bin | 0 -> 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 Binary files differnew file mode 100644 index 000000000..f6d59108c --- /dev/null +++ b/620/CH15/EX15.4/example15_4.txt |