summaryrefslogtreecommitdiff
path: root/2102/CH4/EX4.23/exa_4_23.sce
diff options
context:
space:
mode:
Diffstat (limited to '2102/CH4/EX4.23/exa_4_23.sce')
-rwxr-xr-x2102/CH4/EX4.23/exa_4_23.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2102/CH4/EX4.23/exa_4_23.sce b/2102/CH4/EX4.23/exa_4_23.sce
new file mode 100755
index 000000000..043c7f9a8
--- /dev/null
+++ b/2102/CH4/EX4.23/exa_4_23.sce
@@ -0,0 +1,11 @@
+// Exa 4.23
+clc;
+clear;
+close;
+// Given data
+lamda= 600;// in nm
+h_int= 4/100;
+EpIn_eV= 1248/lamda;// in eV
+I=50;// in mA
+P= h_int*EpIn_eV*I;// in mW
+disp(P,"Power radiated by an LED in mW is : ")