Create a function (prob3_5) that will take inputs of vectors x and y in feet, scalar N, scalars L and W in feet and scalars T1 a
nd T2 in degrees Fahrenheit. It will output a matrix T which is the temperature of each x and y locations. T will have the number of columns equal to the number of elements in x and rows equal to the number of elements in y. Though this can be done without loops (perhaps more efficiently), your program must use a nested loop.
Heat engines are used for converting the heat into mechanical energy which is used for doing mechanical work.
The efficiency of heat engine is the fraction of mechanical energy to the thermal energy. The efficiency can not be 100% as some of the energy always loss due to friction and motion of the body parts of the heat engine.