summaryrefslogtreecommitdiff
path: root/1571/CH4/EX4.24/Chapter4_Example24.sce
blob: 4feaa5aeb73900a00417c52343995f70cacc5d31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
clear

//INPUT
t2=296.4;//temperature of the first plate in K
t1=304.7;//temperature of the second plate in K
f=1.6*10^-2;//force repelled cold is dynes/sq.cm

//CALCULATIONS
p=(4*f*t2/(t1-t2));//pressure of the gas in dynes/sq.cm

//OUTPUT
mprintf('the pressure of the gas is %3.3f dynes/sq.cm',p)