summaryrefslogtreecommitdiff
path: root/620/CH14/EX14.6/example14_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH14/EX14.6/example14_6.sce')
-rw-r--r--620/CH14/EX14.6/example14_6.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/620/CH14/EX14.6/example14_6.sce b/620/CH14/EX14.6/example14_6.sce
new file mode 100644
index 000000000..8c0ed011c
--- /dev/null
+++ b/620/CH14/EX14.6/example14_6.sce
@@ -0,0 +1,14 @@
+vp=50;
+disp("Part a");
+vm=vp/2;
+disp("the peak volage (in V) is"); disp(vm);
+disp("Part b");
+deg1=2*%pi/3;
+deg2=3*2*%pi/5;
+deg3=5*2*%pi/4;
+v1=vm*sin(deg1);
+v2=vm*sin(deg2);
+v3=vm*sin(deg3);
+disp("the instantaneous volage (in V) at one-third the cycle is"); disp(v1);
+disp("the instantaneous volage (in V) at three-fifths he cycle is"); disp(v2);
+disp("the instantaneous volage (in V) at one-and-a-quarter cycle is"); disp(v3); \ No newline at end of file