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
- :
- Programming

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

07-30-2019
07:34 AM

07-30-2019
07:34 AM

Hi

I am new at Prime 5.0 and I wrote a program and for the life of me can not figure out why I cant solve the moment in the spread sheet I created. Can anyone explain what I am doing wrong?

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

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

07-30-2019
10:58 AM

07-30-2019
10:58 AM

Why using error trace.

Apart from the symbolic solve (where yo have the info about the result being too large to display) you have six positions with an error and every single one of them says "Variable not defined" if you click on them.

So its a good idea to look at the first one, which is the definition of D.5 with the undefined P.p

The next one is the definition of Arm.5, where you again use an undefined variable (D.e).

The next three errors are follow ups, resulting from the fact that Arm.5 and D.5 are not defined.

The last one (Embedment.fs) again uses the undefined D.e.

EDIT: Found another one. In the definition of Embedment.check you use the undefined variable M.Dr

3 REPLIES 3

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

07-30-2019
07:47 AM

07-30-2019
07:47 AM

Re: Programming

Your D5 definition uses a variable named Pp which is undefined, as indicated by the error message from Prime...

Success!

Luc

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

07-30-2019
07:51 AM

07-30-2019
07:51 AM

Re: Programming

How did you find the error I tried using trace error but I cant seem to get it to work

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

07-30-2019
10:58 AM

07-30-2019
10:58 AM

Why using error trace.

Apart from the symbolic solve (where yo have the info about the result being too large to display) you have six positions with an error and every single one of them says "Variable not defined" if you click on them.

So its a good idea to look at the first one, which is the definition of D.5 with the undefined P.p

The next one is the definition of Arm.5, where you again use an undefined variable (D.e).

The next three errors are follow ups, resulting from the fact that Arm.5 and D.5 are not defined.

The last one (Embedment.fs) again uses the undefined D.e.

EDIT: Found another one. In the definition of Embedment.check you use the undefined variable M.Dr

Top Tags