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
- :
- Best solution in Mathcad needed!

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

08-25-2019
10:30 AM

08-25-2019
10:30 AM

Re: Best solution in Mathcad needed!

I've seen more math problems like this...

angles DAB and CDA are 90deg, so we know that AB and CD run in parallel, but the length of CD is not given, and neither is the length of CB. There's no telling if CB runs in parallel of AD.

I doubt if the problem can be solved with just knowing the sum of angles psi and theta. If not, I'm afraid the problem cannot be solved.

Luc

Highlighted
##

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

08-25-2019
12:33 PM

08-25-2019
12:33 PM

Re: Best solution in Mathcad needed!

Sorry - more correct picture

Highlighted
##

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

08-25-2019
03:10 PM

08-25-2019
03:10 PM

Re: Best solution in Mathcad needed!

@LucMeekes wrote:

I've seen more math problems like this...

angles DAB and CDA are 90deg, so we know that AB and CD run in parallel, but the length of CD is not given, and neither is the length of CB. There's no telling if CB runs in parallel of AD.

I doubt if the problem can be solved with just knowing the sum of angles psi and theta. If not, I'm afraid the problem cannot be solved.

Luc

Hmmm, somewhat sophistic and quibbling, but definitely correct 😉

All we could say with the original specification is that x is in the range from 5 to 15.

