MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 6, Problem 28P

Body mass index (BMI) is a measure of obesity. In standard units, it is calculated by the formula

B M I = 703 W H 2

where W is weight in pounds, and H is height in inches. The obesity classification is:

 

    BMI Classification
    Below 18.5 Underweight
    18.5 to 24.9 Normal
    25 to 29.9 Overweight
    30 and above Obese

Write a program in a script file that calculates the BMI of a person. The program asks the person to enter his or her weight (lb) and height (in.). The program displays the result in a sentence that reads: “Your BMI value is XXX, which classifies you as SSSS.” where XXX is the BMI value rounded to the nearest tenth, and SSSS is the corresponding classification. Use the program for determining the obesity of the following two individuals:

(a) A person 6 ft 2 in. tall with a weight of 180 lb.

(b) A person 5 ft 1 in. tall with a weight of 150 lb.

Blurred answer
Students have asked these similar questions
You have been hired as an intern to run analyses on the data and report the results back to Sarah; the five questions that Sarah needs you to address are given below. please do it step by step   Does there appear to be a positive or negative relationship between price and screen size? Use a scatter plot to examine the relationship. Determine and interpret the correlation coefficient between the two variables. In your interpretation, discuss the direction of the relationship (positive, negative, or zero relationship). Also discuss the strength of the relationship. Estimate the relationship between screen size and price using a simple linear regression model and interpret the estimated coefficients. (In your interpretation, tell the dollar amount by which price will change for each unit of increase in screen size). Include the manufacturer dummy variable (Samsung=1, 0 otherwise) and estimate the relationship between screen size, price and manufacturer dummy as a multiple linear…
Exercises: Find all the whole number solutions of the congruence equation. 1. 3x 8 mod 11 2. 2x+3= 8 mod 12 3. 3x+12= 7 mod 10 4. 4x+6= 5 mod 8 5. 5x+3= 8 mod 12
Scenario Sales of products by color follow a peculiar, but predictable, pattern that determines how many units will sell in any given year. This pattern is shown below Product Color 1995 1996 1997 Red 28 42 21 1998 23 1999 29 2000 2001 2002 Unit Sales 2003 2004 15 8 4 2 1 2005 2006 discontinued Green 26 39 20 22 28 14 7 4 2 White 43 65 33 36 45 23 12 Brown 58 87 44 48 60 Yellow 37 56 28 31 Black 28 42 21 Orange 19 29 Purple Total 28 42 21 49 68 78 95 123 176 181 164 127 24 179 Questions A) Which color will sell the most units in 2007? B) Which color will sell the most units combined in the 2007 to 2009 period? Please show all your analysis, leave formulas in cells, and specify any assumptions you make.

Chapter 6 Solutions

MATLAB: An Introduction with Applications

Ch. 6 - The Pascal triangle can be displayed as elements...Ch. 6 - Fibonacci numbers are the numbers in a sequence in...Ch. 6 - The reciprocal Fibonacci constant ?is defined by...Ch. 6 - The value of p can be estimated from:...Ch. 6 - The value of p can be estimated from the...Ch. 6 - Write a program that (a) generates a vector with...Ch. 6 - A vector is given by x= [9 -1.5 13.4 13.3 -2.1 4.6...Ch. 6 - The Pythagorean theorem states that a2+ b2= c2....Ch. 6 - Write a MATLAB program in a script file that finds...Ch. 6 - A safe prime is a prime number that can be written...Ch. 6 - Sexy primes are two prime numbers that the...Ch. 6 - A Mersenne prime is a prime number that is equal...Ch. 6 - A perfect number is a positive integer that is...Ch. 6 - A list of exam scores (S) (in percent out of 100%...Ch. 6 - The Taylor series expansion for axis:...Ch. 6 - Write a MATLAB program in a script file that finds...Ch. 6 - The following are formulas for calculating the...Ch. 6 - Body mass index (BMI) is a measure of obesity. In...Ch. 6 - Write a program in a script file that calculates...Ch. 6 - Write a program that determines the change given...Ch. 6 - The concentration of a drug in the body CPcan be...Ch. 6 - One numerical method for calculating the cubic...Ch. 6 - Write a program in a script file that converts a...Ch. 6 - In a one-dimensional random walk, the position x...Ch. 6 - The Sierpinski triangle can be implemented in...Ch. 6 - The roots of a cubic equation a3x3+a2x2+a1x+a0=0...Ch. 6 - The overall grade in a course is determined from...Ch. 6 - A Keith number is a number (integer) that appears...Ch. 6 - The following MATLAB commands create a sine-shaped...
Knowledge Booster
Background pattern image
Statistics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Algebra: Structure And Method, Book 1
Algebra
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:McDougal Littell
Text book image
College Algebra
Algebra
ISBN:9781305115545
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:Cengage Learning
Text book image
Algebra and Trigonometry (MindTap Course List)
Algebra
ISBN:9781305071742
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:Cengage Learning
Text book image
Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Text book image
Holt Mcdougal Larson Pre-algebra: Student Edition...
Algebra
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL
Text book image
Algebra for College Students
Algebra
ISBN:9781285195780
Author:Jerome E. Kaufmann, Karen L. Schwitters
Publisher:Cengage Learning
Use of ALGEBRA in REAL LIFE; Author: Fast and Easy Maths !;https://www.youtube.com/watch?v=9_PbWFpvkDc;License: Standard YouTube License, CC-BY
Compound Interest Formula Explained, Investment, Monthly & Continuously, Word Problems, Algebra; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=P182Abv3fOk;License: Standard YouTube License, CC-BY
Applications of Algebra (Digit, Age, Work, Clock, Mixture and Rate Problems); Author: EngineerProf PH;https://www.youtube.com/watch?v=Y8aJ_wYCS2g;License: Standard YouTube License, CC-BY