Zohreh
2014-04-29 05:33:05 UTC
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 regards.
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 regards.