diff options
Diffstat (limited to '147/CH5/EX5.1/Example5_1.sce')
-rw-r--r-- | 147/CH5/EX5.1/Example5_1.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/147/CH5/EX5.1/Example5_1.sce b/147/CH5/EX5.1/Example5_1.sce new file mode 100644 index 000000000..2e8b83e2e --- /dev/null +++ b/147/CH5/EX5.1/Example5_1.sce @@ -0,0 +1,10 @@ +close();
+clear;
+clc;
+//time period 'T, angular frequency 'w', amplitude ro maximum voltage 'Vm'
+to = 5*10^(-3); //s
+t1 = 15*10^(-3); //s
+T = 10^(-2)*1/7;
+w = 2*%pi/T; //rad/s
+Vm = 2; //V
+mprintf("v(t) = (%d sin w*(t-%0.3f)) *(u(t-%0.3f) - u(t-%0.3f))",Vm, to,to,t1);
\ No newline at end of file |