blob: e58f212d5b7b1c3e3e301c0c253f1027c26eef1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
b=2.92*10^-3; //value of b(mK)
lamda=4900*10^-10; //wavelength(m)
//Calculations
T=b/lamda; //temperature(K)
//Result
printf("\n temperature is %0.0f K",T)
printf("\n answer in the book is wrong")
|