solve, roots problem

solve, roots problem - Messages

#1 Posted: 3/12/2023 11:35:42 PM
soomoon

soomoon

1 likes in 39 posts.

Group: User

I want to find the x-value of a function.

I found is the use of the SOLVE equation to develop an equation.

If anyone can help me I would appreciate it.

thank you

File not found.File not found.
#2 Posted: 3/13/2023 5:32:08 PM
overlord

overlord

549 likes in 1332 posts.

Group: Moderator

Jean's reply doesn't solve anything.
He directly gave the result.
If variables change, his sheet won't work.

This file is the real solution for your function.
Q202303131118_solved.sm (24 KiB) downloaded 40 time(s).

Here a quick explanation for your problem.
erf() function doesn't like near all solvers.
Unknowns(f(x)) should give x as result.

2023-03-13_23-16.png

But because erf(), Unknowns() gives nothing.
Thus solvers can't find a variable to start.
Except al_nleqsolve() as you can see.

2023-03-13_23-12.png

You can write your own bisection algorithm too.
It will give the result, will take longer than al_nleqsolve()

2023-03-13_23-13.png

Yet it works too.

2023-03-13_23-20.png

Regards
#3 Posted: 3/14/2023 7:48:56 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

roots Dichotomy is Grand Doctor ... dates back Mathcad 8 Pro.
You should be able to adapt wrt other project parameters.
Offered as guide line. For +, please don't hesitate.
Cheers Jean.

Solve Dichotomy f(x)-u Forum Copy.sm (49 KiB) downloaded 21 time(s).
#4 Posted: 3/14/2023 10:47:06 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... added automated search point of inversion.
Cheers Jean.

Solve Dichotomy f(x)-u Forum Copy.sm (51 KiB) downloaded 27 time(s).
  • New Posts New Posts
  • No New Posts No New Posts