From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 226/CH1/EX1.6/example6_sce.sce | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to '226/CH1/EX1.6') 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 -- cgit