summaryrefslogtreecommitdiff
path: root/3630/CH2/EX2.12/Ex2_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH2/EX2.12/Ex2_12.sce')
-rw-r--r--3630/CH2/EX2.12/Ex2_12.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3630/CH2/EX2.12/Ex2_12.sce b/3630/CH2/EX2.12/Ex2_12.sce
new file mode 100644
index 000000000..4f606e12b
--- /dev/null
+++ b/3630/CH2/EX2.12/Ex2_12.sce
@@ -0,0 +1,12 @@
+clc;
+//ex2.12
+Vb=0.7; //volt
+If=[0.001 0.005]; //Ampere
+Rb=5; //ohm
+Vf1=Vb+If(1,1)*Rb; //Volt//VF=VB+If*Rb;
+Vf2=Vb+If(1,2)*Rb; //Volt//VF=VB+If*Rb;
+disp('mV',Vf1,"Vf1=");
+disp('mV',Vf2,"Vf2=");
+
+
+