- for your road (any of the roads, good, average, etc)
- with specified mass, spring constant and damper constant
- the maximum velocity, v_max, the car can drive down each road such that
- the suspension does not extend or compress more than 5 cm and
- the maximum acceleration experienced by the car (either up or down) does not exceed 2 g
- and with that velocity, what the corresponding maximum force in the damper is.
NOTE: you probably want to use the max() function in matlab to check that the maximum things are less than the limits. You need to change the code that builds the road! I used variables max and min in the logspace for the wavenos. Either just replace those with the corresponding numbers or change those variable names to maxwaveno and minwaveno. Matlab lets you define variables that are also function names. But if you then try to use the function, it won't let you.
10 more points: Consider
- the range of spring constants from 1000*9.81 N/m to 12000*9.81 N/m in increments of 1000*9.81 N/m
- the range of damper values from 0.1*(0.7*2*sqrt(k*m)) to 2.0*(0.7*2*sqrt(k*m)) in increments of 0.2*(0.7*2*sqrt(k*m)).
f(k,b,sk0) = 8*v_max - max_damper_force?
This can be for any of the roads.
10 more points: Write a report with the following contents.
- Problem Statement: Description of problem you solved.
- Methods: Description of approach you used to solve the problem.
- Results: What the results were. If there are trends in the trade-offs between k and b and those change for different roads, describe those trends and trade-offs. These may only be underlying your answer, but this may make the report valuable to someone that looks at it in 10 years when the merit function may be different.
- Appendix: code printout.
10 extra credit points: do the same but for all 5 roads, with merit function
f(k,b) = 8*(v_max_1 + v_max_2 + v_max_3 + v_max_4 + v_max_5) - sum of max_damper_forces
where v_max_i is the max velocity for the various types of road conditions.