SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Solving for Undefined variables, no real roots error
Rank: Newbie
Groups: Registered
Joined: 25/04/2022(UTC) Posts: 4 Location: QLD
|
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...
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
This works too: al_nleqsolve(guess,f) |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 25/04/2022(UTC) Posts: 4 Location: QLD
|
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!
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 25/04/2022(UTC) Posts: 4 Location: QLD
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
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 (1,015kb) downloaded 19 time(s).Edited by user 25 April 2022 17:05:08(UTC)
| Reason: Not specified
|
1 user thanked overlord for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
You can also solve your problem with quadratic formula. Regards And here is your one-line algebraic solution. It is derived from quadratic formula. Numeric solvers not involved. Edited by user 26 April 2022 02:46:12(UTC)
| Reason: Not specified
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 25/04/2022(UTC) Posts: 4 Location: QLD
|
Thankyou all so much, very mush appreciated!
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
Originally Posted by: Darcy Thankyou all so much, very mush appreciated! Feel free to ask anything. Near all users will try to help you for your questions.
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Solving for Undefined variables, no real roots error
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.