MathGroup Archive 2014

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Differential Equation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132663] Re: Differential Equation
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Wed, 30 Apr 2014 01:41:35 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <ljndih$au0$1@smc.vnet.net>

Check the syntax for the proper use of DSolve.  You are looking for 

DSolve[{Y'[x] == A*f[x] - B*Y[x], Y[C] == 0}, Y, x]

Also note that C is a reserved symbol in Mathematica.  Generally you should avoide using capital letters for your parameters and functions


On Tuesday, April 29, 2014 1:33:05 AM UTC-4, Zohreh wrote:
> Dear Friends,
> 
> 
> 
> I am going to solve the following differential equation:
> 
> dY(x)/dx=A*f(x)-B*Y(x)
> 
> 
> 
> In which A and B are some parameters, f(x) is a function of x, and Y(C)=0 (C is a parameter).
> 
> 
> 
> I tried to solve it in Mathematica by
> 
> DSolve[Y'[x] == A*f[x] - B*Y[x], Y[C] == 0, x]
> 
> 
> 
> But I get the following error
> 
> DSolve::dsfun: "Y[C]==0 cannot be used as a function
> 
> 
> 
> I would highly appreciate it if somebody can help me.
> 
> 
> 
> Best reards.

C



  • Prev by Date: Re: Differential Equation
  • Previous by thread: Re: Differential Equation
  • Next by thread: Open Intervals Represented by Gauges