Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline drewbagel423  
#1 Posted : 08 September 2017 16:26:49(UTC)
drewbagel423

Rank: Newbie

Groups: Registered
Joined: 12/06/2014(UTC)
Posts: 4
United States
Location: NJ

I have the equation 0.005*N^-0.12 + 0.565*N^-0.46 = 0.010 that I am trying to solve for N. I know the answer is ~9500 but I do not know how to solve it using SMath Studio. I tried "solve" but I get the "No real roots" error.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 08 September 2017 17:27:51(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: drewbagel423 Go to Quoted Post
I have the equation 0.005*N^-0.12 0.565*N^-0.46 = 0.010 that I am trying to solve for N. I know the answer is ~9500 but I do not know how to solve it using SMath Studio. I tried "solve" but I get the "No real roots" error.


As simple as that: plot first to check if there is intersection
between the two functions. You don't solve for a constant, you
solve for a constant defined as a function. Next, guesstimate
for bracketing the solve block ... done.

Cheers collab.

Solve Unknown.PNG

Offline Jean Giraud  
#3 Posted : 08 September 2017 18:04:08(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 981 time(s) in 809 post(s)
... your project from iterative Dichotomy

Solve Dichotomy.sm (10kb) downloaded 29 time(s).
Offline drewbagel423  
#4 Posted : 08 September 2017 18:27:18(UTC)
drewbagel423

Rank: Newbie

Groups: Registered
Joined: 12/06/2014(UTC)
Posts: 4
United States
Location: NJ

Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: drewbagel423 Go to Quoted Post
I have the equation 0.005*N^-0.12 0.565*N^-0.46 = 0.010 that I am trying to solve for N. I know the answer is ~9500 but I do not know how to solve it using SMath Studio. I tried "solve" but I get the "No real roots" error.


As simple as that: plot first to check if there is intersection
between the two functions. You don't solve for a constant, you
solve for a constant defined as a function. Next, guesstimate
for bracketing the solve block ... done.

Cheers collab.

Solve Unknown.PNG



Works perfectly. Thanks!
Offline Davide Carpi  
#5 Posted : 08 September 2017 20:33:46(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: drewbagel423 Go to Quoted Post
I tried "solve" but I get the "No real roots" error.

probably you have used solve(2) (function with 2 arguments) that is driven by the global parameters (tools > options > calculation > roots (range)) and is designed mainly for solutions on the fly.

use instead solve(4), giving an adequate range (f.e. by plotting the function, as mentioned above by Jean)

2017-09-08 19_29_43-SMath Studio - [Page1_].png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Guest
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.