blob: 0b649ce5ce9fb29fef9119746a364ff10cd4ba34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc
clear
//Input data
K=0.2;//The thermal conductivity of the plate
d=0.2;//The thickness of the plate in cm
A=20;//The area of the plate in cm^2
T=100;//The temperature difference in degree centigrade
t=60;//The given time in seconds
//Calculations
Q=(K*A*T*t)/d;//The quantity of heat that will flow through the plate in one minute in cal
//Output
printf('The quantity of heat that will flow through the plate in one minute is Q = %3.4g cal ',Q)
|