Question: I need to use MATLAB FORMAT = ( + )/2 Where is the spring wire length, is the number of coils in the spring, is

I need to use MATLAB FORMAT

= ( + )/2 Where is the spring wire length, is the number of coils in the spring, is the outer diameter of the spring, and is the inner diameter of the spring. = ( )^2 Where is spring mass and is the spring metal density. All springs in the system will be made with the same high-carbon steel. The steel, oil tempered ASTM A 229, has a density of 7.861 g/cm3. Your program must work within a larger program structure so you must write it as a function based on what you know about the spring project and the other parts of the larger program. You know the following information: Your function will require two inputs: one input is the inner and outer diameters of the spring, theother input is the number of coils in the spring. The diameters and number of coils must meet certain criteria: The diameter input variable must be a 2-element vector and the number of coils input must be a scalar The first element of the diameter vector must be the inner diameter (i.e., the smaller diameter). The inner diameter cannot be greater than 95% of the outer diameter. Both elements within the diameter vectors must be lengths between 2.5 cm and 30 cm, inclusive. The spring must have at least 4 coils. function must return two output arguments: wire length (scalar) and spring mass (scalar) function must follow the flowchart, which is shown below

I need to use MATLAB FORMAT = ( + )/2 Where isthe spring wire length, is the number of coils in the spring,

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 Databases Questions!