Groups | Search | Server Info | Login | Register
Groups > comp.soft-sys.math.mathematica > #16879
| From | David Reiss <dbreiss@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Differential Equation |
| Date | 2014-04-30 05:41 +0000 |
| Message-ID | <ljq2f0$l9r$1@smc.vnet.net> (permalink) |
| References | <ljndih$au0$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
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
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar
Differential Equation Zohreh <zmmohamadi@gmail.com> - 2014-04-29 05:33 +0000 Re: Differential Equation psycho_dad <s.nesseris@gmail.com> - 2014-04-30 05:39 +0000 Re: Differential Equation David Reiss <dbreiss@gmail.com> - 2014-04-30 05:41 +0000 Re: Differential Equation Zohreh <zmmohamadi@gmail.com> - 2014-05-02 06:19 +0000
csiph-web