Error by ODEs solution

Error by ODEs solution - Help please - 消息

#1 已发布: 2023/12/14 01:35:18
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Here OK Rocket-1.sm (16.79 KiB)已下载 1443 次。
Here not OK Rocket-2.sm (688.11 KiB)已下载 1475 次。
About the problem Study-24-How-calculate-Rocket.doc (1.95 MiB)已下载 859 次。
from the book
https://www.routledge.com/25-Problems-for-STEM-Education/Ochkov/p/book/9780367345259
#2 已发布: 2023/12/14 09:58:26
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi Valery. Just use cases() instead if() clauses.

cases.png

Rocket-2.sm (688.31 KiB)已下载 1517 次。

But Newton's second law is not F=ma which is an expression valid only for systems where m is constant. The general expression given by Newton is F=d(mv)/dt or F=dp/dt with p=mv the linear momentum.

Best regards.
Alvaro.
1位用户喜欢此帖子
Valery Ochkov 2023/12/14 14:13:00
#3 已发布: 2023/12/14 14:30:08
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Wrote

Hi Valery. Just use cases() instead if() clauses.

But Newton's second law is not F=ma which is an expression valid only for systems where m is constant. The general expression given by Newton is F=d(mv)/dt or F=dp/dt with p=mv the linear momentum.

Best regards.
Alvaro.



Thanks, Alvaro!
One questions.
How can we solve this problem with ODE as F=dp/dt, not F=m dv/dt?
Will we get others (numerical) answer?
Rocket-2.png
Rocket-2-otherwise.sm (690.02 KiB)已下载 1497 次。
#4 已发布: 2023/12/14 18:32:10
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

The speed of the rocket cannot be independent of the speed at which the propellant exits. Entering that information gives me this solution

Rocket-1.sm (20.07 KiB)已下载 1449 次。

rock.png

Another way of looking at it, using the equation F = d(mv)/dt, we must take into account that in a rocket the reaction force is not applied to the same body as the action force, as the 3rd Law says, and therefore the temporal derivative of the product mv must be done by changing the reference frame, which is why it is F = m dv/dt + u dm/dt, where v is the speed of the rocket with respect to the inertial reference system attached to the earth, but u is the speed of the propellant with respect to the non-inertial reference system attached to the rocket

Best regards.
Alvaro.
#5 已发布: 2023/12/14 18:35:31
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

New question
Rocket-1.png
Rocket-1.sm (734.95 KiB)已下载 1497 次。
#6 已发布: 2023/12/15 01:16:32
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Wrote

New question...


Hi Valery. You can't take the temporal derivative directly. Please see my previous answer explaining why I think that.

Best regards.
Alvaro.
#7 已发布: 2023/12/15 02:39:15
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Wrote

Wrote

New question...


Hi Valery. You can't take the temporal derivative directly. Please see my previous answer explaining why I think that.

Best regards.
Alvaro.



CM.png
#8 已发布: 2023/12/15 03:25:33
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi Valery. You're right encircling u. Its correct value is u = F/μ. Thus, the force over the rocket is F = - mg - u*dm/dt

rock.png

Rocket-1.sm (23.73 KiB)已下载 1484 次。

Best regards.
Alvaro.
#9 已发布: 2023/12/15 04:04:15
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Thanks, Alvaro.
And what about the 2-stage rocket?
Our first try
Rocket-2.sm (690.02 KiB)已下载 1543 次。


#10 已发布: 2023/12/15 04:30:05
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Wrote

...
And what about the 2-stage rocket?
Our first try



Hi. Your original solution for rocket-1 is ok, and that implies that the movie's solution is also ok.

rock0.png

I was only pointing out the way to deduce it. Writing the relationship for several stages would imply asking for derivatives for functions with cases(), which cannot be done, because although functions can be integrated with cases() or using inside the Mathcad block, they definitely cannot be derived.

So I guess the best solution is the one you gave at the beginning, simply replacing the if() with cases(). The deduction based on physical principles has already been done for one stage. Now it remains to apply the simplified result for several, which is exactly what the rocket-2 case does.

Best regards.
Alvaro.
#11 已发布: 2023/12/15 05:00:55
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

I think it is easier to solve two equations - for two stages, and then for one (last) stage of the rocket.

#12 已发布: 2023/12/15 06:58:19
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Analytical reference solution for h(t) (from a mechanics textbook) and with a single second order DE. in() would be even better without braces (operator form)

Rakete.png
Rakete.sm (21.1 KiB)已下载 1469 次。
Rakete2.png
Rakete2.sm (21.45 KiB)已下载 1509 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#13 已发布: 2023/12/16 15:47:47
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

I would like to publish an article about Rockets in the Journal "Physic in school".
Martin, Rasonar!
Would you like to be coauthors?
See please attach
Polet na Lunu.docx (585.34 KiB)已下载 798 次。
Rakete-1.sm (16.31 KiB)已下载 1465 次。
Rakete-2.sm (17.18 KiB)已下载 1471 次。
1位用户喜欢此帖子
Alvaro 2023/12/17 02:04:00
#14 已发布: 2023/12/17 02:10:50
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Wrote

I would like to publish an article about Rockets in the Journal "Physic in school".
Martin, Rasonar!
Would you like to be coauthors?
See please attach
Polet na Lunu.docx (585.34 KiB)已下载 798 次。
Rakete-1.sm (16.31 KiB)已下载 1465 次。
Rakete-2.sm (17.18 KiB)已下载 1471 次。



Hi Valery. Sure. It will be a great experience.

Best regards.
Alvaro.

#15 已发布: 2023/12/17 05:05:30
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I would like to publish an article about Rockets in the Journal "Physic in school".


The book about Holistic is the rocket model ... works fine in Smath 30405.
Once data will be collected clean, it may be interesting to collect as a function.
A good candidate may be Thiele.
The rocket system does not follow a single DE law, Like ISA.
Thiele fits ISA form - 1km ... 100 km
Jean.

#16 已发布: 2023/12/17 05:49:57
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

I would like to publish an article about Rockets in the Journal "Physic in school".
Martin, Rasonar!
Would you like to be coauthors?
See please attach
Polet na Lunu.docx (510.06 KiB)已下载 842 次。
Rakete-1.sm (16.31 KiB)已下载 1465 次。
Rakete-2.sm (17.18 KiB)已下载 1471 次。



Of course. If I remember correctly, some time there were examples for three-body problems earth-moon-spacecraft. Can't find it just now but that could make another co-author.

Edit: https://en.smath.com/forum/yaf_postsm76986_Mathcad-Toolbox.aspx#post76986
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#17 已发布: 2023/12/17 15:12:04
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

> Of course. If I remember correctly, some time there were examples for three-body problems

See see please solutions from Slava

three bodies problem
#18 已发布: 2023/12/17 21:42:27
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

A good candidate may be Thiele.


I tried Cholesky ... Quite good.
For this 6 points Rocket from the book, Holistic works fine.
Unfortunately, we don't have an exportable formula.
Re-Conciliate the project ... Thiele
Jean

#19 已发布: 2023/12/17 22:33:09
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Wrote



Thanks, Alvaro!
My email OchkovVF@mpei.ru

#20 已发布: 2023/12/18 07:35:01
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

3 stages variation.

rock0.png

Checking with Tsiolkovsky rocket equation in a gravitational field with several stages

rock0.png

Rakete-3.sm (46.49 KiB)已下载 1510 次。

Best regards.
Alvaro.
  • 有新帖
  • 无新帖