summaryrefslogtreecommitdiff
path: root/226/CH1/EX1.6
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /226/CH1/EX1.6
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
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