summaryrefslogtreecommitdiff
path: root/3515/CH3/EX3.25/Ex_3_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '3515/CH3/EX3.25/Ex_3_25.sce')
-rw-r--r--3515/CH3/EX3.25/Ex_3_25.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3515/CH3/EX3.25/Ex_3_25.sce b/3515/CH3/EX3.25/Ex_3_25.sce
new file mode 100644
index 000000000..4d403c246
--- /dev/null
+++ b/3515/CH3/EX3.25/Ex_3_25.sce
@@ -0,0 +1,20 @@
+// Exa 3.25
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+R1= 10;// in kΩ
+R1=R1*10^3;// in Ω
+R2= 10;// in kΩ
+R2=R2*10^3;// in Ω
+I_C=.5;// mA
+V_T= 0.025;//in V
+I_C= I_C*10^-3;// in A
+V= 10;// in V
+Vth= V*R1/(R1+R2);// in V
+Rth= R1*R2/(R1+R2);//in Ω
+vo= I_C*Rth;// in V
+vi=V_T;// in V
+vo_by_vi= vo/vi;//in V/V
+disp(vo_by_vi,"The value of vo/vi in V/V is : ")