Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help doing this in MATLAB Question 2 Body Mass Index (BMI) is a measure of obesity. In standard units, it is calculated by the

image text in transcribed

Need help doing this in MATLAB

Question 2 Body Mass Index (BMI) is a measure of obesity. In standard units, it is calculated by the formula BMI 703 , where W is weight in pounds and H is height in inches. The obesity classification is shown in the table below BMI below 18.5 18.5 to 24.9 25 to 29.9 30 and above Classification Undeweight Normal Overweight Obese Write a function that computes the BMI index for a given weight and height (you get to decide for yourself if you want two or three inputs - both are acceptable, but must be handled correctly either way). The program should display the result in a sentence that is similar to "This height and weight is normal!" Call the function to try the obesity of the following individuals a) A person is 6 ft 2 in tall with a weight of 140 lbs b) A person is 5 ft 1 in tall with a weight of 150 lbs c) A person is 5 ft 7 in tall with a weight of 135 Ibs d) A person is 6 ft 7 in tall with a weight of 335 lbs Note that 1 foot is 12 inches

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions