summaryrefslogtreecommitdiff
path: root/3689/CH1/EX1.1/1_1.sce
blob: f334934a97fd08b02faeb23ac5bc4cb8ac12fcb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
////Variable Declaration
Pi = 3.21e5             //Recommended tyre pressure, Pa
Ti = -5.00              //Initial Tyre temperature, °C
Tf = 28.00              //Final Tyre temperature, °C

//Calculations
Ti = 273.16 + Ti
Tf = 273.16 + Tf
pf = Pi*Tf/Ti           //Final tyre pressure, Pa

//Results
printf("\n Final Tyre pressure is %6.2e Pa",pf)