Solving for Undefined variables, no real roots error

Solving for Undefined variables, no real roots error - Solving for Undefined variables, no real roots error - 消息

#1 已发布: 2022/4/25 04:13:57
Darcy

Darcy

0个赞,共4个帖子。

组: User

Hi all,
I am trying to solve for an unknown variable on Smath, a very straight forward operation on my calculator, however I'm trying to figure out how to display it on an Smath work sheet. Thanks in advance for your help. I am currently just using the solve function, inputting the function with the undefined parameter, A.st, and using tthe booleen operator to allow for calculation and it is saying no real roots...
未找到文件。未找到文件。
#2 已发布: 2022/4/25 08:15:43
overlord

overlord

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

组: Moderator

Click to enlarge

solve_roots.sm (12.7 KiB)已下载 1716 次。
#3 已发布: 2022/4/25 08:22:41
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

This works too: al_nleqsolve(guess,f)

al_nleqsolve.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
#4 已发布: 2022/4/25 09:11:57
Darcy

Darcy

0个赞,共4个帖子。

组: User

Thankyou for your reply, if possible could you explain what you mean, i will upload a smath file of the sheet i am working on, if you could have a look, it would be greatly appreciatd!
#5 已发布: 2022/4/25 09:13:04
Darcy

Darcy

0个赞,共4个帖子。

组: User

ASSINGMENT_1.sm (920.04 KiB)已下载 1751 次。

Cheers Guys!!
#6 已发布: 2022/4/25 10:17:41
overlord

overlord

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

组: Moderator

Here is your file solved with various solvers.
I also corrected your formula depending on your first question.
d.eff is multiplied in your file, subtraction occurs at first post.

solve() can solve between -20,20 range as default.
If your result shall be out of this bound, you will need to specify it.
Or you can change your default roots range from Tools>Options>Calculations.

FindRoot() can also solve equations with units as maple-solve.
Just give it a boolean guess to start calculation with.
Be careful, it will assign your unknown with result.

Regards

ASSINGMENT_1_result.sm (1014.05 KiB)已下载 1771 次。

2022-04-25_17-02.png
1位用户喜欢此帖子
NDTM Amarasekera 2022/4/25 14:18:00
#7 已发布: 2022/4/25 14:19:15
overlord

overlord

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

组: Moderator

You can also solve your problem with quadratic formula.

Regards

2022-04-25_20-23.png

And here is your one-line algebraic solution.
It is derived from quadratic formula.
Numeric solvers not involved.

2022-04-26_02-44.png
#8 已发布: 2022/4/25 22:23:29
Darcy

Darcy

0个赞,共4个帖子。

组: User

Thankyou all so much,
very mush appreciated!
#9 已发布: 2022/4/26 15:26:53
Jean Giraud

Jean Giraud

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

组: User

As given, the duplicate solution is unique wrt the given project variables.
By ranging wisely, you can recursively solve wrt any of the variables involved.
From there, enrich the project document by adding plot(s).
Cheers ... Jean.
#10 已发布: 2022/4/26 16:11:11
overlord

overlord

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

组: Moderator

Wrote

Thankyou all so much,
very mush appreciated!


Feel free to ask anything.
Near all users will try to help you for your questions.
  • 有新帖
  • 无新帖