Community login and other support tools will be unavailable Saturday May 3rd 9:00 am to 3:00 pm (EST) due to planned maintenance. Learn More

Translate the entire conversation x

Find doesn't work in mathcad

Adlil
8-Gravel

Find doesn't work in mathcad

Hello PTC fam, it seems the Find function doesn't work at my end. Mind to take a look? I attached my file

Adlil_0-1652684561729.png

 

ACCEPTED SOLUTION

Accepted Solutions
VladimirN
24-Ruby III
(To:Adlil)

Before "Given" you need to specify the initial value for the variable you want to find.

 

Pic_1.png

 

View solution in original post

6 REPLIES 6
VladimirN
24-Ruby III
(To:Adlil)

Before "Given" you need to specify the initial value for the variable you want to find.

 

Pic_1.png

 

Thank you for the explanation. I did what you recommend and solved it. Thanks.

Werner_E
25-Diamond I
(To:Adlil)

if you evaluate a solve block using numeric evaluation (the "normal" =  ) you are forcing Mathcad to use numerical algorithms which require an initial guess value for the variable you are looking for, as VladimirN had shown.

 

If you evalute the solve block symbolically, no guess value is required:

Werner_E_0-1652691176847.png

But  I think that In your case a numerical evaluation is more appropriate anyway.

You may want to look up the chapter on "Solving" in the Mathcad help for more details.

Werner_E_3-1652691683305.png

 

You may also use the "root" command instead of a solve block with "find".  You can use "root" in two different flavors:

Either provide an appropriate range (in the example I used the range from 1 to 10^7)

Werner_E_1-1652691325656.png

or you again provide a guess value before using "root"

Werner_E_2-1652691374249.png

 

 

 

 

LucMeekes
23-Emerald IV
(To:Adlil)

Why not solve it symbolically, to get an exact answer:

LucMeekes_0-1652697822945.png

 

Success!
Luc

Werner_E
25-Diamond I
(To:LucMeekes)


@LucMeekes wrote:

Why not solve it symbolically, to get an exact answer:

Maybe because is doesn't look that useful when doing it in Mathcad 15 rather than in MC11 😉

Werner_E_0-1652705698032.png

 

VladimirN
24-Ruby III
(To:Werner_E)

😀

Announcements

Top Tags