summaryrefslogtreecommitdiff
path: root/3440/CH10/EX10.3/Ex10_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3440/CH10/EX10.3/Ex10_3.sce')
-rw-r--r--3440/CH10/EX10.3/Ex10_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3440/CH10/EX10.3/Ex10_3.sce b/3440/CH10/EX10.3/Ex10_3.sce
new file mode 100644
index 000000000..4a4e9ed56
--- /dev/null
+++ b/3440/CH10/EX10.3/Ex10_3.sce
@@ -0,0 +1,14 @@
+clc
+
+Ip=3*10^-4//mA
+I0=0.2//*
+h=6.62*10^-34//Jsec
+q=1.6*10^-19//C
+c=3*10^8//m/sec
+lambda=80*10^-9//m
+Popt=%pi*(0.03)^2*I0
+disp(Popt,"Popt in Watt is= ")
+R=Ip/Popt
+disp(R,"R in A/W is= ")
+n=R*(h*c/(q*lambda))
+disp(n,"n in % is= ") //textbook ans is wrong