The body fat percentage

Assignment Help MATLAB Programming
Reference no: EM13163443

The body fat percentage (BFP) of a person can be estimated by the formula BFP= 1.2xBMI+0.23xAGE -10.8xGEnder-0.54 where BMI is the body mass index, given by BMI = 703 W/H^2, in which W is the weight in pounds and H is the height in inches, Age is the person's age, and Gender =1 for a male and Gender = 0
for a female. Write a MATLAB user-defined function that calculates the body fat percentage. For
the function name and arguments use BFP = BodyFat(w,h,age,gen). The input arguments are the
weight, height, age, and gender (1 for male, 0 for female), respectively. The output argument is the
BEF value. Use the function to calculate the body fat percentage of:
a) A 35-years-old, 6 ft 2 in. tall, 220 lb male.
b) A 22-years-old, 5 ft 7 in. tall, 135 lb female.

Reference no: EM13163443

Questions Cloud

Program that initializes a 3x4 array : Write a program that initializes a 3x4 array with test data. It then asks the user for a number input, and checks if the number is present in the array
Explain what is the change in average specific : What is the change in average specific (kJ/kg) enthalpy of this system if the quality increases by 0.71 at a constant pressure of 10 bar?
Determine the magnesium content : Determine the magnesium content (in ppm) of a 100.00 mL sample of drinking water if the following data were obtained. Titrant is 0.0481 M EDTA, 12.78 mL were used when an aliquot of the sample was at pH 13.0
Program that computes the amount of money the computer club : Write a program that computes the amount of money the computer club will receive from proceeds of their granola bar sales project. Allow the user to enter the number of cases sold and the sale price per bar. Each case contains 12 bars; each case is p..
The body fat percentage : The body fat percentage (BFP) of a person can be estimated by the formula BFP= 1.2xBMI+0.23xAGE -10.8xGEnder-0.54 where BMI is the body mass index, given by BMI = 703 W/H^2, in which W is the weight in pounds and H is the height in inches
State dicyanoethylene into symmetric sterioisomers : Please Solve these with step by step instructions with phases. It is very hard to understand how to solve them without a photograph and an explanation of why you chose each step
Calculate the partial pressure of each gas : Assuming that the total pressure of the gases is 1.52 and that their mole ratio is 94 : 4.0 : 1.5 : 0.50, calculate the partial pressure (in atmospheres) of each gas.
What partial pressure of will be present in the vessel : If a 1.7 reaction vessel initially contains 730 of at 25 , what partial pressure of will be present in the vessel after 200 minutes?
Assume that section : Assume that section _1 seats are in front of the stage, and the price is expensive. say, each seat in the 1st three rows is $180.00, and each seat in the last two rows is 10% less;

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Mobile robot control and potential field

Write a MATLAB code to compute forces due to each obstacle and goal. Compute total force on vehicle at point(x,y).

  Design and synthesis of continuous time controllers

Design and synthesis of continuous time controllers - A graphical user interface (GUI) is a human-computer interface that uses menus, dialogue box, and button which can be manipulated by a mouse

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

  Recall the velocity of the falling parachutist

Question: Recall the velocity of the falling parachutist can be computed by  V(t) = gm(1-e -c/mx )/c,  Use first order error analysis to estimate the error of v at t=6. If g=9.8 and m=50 but c=12.5 +_ 1.5

  Filtering – biomedical application

Prepare a filter that removes noise produced by electronic medical equipment.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Determine the volume of the pyramid

Determine the volume of the pyramid. When the user enters every value, they will then be prompted also for either 'i' for inches, or 'c' for centimeters.

  Impact of zigbee on telecommunication systems

Report on Impact of zigbee on telecommunication systems

  Compare two sound wave in matlab

Compare two sound wave in matlab as on speech to text processing and open as notepad, calculator,C:,D: and many other on speaking

  Coding(using for and while loop)

coding(using for and while loop)

  Boundary conditions for the finite element model

The computer program or the finite element model for one value of a and the excel file for finite element results processing;Boundary conditions for the finite element model

  Compute the power spectral density vector

Compute the power spectral density vector. Plot the spectrogram using the same parameters as in lecture.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd