Question: * * Please verify there is a seperate function and script and explain your code * * This project is about solving the fixed -

**Please verify there is a seperate function and script and explain your code**
This project is about solving the fixed-free masses and springs problem. What we did
in class was fixed-fixed: springs are attached to a fixed point at both the bottom and the
top. For the fixed-free problem there is no bottom spring: the masses hang freely, meaning
the bottom mass doesn't have a spring below it. In the fixed-free problem if there are three
masses there are three (not four) springs.
Write a MATLAB function that takes the spring constants and masses as inputs and
returns the corresponding vector of displacements for the fixed-free masses and springs
problem with three masses (and three springs).
Write a MATLAB script that calls the function and returns the results for two different
cases:
(a){c1,c2,c3}={10,5,1},{m1,m2,m3}={4,5,6}(case 1)
(b){c1,c2,c3}={1,5,10},{m1,m2,m3}={6,5,4}(case 2)
Use a value of 10 for gravitational acceleration.
* * Please verify there is a seperate function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!