In the meantime Valery has added (much too much 😉 additional specifications (one of the additional right angels or one of the additional lengths would suffice).

P.S.: Its a thread by Valery, so it definitely needed an animation 🙂

Highlighted
##

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

08-25-2019
04:15 PM

08-25-2019
04:15 PM

Re: Best solution in Mathcad needed!

@Werner_E wrote:

In the meantime Valery has added (much too much 😉 additional specifications (one of the additional right angels or one of the additional lengths would suffice).

Yes, much too much. Simply stating that ABCD is a rectangle would have sufficed...

P.S.: Its a thread by Valery, so it definitely needed an animation 🙂

Certainly!

Luc

Highlighted
##

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

08-26-2019
06:36 AM

08-26-2019
06:36 AM

Re: Best solution in Mathcad needed!

Dear Werner,

despite the tone used with me is that of a discussion between friends, I want to remind you that I am seventy-one years old and that I am not your student.

Highlighted
##

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

08-26-2019
07:07 AM

08-26-2019
07:07 AM

Re: Best solution in Mathcad needed!

@-MFra- wrote:

Dear Werner,

despite the tone used with me is that of a discussion between friends, I want to remind you that I am seventy-one years old and that I am not your student.

???

I have no idea what you are talking about!?

And your post was a reply to a post of mine which was a reply to Luc's remark about Valery's sketch missing some specification.

And I can not find a message from myself that would allow to conclude that I treated you as a student (whatever that may mean).

Surely you can not be offended if I call a wrong solution (very cautious anyway) wrong, right?

As I wrote in a reply to Valery my guess that the equations are dependent seems to be wrong and it now looks to me that you will get the correct solution if you replace sin(delta) in your solve block by sin (phi-gamma0).

Highlighted
##

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

08-26-2019
07:14 AM

08-26-2019
07:14 AM

Re: Best solution in Mathcad needed!

that is my impression when you mention me in your comments.

Highlighted
##

I'm sorry, but you have a wrong impression.

I am glad that you could not call a specific passage in which I was supposedly rude.

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

08-26-2019
08:56 AM

08-26-2019
08:56 AM

Re: Best solution in Mathcad needed!

I am glad that you could not call a specific passage in which I was supposedly rude.

Highlighted
##

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

08-26-2019
09:06 AM

08-26-2019
09:06 AM

Re: Best solution in Mathcad needed!

@-MFra- wrote:

Dear Werner,

despite the tone used with me is that of a discussion between friends, I want to remind you that I am seventy-one years old and that I am not your student.

This forum is (or used to be) a friendly place to get help, exchange ideas, display humor (look for Valerie's April Fool's submissions); in all the time I've been involved I believe one person has been banned for foul language.

I have been helped, shown my mistakes, and berated for my beliefs. I consider this a place for interaction. It's been a long time since my occupation was "student," but I usually learn something every time I join. I believe that if you look at Werner's posts you will find that he generally treats everyone as a colleague, not trying to belittle their efforts.

I encourage you to reexamine the post that you took offense with, consider you're having a discussion rather than listening to a lecture!

Highlighted
##

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

08-26-2019
09:23 AM

08-26-2019
09:23 AM

Re: Best solution in Mathcad needed!

I am also 71 years old, but I often turn out to be a student of Werner, Luc, Fred, Alan and many other experienced comrades, and I am not offended by this.

The reason may be that for You and Werner English is a non-native language.

Highlighted
##

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

08-26-2019
10:11 AM

08-26-2019
10:11 AM

Re: Best solution in Mathcad needed!

All right, you're all nice people.

Highlighted
##

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

08-26-2019
11:58 AM

08-26-2019
11:58 AM

Re: Best solution in Mathcad needed!

In Russia we show this picture from the famous cartoon and say "Let's live in peace!"

Highlighted
##

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

08-26-2019
01:27 AM

08-26-2019
01:27 AM

Re: Best solution in Mathcad needed!

To Werner: Thanks for animation but better to have the x(CD) plot.

To Luc: May be it is not 2D but 3D problem - see please Wire Sculpture

Highlighted
##

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

08-27-2019
03:41 AM

08-27-2019
03:41 AM

Re: Best solution in Mathcad needed!

@LucMeekes wrote:

I've seen more math problems like this...

angles DAB and CDA are 90deg, so we know that AB and CD run in parallel, but the length of CD is not given...

My try of numerical solution

Highlighted
##

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

08-27-2019
04:55 AM

08-27-2019
04:55 AM

Re: Best solution in Mathcad needed!

I modified my animation file and got this:

Highlighted
##

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

08-28-2019
02:31 PM

08-28-2019
02:31 PM

Re: Best solution in Mathcad needed!

Sorry!

May be this problem has not one but more solutions?

Highlighted
##

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

08-28-2019
03:02 PM

08-28-2019
03:02 PM

Re: Best solution in Mathcad needed!

Mathcad 15 (the first method in Find):

Highlighted
##

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

08-28-2019
04:21 PM

08-28-2019
04:21 PM

Re: Best solution in Mathcad needed!

You may add some constraints to get rid of the "multiple solutions" but the results are still unusable in a wide range.

The most important constraint is just that for alpha.

I added a function so you can see what it should look like and where your solve block still fails.

Guess you would need additional constraints to ensure that the point P is INSIDE the rectangle.

I also added another way to compare the areas (the one Francesco had used) - the results are a little bit better but it does not really helps that much.

I added a table at the end of the sheet so you see that your solve block fails sometimes, but most of the time it simply isn't able to come up with a solution at all. Maybe that can help you to improve your solve block.

Highlighted
##

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

08-28-2019
05:13 PM

08-28-2019
05:13 PM

Re: Best solution in Mathcad needed!

Anyone done a Monte Carlo yet?

Could do a better job with the interpolation, but you get the idea.

Highlighted
##

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

08-28-2019
06:00 PM

08-28-2019
06:00 PM

Re: Best solution in Mathcad needed!

@DJF wrote:

Anyone done a Monte Carlo yet?

No, its not necessary as we can derive exact solutions by various methods 😉

Could do a better job with the interpolation, but you get the idea.

Yes, and I like the idea of your approach. Sure may be useful for other, more complex, problems.

Highlighted
##

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

08-28-2019
07:38 PM

08-28-2019
07:38 PM

Re: Best solution in Mathcad needed!

>No, its not necessary

Well, since Valery didn't define 'best solution' it may be necessary. We don't know what the scoring system is. If it's number of individual calculations required I suspect I win (or would with a larger trial sample).

Highlighted
##

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

08-28-2019
07:50 PM

08-28-2019
07:50 PM

Re: Best solution in Mathcad needed!

@DJF wrote:

>No, its not necessary

Well, since Valery didn't define 'best solution' it may be necessary. We don't know what the scoring system is.

Neither does Valery, I guess 😉

He is known for changing the rules in-midst of a thread, but finally he will usually find the correct solution 🙂

Highlighted
##

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

08-29-2019
03:32 AM

08-29-2019
03:32 AM

Re: Best solution in Mathcad needed!

And what about this solution?

Highlighted
##

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

08-29-2019
04:00 AM

08-29-2019
04:00 AM

Re: Best solution in Mathcad needed!

@ValeryOchkov wrote:

And what about this solution?

I don't see why you call it a "solution" - you sure see the discrepancy.

I also wonder what you are looking for, what the new goal of this thread should be.

From your post yesterday I thought you were interested to find out why your solve block fails or returns wrong values and how you could fix this. So I tried to provide you with the correct solution to compare with and some tools which might help in finding out whats going on.

Now you post a significantly different sheet which again returns wrong solutions. Why? What is it you want to find at the end?

Highlighted
##

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

08-30-2019
11:24 PM

08-30-2019
11:24 PM

Re: Best solution in Mathcad needed!

@LucMeekes wrote:

I've seen more math problems like this...

angles DAB and CDA are 90deg, so we know that AB and CD run in parallel, but the length of CD is not given, and neither is the length of CB. There's no telling if CB runs in parallel of AD.

I doubt if the problem can be solved with just knowing the sum of angles psi and theta. If not, I'm afraid the problem cannot be solved.

Luc

Luc opened pandora's box

Highlighted
##

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

08-31-2019
10:57 AM

08-31-2019
10:57 AM

Re: Best solution in Mathcad needed!

@ValeryOchkov wrote:

Luc opened pandora's box

You happily jumped on the bus, didn't you?

So c'mon - why not close the box again by providing an animation showing the different positions of the points (inside or outside of the quadrilateral) and the various lengths AP when CD runs from 0 to infinity.

Highlighted
##

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

08-30-2019
02:25 AM

08-30-2019
02:25 AM

Re: Best solution in Mathcad needed!

Update. All that remains is to do the animation:

Highlighted
##

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

08-30-2019
02:46 AM

08-30-2019
02:46 AM

Re: Best solution in Mathcad needed!

I am tormented by doubts. It seems to me that in this zone there is either no solution or more than one solution!

Highlighted
##

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

08-30-2019
04:44 AM

08-30-2019
04:44 AM

Re: Best solution in Mathcad needed!

@ValeryOchkov wrote:

The reason you get no or multiple results is because your solve block equations seem not to be well conditioned. Guess you need additional or other constraints to make the solve block work OK within the full valid range for CD. You sure know about this problem from your various experiments with different catenaries

.

As long as we demand that P has to be inside the quadrilateral there is exactly one solution (which is also shown by my animation).

You should try to calculate the coordinates of the point P from the solution lengths your methods give you and check, if the point is inside and if two initial angles (you have to calculate them with the coordinates of P) are still correct.

You should see that the second "solutions" you get are not really solutions as they violate either the rule that the point is inside or the angles are wrong.

It should be clear that, if CD changes, P is moving on a circle from D (for CD=0) to B (for CD approx. 39.434) as it has always to be seen at an angle of 165° from the segment BD. There is no solution for P inside the quadrilateral for CD > 39.434.

Create an animation using your calculation methods where CD changes from 0 up to 40 and show the quadrilateral, P and the calculated(!) angles psi and theta.

And .... if you really think that there may be no or two solution for, lets say, CD=9, then take a piece of paper, ruler pencil and compass and manually try to construct a solution. The two circles you have to intersect in doing so will intersect in C and P and I am pretty sure that there will be no third point of intersection and that P will be inside the quadrilateral - so you will end up with a unique solution.

I suggested doing the construction manually with pen and paper because to me that would be just more satisfying than doing it with a CAD or a program like GeoGebra, which you can do, too, of course.

Highlighted
##

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

08-30-2019
06:25 AM

08-30-2019
06:25 AM

Re: Best solution in Mathcad needed!

Who said that point P must be inside the quadrangle!