Could anyone give an idea to write code to solve below problem
Mostrar comentarios más antiguos
Tc(1)=?
for i=1:N
Tc(i+1)=(mc*cpc*Tc(i)*1000-q(i))/(1000*mc*cpc);
end
%%%%mc, cpc are constant, q(i) is variable.
I need to find out the temperature of Tc(1) to get the temperature Tc(N)=15C.
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 11 de Abr. de 2017
The solution is
TC(1) = 15 + sum(q(2:N)) / (1000*mc*cpc)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!