summaryrefslogtreecommitdiff
path: root/2360/CH4/EX4.3
diff options
context:
space:
mode:
Diffstat (limited to '2360/CH4/EX4.3')
-rwxr-xr-x2360/CH4/EX4.3/ex4_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2360/CH4/EX4.3/ex4_3.sce b/2360/CH4/EX4.3/ex4_3.sce
new file mode 100755
index 000000000..c1b8f70d5
--- /dev/null
+++ b/2360/CH4/EX4.3/ex4_3.sce
@@ -0,0 +1,13 @@
+// Exa 4.3
+format('v',7);clc;clear;close;
+// Given data
+// When Vi=100 mV
+Vi = 100;// in mV
+V_R = 100;// in mV
+t1 = 83.33;// in ms
+t2 = (Vi/V_R)*t1;// in ms
+disp(t2,"When Vi=100 mV, the value of t2 in ms is");
+// When Vi=200 mV
+Vi = 200;// in mV
+t2 = (Vi/V_R)*t1;// in ms
+disp(t2,"When Vi=200 mV, the value of t2 in ms is");