summaryrefslogtreecommitdiff
path: root/3825/CH7/EX7.9/Ex7_9.sce
blob: 72044e6b2e0877f5d586d0d1f79b75ab3cbe574f (plain)
1
2
3
4
5
6
7
8
clc
T=500 //temperature in Kelvin
W=250 //watts of motor
h=2*3600 //time of operation in seconds
Q=W*h
deltaS=Q/T
mprintf("deltaS=%fkJ/K",deltaS/1000)//ans in textbook is wrong