Solving for Undefined variables, no real roots error

Solving for Undefined variables, no real roots error - Solving for Undefined variables, no real roots error - Messages

#1 Posted: 4/25/2022 4:13:57 AM
Darcy

Darcy

0 likes in 4 posts.

Group: 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...
File not found.File not found.
#2 Posted: 4/25/2022 8:15:43 AM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Click to enlarge

solve_roots.sm (12 KiB) downloaded 72 time(s).
#3 Posted: 4/25/2022 8:22:41 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

This works too: al_nleqsolve(guess,f)

al_nleqsolve.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
#4 Posted: 4/25/2022 9:11:57 AM
Darcy

Darcy

0 likes in 4 posts.

Group: 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 Posted: 4/25/2022 9:13:04 AM
Darcy

Darcy

0 likes in 4 posts.

Group: User

ASSINGMENT_1.sm (920 KiB) downloaded 69 time(s).

Cheers Guys!!
#6 Posted: 4/25/2022 10:17:41 AM
overlord

overlord

554 likes in 1333 posts.

Group: 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 KiB) downloaded 75 time(s).

2022-04-25_17-02.png
1 users liked this post
NDTM Amarasekera 4/25/2022 2:18:00 PM
#7 Posted: 4/25/2022 2:19:15 PM
overlord

overlord

554 likes in 1333 posts.

Group: 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 Posted: 4/25/2022 10:23:29 PM
Darcy

Darcy

0 likes in 4 posts.

Group: User

Thankyou all so much,
very mush appreciated!
#9 Posted: 4/26/2022 3:26:53 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 4/26/2022 4:11:11 PM
overlord

overlord

554 likes in 1333 posts.

Group: 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.
  • New Posts New Posts
  • No New Posts No New Posts