Solving for Undefined variables, no real roots error

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

#1 Publicado: 25/4/2022 4:13:57
Darcy

Darcy

0 me gusta en 4 mensajes.

Grupo: 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...
Archivo no encontrado.Archivo no encontrado.
#2 Publicado: 25/4/2022 8:15:43
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Click to enlarge

solve_roots.sm (12,7 KiB) descargado 1697 vez(es).
#3 Publicado: 25/4/2022 8:22:41
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

This works too: al_nleqsolve(guess,f)

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

Darcy

0 me gusta en 4 mensajes.

Grupo: 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 Publicado: 25/4/2022 9:13:04
Darcy

Darcy

0 me gusta en 4 mensajes.

Grupo: User

ASSINGMENT_1.sm (920,04 KiB) descargado 1733 vez(es).

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

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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) descargado 1751 vez(es).

2022-04-25_17-02.png
A 1 usuarios les gustó este mensaje
NDTM Amarasekera 25/4/2022 14:18:00
#7 Publicado: 25/4/2022 14:19:15
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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 Publicado: 25/4/2022 22:23:29
Darcy

Darcy

0 me gusta en 4 mensajes.

Grupo: User

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 26/4/2022 16:11:11
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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.
  • Nuevos mensajes
  • Sin mensajes nuevos