summaryrefslogtreecommitdiff
path: root/3630/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH4/EX4.2/Ex4_2.sce')
-rw-r--r--3630/CH4/EX4.2/Ex4_2.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/3630/CH4/EX4.2/Ex4_2.sce b/3630/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..e0815e45b
--- /dev/null
+++ b/3630/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,6 @@
+clc;
+VL=-0.7; //volt
+Vin=-12; //volt
+VRS=Vin-VL; //volt
+disp('Vpk',VRS,"VRS=");//The answers vary due to round off error
+