summaryrefslogtreecommitdiff
path: root/620/CH15/EX15.3/example15_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH15/EX15.3/example15_3.sce')
-rw-r--r--620/CH15/EX15.3/example15_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/620/CH15/EX15.3/example15_3.sce b/620/CH15/EX15.3/example15_3.sce
new file mode 100644
index 000000000..a832e3287
--- /dev/null
+++ b/620/CH15/EX15.3/example15_3.sce
@@ -0,0 +1,13 @@
+vp=8;
+vm=vp/2;
+r=2.2*10^3;
+t=2*10^(-3);
+disp("Part a");
+i=vm/r;
+disp("the peak value of the current (in mA) is"); disp(i*10^3);
+disp("Part b");
+f=1/t;
+disp("the frequency (in Hz) is"); disp(f);
+disp("Part c");
+w=2*%pi*f;
+disp("equation representing the current is i=1.82*sin(1000*π*t) mA.");