Help solving and plotting dofferential equation
Show older comments
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!!
Answers (1)
Star Strider
on 11 Jun 2020
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:
.
Categories
Find more on Symbolic Math Toolbox 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!