summaryrefslogtreecommitdiff
path: root/3841/CH7/EX7.2/Ex7_2.sce
blob: 60ff1bb4343087046c7cc8670c3b2a2490261f24 (plain)
1
2
3
4
5
6
7
8
9
clear
//given
//find out what is torque produced by and engine
N=850.
bhp=62.
//by writting terms in equation
//5250 is dividing equation
T=5250*bhp/(N)
printf("\n \n torque produced by an engine %.2f lb-ft",T)