Help solving and plotting dofferential equation

Hi guys!!
So I am doing my final thesis and I need to solve and plot this equation but my Matlab skills are not so great. The equation is as such
135*dT/dt = 0.9464 + T*(-30) +0.2769*19*(T-288)
Being t time and T temperature, this last one is the element i want to find.
Anyone could help me?
Thanks in advance!!

Risposte (1)

It appears to me to be a simple separable differential equation.
The Symbolic Math Toolbox:
syms T(t) t T0
Eqn = diff(T) == 0.9464 + T*(-30) +0.2769*19*(T-288);
Teqn = dsolve(Eqn, T(0)==T0)
produces:
Use fplot for the graphics.
.

Categorie

Richiesto:

il 11 Giu 2020

Risposto:

il 11 Giu 2020

Community Treasure Hunt

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

Start Hunting!

Translated by