Question

This assignment is worth 100 points and consists of two parts. This is Part 1, which covers symbolic mathematics. Part 2 will cover user defined functions. Both Part 1 and 2

are due Wednesday, March 13th on Canvas. Code must be written in MATLAB, be well documented, and be composed as follows: Part 1 should be solved with one M file using sections. Part 2 should be solved with multiple function files and a single script using sections that calls your functions. 1. Consider Hooke's law, which describes the force (F, measured in Newtons) exerted by a spring on an object attached to its free end, and is proportional to the spring's change in length (x, measured in meters) away from its equilibrium. The spring constant k measures the spring's stiffness. F = -kx Use the Problem-Solving Framework and the Symbolic Mathematics capabilities of MATLAB to solve the problem below. The written answers of the problem-solving framework can be added as comments in your script (remember, state the problem, describe inputs and outputs, and your algorithm for solving the problem). Let F= 2.4 N and x = 0.32 m. What is the spring constant of this spring?

Question image 1