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

  Travelling salesman problem involves

The Travelling Salesman problem involves a salesman who has to visit a number of cities in a single closed tour. The salesman always starts and ends the tour in his home city and visits each other city on the tour exactly once.

  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.

  Design and explain a computer-based simulation model

Design and explain a computer-based simulation model which you will use to estimate the probability that among 25, 50, 75, 100, 500, or 1000 randomly chosen people, at least 2 people share the same birthday.

  Mat lab programming problem

In case the problem in the code I want you to modify it give the correct temperature.

  Fit the exponential function to the relaxation data

Fit the exponential function to the relaxation data and report the filename as well as the A, tau and B values and run all 3 functions in sequence to analyze ALL data

  Computes the stiffness matrix for one bilinear element with

write Matlab code that computes the stiffness matrix for one bilinear element with 4 nodes

  Create a vector in matlab

Create a three dimensional diagram of function.

  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

  Write matlab scripts

Write MATLAB scripts for to accept two numbers from the user; Display all prime numbers between these two numbers.

  Deterministic dimensions and rebar area

Performance function for bending of a rectangular reinforced concrete beam under moments due to dead and live loads

  Finds the largest integer in the list recursively

Write a program that, given a list of 20 integers, finds the largest integer in the list recursively

  Write a function in matlab

write a function in MATLAB

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