PLOTTING FUNCTION GRAPH USING JAVASCRIPT (Part 2)
Note: Please wait a bit for the math formulas to appear.(I use MathJax.js) 1- Problem 1: A spring-mass system on horizontal surface performs damped oscillation due to Coulomb frictional force \[F_{cl}=\mu mg\]. When t = 0 the mass was pulled so that the spring stretches a segment of $x_0=6$ (cm) then it was loosed. It's known that: \[\omega = \sqrt{\frac{k}{m}}= \frac{\pi}{4} = 0.7854 \quad\text{(rad/s)}\] and the length of the way for one direction movement (from left to right or from right to left) decreasing steadily to 0.8 (cm). a- Establish the equation of motion x = x(t) b- Using LaTeX to draw this oscillating graph. 2- Solution: A. Two half periods at the beginning We will use the horizontal x axis in the direction of elongation of the spring. x = 0 is the position of the mass when it is not pulled or compressed. The condition for the mass to stop is: \[\text{velocity }v=0\quad\text{and}\quad\ |x| \le d\quad\text{where }d = \f...