Changes

Jump to navigation Jump to search
149 bytes added ,  10:14, 22 August 2012
We could solve the problem with the following code
{{Code|Solve spring equation for different values of the spring constant|<syntaxhighlight lang="octave" style="font-size:13px">
t = linspace (0, 10, 100);
function sprime = spring (s, t, k)
plot (t, x1, t, x2)
legend ('x1', 'x2')
</syntaxhighlight>}}
[[File:solparfun.png]]
349

edits

Navigation menu