Plotting a potential energy function

2 views (last 30 days)
Chris
Chris on 18 Nov 2013
Answered: Steve Miller on 21 Dec 2022
So I am a little lost. We are supposed Plot the quantity E = 1/2*m*v^2 + 1/2*k*y^2 as a function of time. im sure this has something to do with deriving this equation but I can not figure it out. I dont know m or v or k or y. I might know m and k though cause i can use my numbers from the previous equation. I think that ill have to create a function file but i get lost from there. Any help?

Answers (1)

Steve Miller
Steve Miller on 21 Dec 2022

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!