1 2 3 4 5 6 7 8 9
// Example 19.7, page no-545 clear clc mu=9.4*10^-24 H=2 k=1.38*10^-23 T=2*mu*H/(k*log(2)) printf("The temperature of the system T is %.1f K",T)