diff options
Diffstat (limited to '620/CH15/EX15.1/example15_1.sce')
-rw-r--r-- | 620/CH15/EX15.1/example15_1.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/620/CH15/EX15.1/example15_1.sce b/620/CH15/EX15.1/example15_1.sce new file mode 100644 index 000000000..8f7de09f1 --- /dev/null +++ b/620/CH15/EX15.1/example15_1.sce @@ -0,0 +1,9 @@ +vm=5;
+f=1000;
+disp("Part a");
+w=2*%pi*f;
+disp("the angular frequency (in rad/s) is"); disp(w);
+disp("Part b");
+t=400*10^(-6);
+v=vm*sin(w*t);
+disp("the instantaneous voltage (in V) is"); disp(v);
\ No newline at end of file |