summaryrefslogtreecommitdiff
path: root/2561/CH8/EX8.4/Ex8_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2561/CH8/EX8.4/Ex8_4.sce')
-rwxr-xr-x2561/CH8/EX8.4/Ex8_4.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2561/CH8/EX8.4/Ex8_4.sce b/2561/CH8/EX8.4/Ex8_4.sce
new file mode 100755
index 000000000..08b5a49ad
--- /dev/null
+++ b/2561/CH8/EX8.4/Ex8_4.sce
@@ -0,0 +1,16 @@
+//Ex8_4
+clc
+Ir=10*10^(-3)
+disp("Ir = "+string(Ir)+" ampere/lumen of radiant energy ") //photodiode Reverse saturation current for constant reverse bias VR
+RF=10*10^(3)
+disp("RF= "+string(RF)+ " ohm") //Feedback resistance
+E=1*10^(-2)
+disp("E = "+string(E)+" lumens")// radiant energy
+IR=Ir*E
+disp("IR =Ir*E= "+string(IR)+" ampere") // Reverse saturation current
+Vo=IR*RF
+disp("Vo=IR*RF= "+string(Vo)+" volts") // output voltage
+s=E/Vo
+disp("scale factor=E/Vo= "+string(E)+" lumens/V") // Scale factor of photometer
+
+