diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2825/CH3/EX3.9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2825/CH3/EX3.9')
-rwxr-xr-x | 2825/CH3/EX3.9/Ex3_9.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2825/CH3/EX3.9/Ex3_9.sce b/2825/CH3/EX3.9/Ex3_9.sce new file mode 100755 index 000000000..23c7b0c38 --- /dev/null +++ b/2825/CH3/EX3.9/Ex3_9.sce @@ -0,0 +1,14 @@ +//Ex3_9 Pg-185
+clc
+
+n=1 //constant
+T=27+273 //temperature in K
+Vt=T/11600
+V=0.2 //voltage
+I0=10^(-6) //saturation current
+I=I0*(exp(V/Vt)-1)
+stat_res=V/I //static resistance
+printf("Static resistance = %.2f ohm \n",stat_res)
+
+dyn_res=Vt/(I+I0) //dynamic resistance
+printf("Dynamic resistance = %.2f ohm",dyn_res)
|