summaryrefslogtreecommitdiff
path: root/3630/CH10/EX10.1/Ex10_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH10/EX10.1/Ex10_1.sce')
-rw-r--r--3630/CH10/EX10.1/Ex10_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3630/CH10/EX10.1/Ex10_1.sce b/3630/CH10/EX10.1/Ex10_1.sce
new file mode 100644
index 000000000..2e460d438
--- /dev/null
+++ b/3630/CH10/EX10.1/Ex10_1.sce
@@ -0,0 +1,14 @@
+clc;
+R1=20000; //Ohm
+R2=20000; //Ohm
+Vcc=10; //Volt
+Vb=Vcc*(R2/(R1+R2)); //Volt
+Ve=Vb-0.7; //Volt
+Re=5000; //Ohm
+Ie=Ve/Re; //Ampere
+Vceq=Vcc-Ve; //Volt
+disp('V',Vb,"Vb=");//The answers vary due to round off error
+disp('V',Ve,"Ve=");//The answers vary due to round off error
+disp('A',Ie,"Ie=");//The answers vary due to round off error
+disp('V',Vceq,"Vceq=");//The answers vary due to round off error
+