Using MatLAB
The rate of change of temperature with respect to crank angle of an ideal gas being compressed quasi- statically in a piston-cylinder constrained by a slider-crank mechanism is given by: T dV V de dT hA 1 where h is the heat transfer coefficient, A is the wall surface area m is the trapped mass, cv is the specific heat at constant volume, Twat is the wall temperature, k ratio of specific heats (cp/cv),
OR
OR