Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- odesolve "array index invalid"

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-18-2018
04:46 PM

11-18-2018
04:46 PM

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

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-19-2018
07:00 AM

11-19-2018
07:00 AM

@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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-19-2018
07:00 AM

11-19-2018
07:00 AM

@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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-19-2018
07:49 AM

11-19-2018
07:49 AM

Re: odesolve "array index invalid"

Alan,

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

Best regards,

Ross

Top Tags