summaryrefslogtreecommitdiff
path: root/3543/CH5/EX5.30/Ex5_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '3543/CH5/EX5.30/Ex5_30.sce')
-rw-r--r--3543/CH5/EX5.30/Ex5_30.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3543/CH5/EX5.30/Ex5_30.sce b/3543/CH5/EX5.30/Ex5_30.sce
new file mode 100644
index 000000000..022db86ed
--- /dev/null
+++ b/3543/CH5/EX5.30/Ex5_30.sce
@@ -0,0 +1,17 @@
+// Example 5.30
+// Computation of value of reflectance
+// Page no 489
+
+clc;
+clear;
+close;
+
+// Given data
+n1=3.5; // Refractive index of silicon
+n2=1; // Refractive index of photodiode
+
+//Value of reflectance
+R=((n1-n2)/(n1+n2))^2;
+
+//Display result on command window
+printf("\n Value of reflectance (R) = %0.2f ",R);