solve, roots problem

solve, roots problem - Messaggi

#1 Pubblicato: 12/03/2023 23:35:42
soomoon

soomoon

1 apprezzamenti in 42 post.

Gruppo: 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 non trovato.File non trovato.
#2 Pubblicato: 13/03/2023 17:32:08
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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,89 KiB) scaricato 1351 volta(e).

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 Pubblicato: 14/03/2023 07:48:56
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,46 KiB) scaricato 1363 volta(e).
#4 Pubblicato: 14/03/2023 10:47:06
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

Solve Dichotomy f(x)-u Forum Copy.sm (51,58 KiB) scaricato 1342 volta(e).
  • Nuovi post
  • Nessun nuovo post