#Example 3, page no 5
var('x')
y = function('y', x)
f(x) = desolve(diff(y, x) - cos(x), y)
show(f(x))
P = []
for i in range(-3, 3, 1):

    P.append(plot(f(x).subs(c=i), (x, -2*pi, 2*pi), color='blue'))
    show(plot(P))

Kreyszig-example 3; page: 5 (last edited 2010-12-15 12:45:39 by phani)