ANSWER:-
OUTPUT SCREENSHOT:-
Enter your weight (lbs), or type 0 for SI units: 0
Enter your mass (kg): 50
weight = 50
Enter your height (m): 1.6
height = 1.6000
bmi = 19.531
You are Normal
Enter your weight (lbs), or type 0 for SI units: 0
Enter your mass (kg): 62.5
weight = 62.500
Enter your height (m): 1.78
height = 1.7800
bmi = 19.726
You are Normal
Enter your weight (lbs), or type 0 for SI units: 0
Enter your mass (kg): 52
weight = 52
Enter your height (m): 1.8
height = 1.8000
bmi = 16.049
You are underweight
Enter your weight (lbs), or type 0 for SI units: 0
Enter your mass (kg): 90
weight = 90
Enter your height (m): 1.7
height = 1.7000
bmi = 31.142
You are classified as obese
SAMPLECODE:-
weight = input('Enter your weight (lbs), or type 0 for SI units:
');
if weight == 0;
weight = input('Enter your mass (kg): ')
height = input('Enter your height (m): ')
bmi = (weight / (height.^2))
else
height = input('Enter your height (ft): ')
bmi = (Weight / (height.^2)) * 4.882427111
end
if (bmi <= 18.5);
disp('You are underweight')
else if ((bmi > 18.5) && (bmi <= 25));
disp('You are Normal')
else if ((bmi > 25) && (bmi <= 30));
disp('You are overweight')
else if ((bmi > 30) && (bmi <= 35));
disp('You are classified as obese')
end
end
end
end
Problem 2: As an intelligent system engineer you are requested to design a fuzzy logic expert ...
Multiple-Choice Questions (worth two points each) 1. Which of the following describes the process in which one adopts patterns of behavior that lead to greater life satisfaction? A. wellness B. health C. social determination D. self-efficacy 2. The Stages of Change Model of health behavior change emphasizes that A. change happens as a process. B. people change only when faced with an illness. C. change occurs only when the environment supports it. D. changes are more effective when based on...
How can we assess whether a project is a success or a failure? This case presents two phases of a large business transformation project involving the implementation of an ERP system with the aim of creating an integrated company. The case illustrates some of the challenges associated with integration. It also presents the obstacles facing companies that undertake projects involving large information technology projects. Bombardier and Its Environment Joseph-Armand Bombardier was 15 years old when he built his first snowmobile...
Using the book, write another paragraph or two: write 170 words: Q: Compare the assumptions of physician-centered and collaborative communication. How is the caregiver’s role different in each model? How is the patient’s role different? Answer: Physical-centered communication involves the specialists taking control of the conversation. They decide on the topics of discussion and when to end the process. The patient responds to the issues raised by the caregiver and acts accordingly. On the other hand, Collaborative communication involves a...