We go to a state-of-the-art amusement park. All the rides in this amusement park contain biometric sensors that measure data about potential riders while they are standing in line. Assume the sensors can detect a rider’s age, height, weight, heart problems, and possible pregnancy. Help the engineers write the conditional statement for each ride at the park based on their safety specifications
Variable Definitions: | |
A | % Age of the potential rider (as an integer) |
H | % Height of the potential rider (as an integer) |
HC | % Heart condition status (‘yes’ if the person has a heart condition, ‘no’ otherwise) |
P | % Pregnancy status (1 if pregnant, 0 Otherwise) |
a. The Spinning Beast: All riders must be 17 years or older and more than 62 inches tall and must not be pregnant or have a heart condition
if __________
fprintf (‘Sorry, you cannot ride this ride’);
end
b. The Lame Train: All riders must be 8 years or younger and must not be taller than 40 inches
if __________
fprintf (‘Sorry, you cannot ride this ride’);
end
c. The MATLAB House of Horror: All riders must be 17 years or older and must not have a heart condition.
if __________
fprintf (‘Welcome to the MATLAB House of Horror’);
end
d. The Neck Snapper: All riders must be 16 years or older and more than 65 inches tall and must not be pregnant or have a heart condition
if __________
fprintf (‘Welcome to The Neck Snapper!’);
end
e. The Bouncy Bunny: All riders must be between the ages of 3 and 6 (including those 3 and 6 years old)
if __________
fprintf (‘This ride is made just for you!’);
end
Want to see the full answer?
Check out a sample textbook solutionChapter 19 Solutions
Thinking Like an Engineer: An Active Learning Approach (3rd Edition)
- Hypothesis: EF=ma , f=MkfN Question: Make a judgment about whether or not your hypothesis (I used EF=ma , f=MkfN) can be rejected or if it is supported based on this experiment. Justify your judgment with evidence from this experiment. What assumptions did you make? Help me with this question pleasearrow_forwardI need a clear step by step answer please :)arrow_forwardA new electronic component for aircraft is tested to withstand temperatures as low as -50°F. One engineer suggests that the device cannot actually stand temperatures that low. What are the Type I and Type II errors? Type I: The device CAN NOT withstand temperatures as low as -50F but the engineer incorrectly finds that it CAN.Type II: The device CAN withstand temperatures as low as -50F but the engineer incorrectly finds that it CAN NOT. Type I: The device CAN withstand temperatures as low as -50F but the engineer incorrectly finds that it CAN NOT.Type II: The device CAN NOT withstand temperatures as low as -50F but the engineer incorrectly finds that it CAN. Is the answer the first or second bullet point?arrow_forward
- O You are running an industrial research study together with your project team to improve energy efficiency in a combustion process. The purpose of the research is to identify the optimum air-fuel ratio for the combustion process in a boiler under varying conditions of air supply and quality of fuel. The study would involve design of experiments, data collection and analysis, simulation of the different variables and validation of the optimum parameters. There is a lot of pressure to improve the energy efficiency as there is a forecast of fuel price rise in the forthcoming month. Based on the CRPE code of ethics, explain two critical precautions which the engineers have to consider before implementation of the data collection process for the industrial experiment. to be taken during the Describe briefly five ethical measures experimentaldata collection in order to ensure validity of results. Explain two precautions to be taken during the report writing on the research study carried out…arrow_forwardQUESTION 2 The data in the accompanying table were obtained from EPA 1993 Gas Mileage Guide for new automobiles. State whether each of the variables measured is quantitative (discrete or continuous) or qualitative: Estimated Estimated Engine Model Manufacture Transmissi No. of City Cylinders Miles/Gallo Miles/Gallo Highway Size Name on (liters) NSX Acura Automatic 3.0 18 23 Manual Automatic Manual Colt Dodge 1.5 4 32 40 22 22 318i BMW 1.8 4 30 Cаmry Toyota 2.2 4 30arrow_forwarddocuments from ICloOud. QUESTION 16 An interval recorded 9 occurrences. What is the 93% upper confidence limit(one-sided) for the number of occurrences in an interval? Please use at least 2 decimal points for your answer.arrow_forward
- Using the value of 0.55s ± 0.17s calculate the value for g and the value for uncertainty in g. Using the formula provided in image.arrow_forwardNeed help filling out the table with the data I have (1st row is fine but show work please)arrow_forwardQuestion 2 You are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial weight bearing activities. Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the yield stress for the…arrow_forward
- Could you please explain where and what is tight side and also how to find 5-9arrow_forwardAreas Under the Standard Normal Curve-The Values Were Generated Using the Standard Normal Distribution Function of Excel Note that the standard normal curve is symmetrical about the mean. z 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11 0.12 1 0.95 0.96 0.97 0.98 0.99 1.01 1.02 1.03 1.04 1.05 Mean - 0 1.06 1.07 1.08 1.09 A 0.0000 0.0040 0.0080 0.0120 0.0160 0.0199 0.0239 0.0279 0.0319 0.0359 0.0398 0.0438 0.0478 A 0.3186 0.3212 0.3238 0.3264 0.3289 0.3315 0.3340 0.3365 0.3389 Z 0.3413 0.3438 0.3461 0.3485 0.3508 0.3531 0.3554 0.3577 0.3599 0.3621 0.13 0.14 0.15 0.16 0.17 0.18 0.19 0.2 0.21 0.22 0.23 0.24 0.25 1.12 1.13 1.14 1.15 1.16 1.17 A z 0.0517 0.0557 0.26 0.27 0.28 0.29 0.0596 0.0636 0.0675 0.3 0.0714 0.31 0.0753 0.32 0.0793 0.33 0.0832 0.34 0.0871 0.35 0.0910 0.0948 0.0987 1.18 1.19 1.2 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 A 0.3643 0.3665 0.3686 0.3708 0.3729 0.3749 0.3770 0.3790 0.3810 0.36 0.3830 0.3849 0.3869 0.3888 0.3907 0.3925 0.3944 0.3962 0.3980 0.3997 0.37…arrow_forwardplease help with questions 1 and 2arrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY