blob: da5e0a394350940859b138ec8233a7eb634e17b7 (
plain)
1
2
3
4
5
6
7
|
//ques-18.11
//Calculating heat to be withdrawn from reservoir
clc
n=0.42;//efficiency
w=203;//work done (in cal)
q2=w/n;//heat withdrawn (in cal)
printf("Heat withdrawn from reservoir is %.1f cal.",q2);
|