>Lab 8 – Python: Exercise calculator with BMI & Karvonen formulasThe objectives of this lab assignment are as follows: To properly complete this assignment you will need to apply the following skills: As a user I want an application that will allow me to calculate a persons Body Mass Index (BMI) as well as to apply the Karvonen formula in calculating the users heart rate at varying levels of exercise intensity. In this application we are calculating two different values: the first is the Body Mass Index (BMI) and the second is a series of maximum heart rate values at specific exercise intensity percentages calculated using the Karvonen formula. Building on the work that you have already done or begun thinking about this application must be protected against invalid numeric data entry. Therefore you must use while loops to prompt the user for each requested value until the value entered is valid—until the user enters acceptable numeric data. Furthermore as this assignment is coming after your reading about functions it is expected that you will define at least two functions in your program. The first function will calculate and return the BMI value based on the height (inches) and weight (pounds) passed into the function. And the second function will calculate and return the Karvonen maximum heart rate given the intensity resting heart rate and age passed into the function. When complete your output should be as pictured below: Note : The example output provided above is simply an example. You do not need to format your output to look exactly like mine. You simply need to ensure that you have met the technical requirements for this application and ensure your output is neat and professional looking. BMI is a calculation of body fat based on an individuals height and weight. To calculate BMI you need two different values: height in inches and weight in pounds. Once you have obtained these values you will then need to convert the height from inches to height in meters squared and the weight in pounds to the weight in kilograms. I am not going to provide these conversion formulas to you; you have to do a little online research to find them. In the case of converting inches to meters squared you need to convert inches to meters and then square that value. The formula for calculating BMI is as follows: where: The value for bmi will be a decimal from zero (dead) to a high number indicating high body fatness. Based on the BMI value a person is categorized according to their body fat as follows: In addition to calculating the users BMI you will determine which of the above categories the user falls into based on their BMI. There are many online calculators that you can use to check your BMI results one such can be found at the National Institute of Health. (Link to website here.) The Karvonen formula is used to calculate a target heart rate at specific workout intensities. It can be used to calculate ideal heart rate ranges for specific kinds of workout intensities. What I wish to do is to calculate what the maximum heart rate will be based on exercise intensity that begins at 50% and increases by 5% to a maximum intensity of 95%. This of course implies using a loop. We want to construct a loop that will iterate this calculation for the maximum heart rate for each of our exercise intensity percentages. To calculate maximum heart rate according to the Karvonen formula you need two different values: age and resting heart rate. The formula for calculating the maximum heart rate is as follows: This is an exercise in mathematic order of operations. Another way to think about the fomula above is to break it down like . . . where: example: Suppose you have a resting heart rate of 70 beats per minute and your age is 35 and lets suppose we want to know what the maximum heart rate should be at 60% intensity workout: 220 – 35 = 185 (this results in the maximum heart rate — mhr)185 (mhr) – 70 = 115 (this results in the heart rate reserve — hrr)115 (hrr) * .60 = 69 (this results in the maximum target zone — mtz)69 (mtz) + 70 = 139 (this is the result that will be output for 60% exercise intensity) Therefore 139 is the maximum heart rate for someone who is 35 years of age has a resting heart rate of 70 and is exercising at a 60% intensity level. We want to perform this calculation for each exercise intensity level from 50% to 95% with each level incremented by 5% There are many online calculators that you can use to check your Karvonen results one such is from this website (Link to website here.) You must ensure that the application you submit meets all technical/grading requirements. Your grade will be based on how well your application follows the application requirements plus the following: How the application looks and how it presents its information to the user is up to you. But it must meet the minimum requirements noted above. Important: Your output must include all of the following: BMI value BMI category one row for each exercise intensity from 50% to 95% in 5% increments (performed in a loop) and each row must include the intensity value as a percent and the maximum heart rate at that intensity.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 3234125597

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 30% with the discount code GURUH