summaryrefslogtreecommitdiff
path: root/147/CH5/EX5.1
diff options
context:
space:
mode:
Diffstat (limited to '147/CH5/EX5.1')
-rw-r--r--147/CH5/EX5.1/Example5_1.sce10
-rw-r--r--147/CH5/EX5.1/Result5_1.txt1
2 files changed, 11 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
diff --git a/147/CH5/EX5.1/Result5_1.txt b/147/CH5/EX5.1/Result5_1.txt
new file mode 100644
index 000000000..d97e880c3
--- /dev/null
+++ b/147/CH5/EX5.1/Result5_1.txt
@@ -0,0 +1 @@
+v(t) = (2 sin w*(t-0.005)) *(u(t-0.005) - u(t-0.015)) \ No newline at end of file