1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
//chapter-2,Example2_1,pg 54 Tn=285 Tc1=20 Ti1=(2*Tn)-Tc1 Tc2=-20 Ti2=(2*Tn)-Tc2 printf("higher temperature\n") printf("Ti1=%.f deg. C",Ti1) printf("\ntemperature of inversion\n") printf("Ti2=%.f deg. C",Ti2)