Concept explainers
The following are formulas for calculating the training heart rate (THR): THR = (MHR-RHR)×INTEN + RHR where MHR is the maximum heart rate given by (https://en.wikipedia.org/wiki/Heart_rate):
For males: MHR =
RHR is the resting heart rate, and INTEN the fitness level (0.55 for low, 0.65 for medium, and 0.8 for high fitness). Write a program in a script file that determines the THR. The program asks users to enter their gender (male or female), age (number), resting heart rate (number), and fitness level (low, medium, or high). The program then displays the training heart rate (rounded to the nearest integer). Use the program for determining the training heart rate for the following two individuals:
(a) A 19-year-old male, resting heart rate of 64, and medium fitness level.
(b) A 20-year-old female, resting heart rate of 63, and high fitness level.
Want to see the full answer?
Check out a sample textbook solutionChapter 6 Solutions
MATLAB: An Introduction with Applications, 6th Edition: An Introduction with Applications
- The resistance of a copper wire carrying an electrical current is directly proportional to its length and inversely proportional to its cross-sectional area. A copper wire with a diameter of 0.0126inch has a resistance of 64.9ohms per thousand feet. What length of 0.0201-inch-diameter copper wire will produce a resistance of 33.5ohms?arrow_forwardThe kinetic energy E of an object varies jointly with the object’s mass m and the square of the object’s velocity v . An object with a mass of 50 kilograms traveling at 16 meters per second has a kinetic energy of 6400 joules. What is the kinetic energy of an object with a mass of 70 kilograms traveling at 20 meters per second?arrow_forwardA driver of a car stopped at a gas station to fill up his gas tank. He looked at his watch, and the time read exactly 3:40 p.m. At this time, he started pumping gas into the tank. At exactly 3:44, the tank was full and he noticed that he had pumped 10.7 gallons. What is the average rate of flow of the gasoline into the gas tank?arrow_forward
- Estimate the age of a newly discovered fossil for which the ratio of carbon-14 to carbon-12 is R=1/1014.arrow_forwardFind the intensities of earthquakes whose magnitudes are (a) R=6.0 and (b) R=7.9.arrow_forwardIn 1906, San Francisco experienced an intense earthquake with a magnitude of 7.8 on the Richter scale. In 1989, the Loma Prieta earthquake also affected the San Francisco area, and measured 6.9 on the Richter scale. Compare the intensities of the two earthquakes.arrow_forward
- In cold weather, we feel colder when the wind blows. This is quantified by the wind chill index W, which is supposed to predict how cold we will feel for a given air temperature T, in degrees Fahrenheit, and wind speed V, in miles/hour. The National Weather Service uses the following formula: W=35.74+0.6215T−35.75V^0.16+0.4275TV^0.16, for T≤50 and V≥3. What is the wind chill index when the air temperature is 25 degrees and the wind speed is 18 miles/hour?Answer: Calculate the partial derivatives WT and WV when T=25 and V=18.WT= WV= Use your answer above to do the following question: When the air temperature is 25 degrees, estimate the change in the wind chill index if the wind speed increases by 2 miles/hour from 18 miles/hour.Answer:arrow_forwardPrices of diamonds are determined by what is known as the 4 Cs: cut, clarity, color, and carat weight. The prices of diamonds go up as the carat weight increases, but the increase is not smooth. For example, the difference between the size of a 0.99-carat diamond and a 1-carat diamond is undetectable to the naked human eye, but the price of a 1-carat diamond tends to be much higher than the price of a 0.99 diamond. In this question, we use two random samples of diamonds, 0.99 carats and 1 carat, each sample of size 23, and compare the average prices of the diamonds. In order to be able to compare equivalent units, we first divide the price for each diamond by 100 times its weight in carats. That is, for a 0.99-carat diamond, we divide the price by 99. For a 1 carat diamond, we divide the price by 100. The distributions and some sample statistics are shown below I have attached the questions and the chart in the images section. Thank youarrow_forwardA dead body was found within a closed room of a house where the temperature was a constant 65° F. At the time of discovery the core temperature of the body was determined to be 80° F. One hour later a second measurement showed that the core temperature of the body was 75° F. Assume that the time of death corresponds to t = and that the core temperature at that time was 98.6° F. Determine how many hours elapsed before the body was found. [Hint: Let t₁ > 0 denote the time that the body was discovered.] (Round your answer to one decimal place.) 1.6 Xhrarrow_forward
- Algebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal LittellAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage
- Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage Learning