summaryrefslogtreecommitdiff
path: root/3775/CH2/EX2.1/Ex2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3775/CH2/EX2.1/Ex2_1.sce')
-rw-r--r--3775/CH2/EX2.1/Ex2_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3775/CH2/EX2.1/Ex2_1.sce b/3775/CH2/EX2.1/Ex2_1.sce
new file mode 100644
index 000000000..994b2525e
--- /dev/null
+++ b/3775/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,15 @@
+//Ex 2.1 page 67
+
+clc;
+clear;
+close;
+
+V1=1;//V across SCR
+IG=0;//A
+Ih=2;//mA holding current
+R=50;//ohm
+
+// Applying kirchoff law
+//VA-(IAK*R)-V1=0
+VA=(Ih*10**-3*R)+V1;//V (let IAK=Ih)
+printf('VA = %.2f V',VA)