summaryrefslogtreecommitdiff
path: root/3775/CH2/EX2.1/Ex2_1.sce
blob: 994b2525e53d8a3c15dde588a201b84f246fcbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)