Message Boards Message Boards

0
|
2989 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Solve complicated equation that includes logs

Posted 11 years ago
As a newbie, I am having difficulty with the following input both timing out and not recognizing request to solve 's':
"y =((p*log((b+((1-x)*(s*(o-1))))))+((1-p)*log((b-s)))), solve s."

Any ideas?

matekus 
POSTED BY: _ _
2 Replies
The way to solve this would be to do:
y == p Log[b + (1 - x) s (o - 1)] + (1 - p) Log[b - s]
Solve[%, s]
but the equation is too complicated to solve in general. Also restricting to Real numbers does not work. 

Your equation can be rewritten as:
Exp[y] == (b + (1 - x) s (o - 1))^p (b - s)^(1 - p)
As 'p' is not known, I'm pretty sure there is no general answer to this problem.
POSTED BY: Sander Huisman
Posted 11 years ago
Sandar,

Thanks for the prompt reply.
I agree there is probably no general solution.

matekus
POSTED BY: _ _
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract