The 15-kg block A slides on the surface for which mk = 0.3. The block has a velocity v = 10 m>s when it is s = 4 m from the 10-kg block B. If the unstretched spring has a stiffness k = 1000 N>m, determine the maximum compression of the spring due to the collision. Take e = 0.6.
ENGR 121 B Lab Notes for 10/19/2016 Spencer Kociba ● If/else statements ○ if() ■ Operation where if what is in () is true, it will carry out the action given right after the condition on the next line ○ elseif() ■ Only executes if 1st condition is false; will check a second condition ○ else() ■ If the “if()” and “elseif()” statements are false, follow the commands after this ○ Progression: ■ if() ■ elseif() ■ elseif() ■ …. ■ else() ○ **stops progressing as soon as a condition is satisfied ○ Nesting ■ if()