Basically, I have a Temperature range and an entropy range. I want the function to find the best suitable(approximate) temperature in the right hand side using the given range to equal the entropy on the left hand side. Entropy has to be in the range given to satisfy the equation.
T = linspace(100,293,1000); %Temperature
S = linspace(0, 10,1000); %Entropy
Cp= 35.56; %Heat Cap. @ const. P
R = 8.314; %IG Const.
S = Cp*log(T./293)-R*log(97.87./500)+9.2
Thank you in advance.
Best Answer