> I would do it like this:
>
>
> x = var('x') # independent variable
> b = var('b') # constant
>
> y = function('y', x) # unknown function
>
> # define 2nd order ODE; (undampened spring with unit of mass attached)
> myode = diff(y,x,2)+b*y == 0 # define 2order ODE
>
> assume(b>0) # mass is alway
Hi Priyanka,
I would first define well the problem and the equation (you have terms like
c, and d that you are not using). It seems like you are trying to solve the
equation of a undampened string with a constant attached to it.
I would do it like this:
x = var('x') # independent variable
b =