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

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

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

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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