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 a loop for iteration solving problem. ...

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

04-08-2013
05:55 PM

04-08-2013
05:55 PM

Hello Mathcad community!

I'm unexpirienced Mathcad user, but I was able to solve all my problems and misunderstandings by myself. Till now.

I'm need to calculate thickness of segments of the wall for container. It's sort of empirical method(so there is bit mess with units) and requires simple iteration.

I had done some programming in Mathcad prime succesfully, but now I can't find where my mistake is.

I'm attaching sheet and imgs.

Thank you for any kind of help.

PS.

I'm using Mathcad Prime 2.0

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

04-08-2013
06:23 PM

04-08-2013
06:23 PM

For i=5 x2=0, then i is incremented and tn6=0. Next you divide by tn6 and this throws the error. See attached.

Unfortunately Prime does not have any serious debugging tools like real Mathcad (15) has.

You may reconsider and check you iteraton formulas.

3 REPLIES 3

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

04-08-2013
06:23 PM

04-08-2013
06:23 PM

For i=5 x2=0, then i is incremented and tn6=0. Next you divide by tn6 and this throws the error. See attached.

Unfortunately Prime does not have any serious debugging tools like real Mathcad (15) has.

You may reconsider and check you iteraton formulas.

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

04-08-2013
06:43 PM

04-08-2013
06:43 PM

Re: Programming a loop for iteration solving problem. "Expresion is divided by zero" error.

Wow, I was so blinded.

Thank you for finding my mistake. Indeed my formulas was faulty.

Cheers

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

04-08-2013
08:13 PM

04-08-2013
08:13 PM

Re: Programming a loop for iteration solving problem. "Expresion is divided by zero" error.

Although Prime 2.0 does have some utility as a scratchpad, it should be called "Not Ready for Prime Time 2.0" so users don't get their hopes up.

Top Tags