Skip to main content
1-Visitor
May 21, 2017
Solved

Flight of the rocket "union".

  • May 21, 2017
  • 5 replies
  • 2329 views

Hello everybody. I encountered a problem when trying to plot the dependence of the flight speed of the "union" rocket on time. The program may not be perfect, but so far the main problem that I see is the scalar "h" that appears when using the function. I hope for your help in this matter. Thank you !

Best answer by Werner_E

You sure must study the manual, help files, quicksheets, etc. more thoroughly (have you ever done?)

The errors you make a quite endless!

.) you mix up t and T

.) you invent new programming commands like else and end

.) its absolutely unclear what you intend with your two program blocks which you combine with an boolean =. I made a guess

.) you mostly have no units assigned, but you use the built in constang g, which of course is not just a number but has dimension acceleration and has the appropriate units. You can't mix up unit and unitless values

.) same unit problem at your initial conditions - suddenly you use seconds and kph - this can't work. Stay unitless when using odesolve in MC15

.) The syntax for odesolve is absolutely wrong - probably you have seen a sheet written in Prime. You have to stay with the Mathcad 15 instruction and help sheets as the syntax has changed a bit in Prime

Here is a working sheet - not sure if the function was meant that way

But of course you don't need odesolve for your problem. You can derive your functions by simple integrations:

5 replies

KenFarley
21-Topaz II
May 22, 2017

You would likely get people to answer your question if you posted it in the Mathcad forums. This is the Creo modeling forum.

Emeritus
May 22, 2017

Moving the discussion to Mathcad.

Best,

Toby

24-Ruby IV
May 22, 2017

В Mathcad 15 иной синтаксис оператора If - use if and otherwise!

21-Topaz II
May 22, 2017

Hi Егор Аристов,

Compliments! You invented a new logic, who knows how it works, the "else" is very beautiful, unfortunately it does not exist in mathcad.

However, it would be better to describe the equation differently.

Werner_E25-Diamond IAnswer
25-Diamond I
May 22, 2017

You sure must study the manual, help files, quicksheets, etc. more thoroughly (have you ever done?)

The errors you make a quite endless!

.) you mix up t and T

.) you invent new programming commands like else and end

.) its absolutely unclear what you intend with your two program blocks which you combine with an boolean =. I made a guess

.) you mostly have no units assigned, but you use the built in constang g, which of course is not just a number but has dimension acceleration and has the appropriate units. You can't mix up unit and unitless values

.) same unit problem at your initial conditions - suddenly you use seconds and kph - this can't work. Stay unitless when using odesolve in MC15

.) The syntax for odesolve is absolutely wrong - probably you have seen a sheet written in Prime. You have to stay with the Mathcad 15 instruction and help sheets as the syntax has changed a bit in Prime

Here is a working sheet - not sure if the function was meant that way

But of course you don't need odesolve for your problem. You can derive your functions by simple integrations: