solve, roots problem

solve, roots problem - 消息

#1 已发布: 2023/3/12 23:35:42
soomoon

soomoon

1个赞,共42个帖子。

组: 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

未找到文件。未找到文件。
#2 已发布: 2023/3/13 17:32:08
overlord

overlord

600个赞,共1,381个帖子。

组: 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)已下载 1356 次。

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 已发布: 2023/3/14 07:48:56
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1382 次。
#4 已发布: 2023/3/14 10:47:06
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

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

Solve Dichotomy f(x)-u Forum Copy.sm (51.58 KiB)已下载 1356 次。
  • 有新帖
  • 无新帖