Problem:
Draw the slope or direction field for the function
f(x) = sin(x) + x
and find an antiderivative g of f using the initial condition
g(1) = 2.
Visualization:
In the following LiveMath Notebook, you can see the slope field for the function
y = f(x) in purple and the graph of the antiderivative g
in blue. Change the values of a and b and see the corresponding
change in g.
You can also change the function f. Some examples to try:
- f(x) = cos(x) + x
- f(x) = sin(x) + 1
- f(x) = sin(2x) + x
- f(x) = sin(x) + x2