summaryrefslogtreecommitdiff
path: root/226/CH1/EX1.6
diff options
context:
space:
mode:
Diffstat (limited to '226/CH1/EX1.6')
-rwxr-xr-x226/CH1/EX1.6/example6_sce.sce28
1 files changed, 15 insertions, 13 deletions
diff --git a/226/CH1/EX1.6/example6_sce.sce b/226/CH1/EX1.6/example6_sce.sce
index 15154727d..5a5e6eeca 100755
--- a/226/CH1/EX1.6/example6_sce.sce
+++ b/226/CH1/EX1.6/example6_sce.sce
@@ -1,14 +1,16 @@
-//chapter 1
-//example 1.6
-//page 29
-printf("\n")
-printf("given")
-Id=.1*10^-3;n=2;vt=26*10^-3;
-I0=30*10^-9;
-disp("a)")
-Vd=(n*Vt)*log(Id/I0)*10^3;
-printf(" forward bais current is %dmV\n",Vd)
-disp("b)")
-Id=10*10^-3
-Vd=(n*Vt)*log(Id/I0)*10^3;
+//chapter 1
+//example 1.6
+//page 29
+printf("\n")
+printf("given")
+
+Id=.1*10^-3;n=2;
+Vt=26*10^-3;
+I0=30*10^-9;
+disp("a)")
+Vd=(n*Vt)*log(Id/I0)*10^3;
+printf(" forward bais current is %dmV\n",Vd)
+disp("b)")
+Id=10*10^-3
+Vd=(n*Vt)*log(Id/I0)*10^3;
printf(" forward bais current is %dmV\n",Vd) \ No newline at end of file