Use MATLAB to solve problem: Your Mechanical Engineering Department decided to e
ID: 3820035 • Letter: U
Question
Use MATLAB to solve problem:
Your Mechanical Engineering Department decided to enter a catapult building competition. Your team must decide what kind of catapult technology to use to maximize the chances you will win the competition. After doing a literature search you have learned that within the competition rules you can select between three technologies, a Trebuchet, onager or pneumatic style system. They each have differing probabilities of failed throws versus throws of different distance. The contest will be judged on the average of the all throws from many tries. What is the estimated average throw for each design and which should your team use?
· Trebuchet
o 20% chance of failed throw
o 40% chance of 400 ft throw
o 20% chance of 500 ft throw
o 20% chance of 600 ft throw
· onager
o 30% chance of failed throw
o 30% chance of 400 ft throw
o 30% chance of 550 ft throw
o 10% chance of 700 ft throw
· pneumatic
o 40% chance of failed throw
o 35% chance of 400 ft throw
o 10% chance of 600 ft throw
o 15% chance of 800 ft throw
Explanation / Answer
Matlab Code::
trebuchet_avg = .2*0 +.4*400 + .2*500 + .2*600
+ .3*400 + .3*550 + .1*700
pneumatic_avg = .4*0 + .35*400 + .1*600 + .15*800
Calculated average::
trebuchet_avg = 380
onager_avg = 355
pneumatic_avg = 320
Since trebuchet_avg is highest, one should choose this team
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.