how can i plotting 3d this differantial functions

how can I December the 3D graph of the function in the image in the specified range of constants c

7 个评论

I don't see where constants c1 and c2 appear in the differential equation.
Maybe you will have to formulate the ODE more generally in terms of k, m and c.
y= dsolve('4*D2y+8*Dy+4*y=0')
after this code we had generally function
this;
C1.*exp(-t) + C2.*t.*exp(-t)
And you think these are the C1 and C2 mentioned in the exercise ?
I don't think. they already are
will you help or will you talk in vain?
You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). If your main issue is with understanding the underlying concept, you may consider re-reading the material you teacher provided and ask them for further clarification.
I'm just waiting for an answer on what c1 and c2 are. You said you don't think they are the constants within the solution. Now - then tell us what they are.

请先登录,再进行评论。

回答(1 个)

Sam Chak
Sam Chak 2022-5-17
编辑:Sam Chak 2022-5-17
The Mass(m)–Damper(c)–Spring(k) system behaves just like , a critically-damped system where and .
Therefore, the solution, or the displacement of the mass is given by
.
Taking the time derivative of yields the velocity of the mass
.
At , we have
and
.
Since the ranges are given by and , then you can determine the range of the initial condition, and .
Let's check with @Torsten if my interpretation of the problem is correct or not.

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

评论:

2022-5-17

Community Treasure Hunt

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

Start Hunting!

Translated by