summaryrefslogtreecommitdiff
path: root/165/CH5/EX5.2/ex5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '165/CH5/EX5.2/ex5_2.sce')
-rw-r--r--165/CH5/EX5.2/ex5_2.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/165/CH5/EX5.2/ex5_2.sce b/165/CH5/EX5.2/ex5_2.sce
new file mode 100644
index 000000000..f22b9580b
--- /dev/null
+++ b/165/CH5/EX5.2/ex5_2.sce
@@ -0,0 +1,8 @@
+//Example 5.2
+clc;
+
+Vin=1; //Input Voltage
+Vr=5; //Reference Voltage
+t1=1; //given time
+t2=Vin*t1/Vr;
+disp(t2,'Time Interval t2 is') \ No newline at end of file