Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Darcy  
#1 Posted : 25 April 2022 10:13:57(UTC)
Darcy

Rank: Newbie

Groups: Registered
Joined: 25/04/2022(UTC)
Posts: 4
Australia
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...
SMATH HELP.pngSMATH HELP.jpg
Offline overlord  
#2 Posted : 25 April 2022 14:15:43(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 829
Turkey

Was thanked: 290 time(s) in 204 post(s)
Click to enlarge

solve_roots.sm (13kb) downloaded 8 time(s).

Edited by user 25 April 2022 21:42:23(UTC)  | Reason: Not specified

Offline uni  
#3 Posted : 25 April 2022 14:22:41(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,331
Man
Russian Federation

Was thanked: 1163 time(s) in 672 post(s)
This works too: al_nleqsolve(guess,f)

al_nleqsolve.jpg
Russia ☭ forever
Viacheslav N. Mezentsev
Offline Darcy  
#4 Posted : 25 April 2022 15:11:57(UTC)
Darcy

Rank: Newbie

Groups: Registered
Joined: 25/04/2022(UTC)
Posts: 4
Australia
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!
Offline Darcy  
#5 Posted : 25 April 2022 15:13:04(UTC)
Darcy

Rank: Newbie

Groups: Registered
Joined: 25/04/2022(UTC)
Posts: 4
Australia
Location: QLD

ASSINGMENT_1.sm (921kb) downloaded 12 time(s).

Cheers Guys!!
Offline overlord  
#6 Posted : 25 April 2022 16:17:41(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 829
Turkey

Was thanked: 290 time(s) in 204 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 15 time(s).

2022-04-25_17-02.png

Edited by user 25 April 2022 17:05:08(UTC)  | Reason: Not specified

thanks 1 user thanked overlord for this useful post.
on 25/04/2022(UTC)
Offline overlord  
#7 Posted : 25 April 2022 20:19:15(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 829
Turkey

Was thanked: 290 time(s) in 204 post(s)
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

Edited by user 26 April 2022 02:46:12(UTC)  | Reason: Not specified

Offline Darcy  
#8 Posted : 26 April 2022 04:23:29(UTC)
Darcy

Rank: Newbie

Groups: Registered
Joined: 25/04/2022(UTC)
Posts: 4
Australia
Location: QLD

Thankyou all so much,
very mush appreciated!
Offline Jean Giraud  
#9 Posted : 26 April 2022 21:26:53(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,186
Canada

Was thanked: 910 time(s) in 738 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.
Offline overlord  
#10 Posted : 26 April 2022 22:11:11(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 829
Turkey

Was thanked: 290 time(s) in 204 post(s)
Originally Posted by: Darcy Go to Quoted Post
Thankyou all so much,
very mush appreciated!

Feel free to ask anything.
Near all users will try to help you for your questions.
Users browsing this topic
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.