### The Maxima on-line user's manual

Algebra Calculator

#### Ic2

Function: ic2 (<solution>, <xval>, <yval>, <dval>) Solves initial value problems for second-order differential equations. Here <solution> is a general solution to the equation, as found by `ode2`, <xval> gives the initial value for the independent variable in the form `<x> = <x0>`, <yval> gives the initial value of the dependent variable in the form `<y> = <y0>`, and <dval> gives the initial value for the first derivative of the dependent variable with respect to independent variable, in the form `diff(<y>,<x>) = <dy0>` (`diff` does not have to be quoted).

1 then "caso di smorzamento ipercritico" else if zita=0 then"caso non smorzato" else "caso di smorzamento subrcritico"; sol: ode2(eq, x, t); sol1: ic2(sol, t=0, x=1, 'diff(x, t)=0); plot2d(rhs (sol1),[t,0,20],[x,0,20]); "soluzione a regime"; solreg:y=(30*sin(3*t) - 80*cos(3*t))/73; plot2d(rhs (solreg),[t,0,20],[y,-2,2]); ' title='Ic2 Example' width='30%' />

See `ode2` for an example of its usage.

```(%o1)                                true
(%i2) ```

? ic2;

Calculate

? ic2;

Calculate