Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4939

Re: Solve::nsmet

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Solve::nsmet
Date 2011-09-14 09:19 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j4prit$fmk$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 9/13/11 at 7:18 AM, diviya.smith@gmail.com (Diviya Smith) wrote:


>I am trying to solve this equation using Mathematica but I keep
>getting the following error "Solve::nsmet: This system cannot be
>solved with the methods available to Solve".

>Solve[(p*(1 - e^(-x*(d - p))))/((-d + p) (1 - e^(x*p))) == y, x]

>I have also tried *Reduce* but that does not work either. Any
>suggestions, how I can fix the error? I am new to Mathematica...my
>apologies if this is a very basic question.

Your equation does not appear to have any closed form solution.
Your only recourse would be to specify values for p,d and then
use Solve or numeric methods. At least there are some specific
values you can give p,d and y which Solve can deal with. For example

In[24]:= eq = (p*(1 - E^(-x*(d - p))))/((-d + p) (1 - E^(x*p))) ==
     y /. {p -> 2, d -> 1, y -> 1/2};

In[25]:= Solve[eq, x]

Out[25]= {{x->log(3)}}

But I suspect one could easily find values that would either
have no solution or would not allow Solve to find a solution.

Note, I have assumed your e was intended to be E. If this is not
the case Solve can still find a solution. And you could leave y
unspecified, that is:

In[33]:= eq = (p*(1 - e^(-x*(d - p))))/((-d + p) (1 - e^(x*p))) ==
     y /. {p -> 2, d -> 1};

In[34]:= Solve[eq, x]

Out[34]= {{x -> Log[-((y - 2)/y)]/Log[e]}}

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Solve::nsmet Bill Rowe <readnews@sbcglobal.net> - 2011-09-14 09:19 +0000

csiph-web