- #1

- 12

- 0

## Homework Statement

Plot the position vs time graph of an object attached to a spring.

m = 0.5 kg

k = 60 N/m

x[0] = 3 m

v[0] = 4 m/s

## Homework Equations

d²x/dt² + (k/m)*x = 0

## The Attempt at a Solution

I solved the differential equation using DSolve and plotted the resulting function, ok. But what if there was friction? I have no idea how I'd plot that graph.

And sorry for my bad english. D: