summaryrefslogtreecommitdiff
path: root/377/CH15/EX15.8/15_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH15/EX15.8/15_8.sce')
-rw-r--r--377/CH15/EX15.8/15_8.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/377/CH15/EX15.8/15_8.sce b/377/CH15/EX15.8/15_8.sce
new file mode 100644
index 000000000..63e05ce91
--- /dev/null
+++ b/377/CH15/EX15.8/15_8.sce
@@ -0,0 +1,10 @@
+disp("Voc=k*log(Il/Is)");
+k=0.026;//say k=K*T/q
+Il=100*10^-3;
+Is=1*10^-9;
+Voc=k*log(Il/Is);
+printf('\n The value of Voc is %1.2fV',Voc);
+disp("P=(Il*V)-(Is*exp((V/k)-1))");
+V=0.35;
+P=(Il*V)-(Is*exp((V/k)-1));
+printf('\n The Output power is %f*10^-4W',P*10^4); \ No newline at end of file