MATLAB CODE FOR FOLLOWING?

5 views (last 30 days)
Deepak Singh
Deepak Singh on 7 Oct 2021
Answered: Image Analyst on 7 Oct 2021
Write a MATLAB program to calculate the efficiency of a reversible heat engine operating between a hot reservoir at 900°K and a cold reservoir at 500°K.
You have to write a generalized program in terms of unitsof the temperatures of heat reservoirs.
The temperature of any of the heat reservoirs can be changedby 100°K up or down.
Modify the same programto determine the highest efficiency that can be achieved by making this temperature change. Print that maximum efficiency achieved along with the corresponding temperatures of hot and cold heat reservoirs.
You are not allowed to use built-infunction ‘max’ whilewriting the program.

Answers (1)

Image Analyst
Image Analyst on 7 Oct 2021

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!