Solving for Undefined variables, no real roots error

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

#1 Objavljeno: 25. 4. 2022. 04:13:57
Darcy

Darcy

0 svidjanja u 4 postova.

Grupa: 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...
Fajl nije pronađen.Fajl nije pronađen.
#2 Objavljeno: 25. 4. 2022. 08:15:43
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Click to enlarge

solve_roots.sm (12,7 KiB) preuzeto 1750 put(ova).
#3 Objavljeno: 25. 4. 2022. 08:22:41
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

This works too: al_nleqsolve(guess,f)

al_nleqsolve.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
#4 Objavljeno: 25. 4. 2022. 09:11:57
Darcy

Darcy

0 svidjanja u 4 postova.

Grupa: 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 Objavljeno: 25. 4. 2022. 09:13:04
Darcy

Darcy

0 svidjanja u 4 postova.

Grupa: User

ASSINGMENT_1.sm (920,04 KiB) preuzeto 1771 put(ova).

Cheers Guys!!
#6 Objavljeno: 25. 4. 2022. 10:17:41
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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) preuzeto 1799 put(ova).

2022-04-25_17-02.png
1 korisnika je svidelo ovu objavu
NDTM Amarasekera 25. 4. 2022. 14:18:00
#7 Objavljeno: 25. 4. 2022. 14:19:15
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 25. 4. 2022. 22:23:29
Darcy

Darcy

0 svidjanja u 4 postova.

Grupa: User

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 26. 4. 2022. 16:11:11
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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.
  • Novi postovi
  • Nema novih postova