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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

12-Amethyst

## odesolve "array index invalid"

Hi, I am trying to solve  a simple differential equation that uses an excel acceleration vs time as the driving force. I have used linterp to ensure that time values used in the solve can be extracted from the input acceleration versus time data.There also seems to be an issue with too many initial conditions. I would have thought you need 4 but this solve block only seems to need 3?

Any assistance would be appreciated.

Thanks

ross

1 ACCEPTED SOLUTION

Accepted Solutions
17-Peridot
(To:remslie)

@remslie wrote:

Hi, I am trying to solve  a simple differential equation that uses an excel acceleration vs time as the driving force. I have used linterp to ensure that time values used in the solve can be extracted from the input acceleration versus time data.There also seems to be an issue with too many initial conditions. I would have thought you need 4 but this solve block only seems to need 3?

Any assistance would be appreciated.

Thanks

ross

I think you have confused the system (x) with the base (y) at times!  Here's my modification:

Alan

2 REPLIES 2
17-Peridot
(To:remslie)

@remslie wrote:

Hi, I am trying to solve  a simple differential equation that uses an excel acceleration vs time as the driving force. I have used linterp to ensure that time values used in the solve can be extracted from the input acceleration versus time data.There also seems to be an issue with too many initial conditions. I would have thought you need 4 but this solve block only seems to need 3?

Any assistance would be appreciated.

Thanks

ross

I think you have confused the system (x) with the base (y) at times!  Here's my modification:

Alan

12-Amethyst
(To:AlanStevens)

Alan,

Many thanks once again for your prompt response and dedication to the Mathcad cause.

Best regards,

Ross

Announcements
Top Tags