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
- :
- solving system of equation with mathcad prime 2

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

06-04-2013
12:07 AM

06-04-2013
12:07 AM

Right now my mathcad is crashed but i will type the general format

I'm having issues with the following solve block, any pointers?

guess: X1:=0.1 X2:=0.1 X3:=0.1 X4:=0.1

Constraint: Tmp = 4100/(300-ln(X1))

Tmp= 6600/(500-ln(X2))

Tmp = 7000(450-ln(X3))

Tmp = 4100/(280-ln(X4))

x1+x2+x3+x4=1

Result:

T:=find(X1,X2,X3,X4)

I keep getting no solve. What am i doing wrong? I will attach a file when I can if my mathcad comes back up

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

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

06-04-2013
08:31 AM

06-04-2013
08:31 AM

What was your error message? If I write the system exactly as you have it it still works! Try going to Calculations Menu and press Calculate.

Alan

PS Uploading worksheet is better than just inserting an image. In top right-hand corner of editor is "Use advanced editor". At the bottom of the advanced editor you can insert worksheets.

8 REPLIES 8

Highlighted
##

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

06-04-2013
02:37 AM

06-04-2013
02:37 AM

Re: solving system of equation with mathcad prime 2

Five equations but only four variables to solve for!!

Highlighted
##

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

06-04-2013
04:16 AM

06-04-2013
04:16 AM

Re: solving system of equation with mathcad prime 2

Also, since one of your constraints is that your x's sum to unity, you might want to make your initial guesses do the same.

Alan

Highlighted
##

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

06-04-2013
04:20 AM

06-04-2013
04:20 AM

Re: solving system of equation with mathcad prime 2

It needs 2 changes:

1 recast the equations so that you don't have the tmp variable (You aren't "finding" that anyway) ,

2 change the guess values (x1& x2 as a minimum to 0.2 ( find won't always be able to converge to a solution so you need to experiment)

regards

Andy

Highlighted
##

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

06-04-2013
07:48 AM

06-04-2013
07:48 AM

Re: solving system of equation with mathcad prime 2

Thank you all so much, I much closer to getting this now, but still having issues with x4. below is my sheet that I've been working from if any of you care to take a look, I keep changing my guess for x4 but cannot seem to get it to work...

Highlighted
##

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

06-04-2013
07:58 AM

06-04-2013
07:58 AM

Re: solving system of equation with mathcad prime 2

And the above are the actual equations i'm using, the ones I wrote before were just simplified examples so i didn't have to write out equations. Thank you all again for your input, I'm still learning how to use this tool.

Highlighted

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

06-04-2013
08:25 AM

Highlighted

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

06-04-2013
08:31 AM

06-04-2013
08:31 AM

What was your error message? If I write the system exactly as you have it it still works! Try going to Calculations Menu and press Calculate.

Alan

PS Uploading worksheet is better than just inserting an image. In top right-hand corner of editor is "Use advanced editor". At the bottom of the advanced editor you can insert worksheets.

Highlighted
##

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

06-04-2013
09:00 AM

06-04-2013
09:00 AM

Re: solving system of equation with mathcad prime 2

Thank you for the tip, I didnt see that option for advanced editor.

I believe the error messge said to try changing my guess or tol or ctol.

I will try this again later after work, thank you again!