cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Too many initial conditions error

noodlepie
1-Newbie

Too many initial conditions error

Too many initial conditions error in Mathcad using Odesolve. Need help in order to finish lab. attached is lab. 

4 REPLIES 4
-MFra-
21-Topaz II
(To:noodlepie)

Hi,

risposta a noodleplie.jpgrisposta a noodleplie.jpg

You have made three errors

  1.  You omitted the equation d/dt Z(t) = VZ(t) and instead provided the initial condition VY(0)=0 twice
  2.  the main error: You type d/dt as a fraction and ended up with d/dt*X(t), a multiplication. You have to use the derivative operator from the "calculus" palette or use the appropriate keyboard shortcut.
    In a solve block with ode you may also use the prime operator to apply the derivative. You get it by pressing Ctrl-F7 and you can see it in Francescos sheet.
    The derivative operator takes up more space but provides better visibility.
  3. In one plot you used X instead of x (you assigned the result of the solve block to variables in lower case).

Corrected worksheet attached

 

-MFra-
21-Topaz II
(To:Werner_E)

Sorry, the answer was for noodlepie!

-MFra-
21-Topaz II
(To:noodlepie)

Hi,

Remaining valid the observations made by Werner and his sheet, I suggest you that you can also use the units of measurement for each constant and variable, with the foresight, however, to make them dimensionless before the solution block, as shown in the photo:

risposta a noodleplie 1.jpg

Top Tags