diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /3411/CH6/EX6.5.u1 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '3411/CH6/EX6.5.u1')
-rw-r--r-- | 3411/CH6/EX6.5.u1/Ex6_5_u1.sce | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/3411/CH6/EX6.5.u1/Ex6_5_u1.sce b/3411/CH6/EX6.5.u1/Ex6_5_u1.sce index 28cf8571e..123f68d10 100644 --- a/3411/CH6/EX6.5.u1/Ex6_5_u1.sce +++ b/3411/CH6/EX6.5.u1/Ex6_5_u1.sce @@ -2,10 +2,10 @@ clc();
clear;
//To find the wavelength of the radiation emitted
-h=6.63*10^-34
-c=3*10^8
-kb=1.38*10^-23
-T=300
+h=6.63*10^-34 //units in m^2 kg s^-1
+c=3*10^8 //units in meter/sec
+kb=1.38*10^-23 //units in m^2 kg s^-2 K^-1
+T=300 //units in K
lamda=(h*c)/(kb*T) //units in microns
lamda=lamda*10^6 //units in micro meters
printf("The wavelength of the radiation emmitted is lamda=%.2f um",lamda)
|