Question: need the equations that are used to set up eulers and help with the loop efore you begin programming, you should always have a plan

efore you begin programming, you should always have a plan in mind. Figure out a procedural way to ccomplish your task, then begin writing code to make it happen. You are required to write out pseudoode and include it in the Appendix of your report. It is recommended that you use a graphical approach such as a block diagram), but you may communicate your pseudocode in any other suitable format. this project, you are to going to write Matlab code that caiculates the velocity and position as a unction of time using the Euler approximations derived above. The following parameter values are to le used: 1. A default time increment ( t) of 0.01s is to used, but provide the user with the option of selecting a different t if desired.] 2. Lengths are fixed. L1=L2=2m, and h1=h2=1m for all analyses. 3. Four initial conditions are required, and will be hard-coded; each block will always begin with zero velocity and at the springs will begin at equilibrium (i.e., y1(0)=L1 and y2(0)=L1+h1+L2). 4. Other parameters are to be coded as input from by the user. Prompt the user for: (1) mass of each block (kg), (2) each spring constant (N/m), (3) the magnitude of driving force, F0(N), and (4) frequency of driving force, (rad/s). Limit the values to be in the following specified ranges, and use error checking to enforce (i.e., don't let the code proceed until the user enters a valid value): a. 0kg
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
