Hackety Hacking Problem ExamSimulation TernaryOperator: Difference between revisions
Jump to navigation
Jump to search
(New page: == Problem Statement == Your physics teacher is teaching you the principles of Oscillations. In a demonstration, She shows you how a spring oscillates. After compressing it to 1cm, accor...) |
(cat) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
Your physics teacher is teaching you the principles of Oscillations. In a demonstration, She shows you how a spring oscillates. |
Your physics teacher is teaching you the principles of Oscillations. In a demonstration, She shows you how a spring oscillates. |
||
After compressing it to 1cm, according to Hooke's Law |
After compressing it to 1cm, according to Hooke's Law, which is formulated as F = -K*x , the spring starts oscillating. Write a program which could plot the variation of force with change in length of the spring? |
||
[[Category: Hackety Lesson Plan]] |
Latest revision as of 20:06, 6 April 2008
Problem Statement
Your physics teacher is teaching you the principles of Oscillations. In a demonstration, She shows you how a spring oscillates. After compressing it to 1cm, according to Hooke's Law, which is formulated as F = -K*x , the spring starts oscillating. Write a program which could plot the variation of force with change in length of the spring?