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!!
回答(1 个)
Star Strider
2020-6-11
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:
.
类别
在 帮助中心 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!