Hello, Here is a link to my assignment.
I need help with the second part. The first part was simple. Here is what I have.
function spring(W,k1,k2,d)if (x<d) x= W/k1else (x >=d) x=(W+ (2 .* (k2) .* d)/((k1) + (2.*(k2)))) end
How would I plot this? See link as reference.
Thanks for help in advance.
Best Answer