In [2]: In [43]: Problem 1 (1 point. Enter your answer to this, and all other...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In [2]: In [43]: Problem 1 (1 point. Enter your answer to this, and all other questions, in Childsmath) m By experimenting, find the INTEGER value of a so that BMI = a. when used with pounds and inches, gives the correct BMI (*when the BMI is rounded h to two decimal places*). Note: you should be able to explain how to arrive at the value of a without guessing (hint: look at homework assignment 6, question 5; so, it has to do with the conversion of units). #calculating BMI in kg and m m = 72 h = 1.71 BMI = m/h**2 print("Using kilograms and metres we obtain the correct BMI of", BMI) # calculating BMI in Lb and in mLB = m*2.205 hINCH = h*39.37 BMIinLBINCH = mLB/hINCH**2 print("Substituting pounds and inches into BMI=m/h^2 gives", BMIinLBINCH, "which is obviously not correct") a_actual BMI/BMIinLBINCH print(a_actual) #modifying BMI formula for Lb and in a = # experiment with different integer values of a; enter a single value for a BMI = a mLB/hINCH**2 print("With a=",a,"the modified formula for BMI gives", BMI) File "/tmp/ipykernel_70/255985942.py", line 15 a = SyntaxError: invalid syntax Now that you guessed the value of a in the code above, try to combine the conversion factors 2.205 and 39.37 using mathematical operations (as shown in Lab 0) to obtain the same (or approximately same) value of a. # Experiment with the conversion factors; enter different combinations. a = # You will get an ERROR MESSAGE if you run this cell without entering anything for a print (a) # Does this make sense? why? File a = "/tmp/ipykernel_117/1943019842.py", line 3 # You will get an ERROR MESSAGE if you run this cell without entering anything for a ^ In [2]: In [43]: Problem 1 (1 point. Enter your answer to this, and all other questions, in Childsmath) m By experimenting, find the INTEGER value of a so that BMI = a. when used with pounds and inches, gives the correct BMI (*when the BMI is rounded h to two decimal places*). Note: you should be able to explain how to arrive at the value of a without guessing (hint: look at homework assignment 6, question 5; so, it has to do with the conversion of units). #calculating BMI in kg and m m = 72 h = 1.71 BMI = m/h**2 print("Using kilograms and metres we obtain the correct BMI of", BMI) # calculating BMI in Lb and in mLB = m*2.205 hINCH = h*39.37 BMIinLBINCH = mLB/hINCH**2 print("Substituting pounds and inches into BMI=m/h^2 gives", BMIinLBINCH, "which is obviously not correct") a_actual BMI/BMIinLBINCH print(a_actual) #modifying BMI formula for Lb and in a = # experiment with different integer values of a; enter a single value for a BMI = a mLB/hINCH**2 print("With a=",a,"the modified formula for BMI gives", BMI) File "/tmp/ipykernel_70/255985942.py", line 15 a = SyntaxError: invalid syntax Now that you guessed the value of a in the code above, try to combine the conversion factors 2.205 and 39.37 using mathematical operations (as shown in Lab 0) to obtain the same (or approximately same) value of a. # Experiment with the conversion factors; enter different combinations. a = # You will get an ERROR MESSAGE if you run this cell without entering anything for a print (a) # Does this make sense? why? File a = "/tmp/ipykernel_117/1943019842.py", line 3 # You will get an ERROR MESSAGE if you run this cell without entering anything for a ^
Expert Answer:
Related Book For
Posted Date:
Students also viewed these databases questions
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
(a) LEP Table 12-2: Exothermic Reaction with Heat Exchange Download the Polymath, MATLAB, Python, or Wolfram codes for the algorithm and data given in Table T12-2 for the exothermic gas phase...
-
Rice and Flower were partners sharing profit and loss equally. Statement of Financial Position as at 31 December 2020. Non current Assets Premises Machinery Vehicles Fittings Current Assets Inventory...
-
Use supply-and-demand diagrams to demonstrate how each of the following events (a-d) affects the market for S.U. apparel. Be sure to show and explain what happens to the equilibrium price and...
-
Determine the moment of inertia of the triangular area about the xaxis. r%3(6-x)
-
In 16 experiments studying the electrical behavior of single cells, 12 use micro-electrodes made of metal and the other 4 use micro-electrodes made from glass tubing. If 2 of the experiments are to...
-
Indicate whether each of the following is true or false. If an answer is false, explain why. ______ 1. Insolvency means that a debtor has more current liabilities than current assets. ______ 2....
-
Explain the trading techniques that can be used with options and financial futures contracts and note how these securities can be used in conjunction with common stock, or bond investments
-
1. Are Kellermans calculations correct? These are the first items to verify. 2. Take a close look at the data using appropriate statistical methods. 3. Are Kellermans conclusions correct? If so, why...
-
The mean effective pressure of a 2stroke square petrol engine is (600000+ X/3) Pa and the mechanical efficiency is 73%. The crankshaft rotates at 200rpm. The Diameter of the Piston is 200mm. Find out...
-
Display each code generally by using location of the data. Set and function which are given below are just for explanation. Answers should be in the form of MATLAB code only. Q1: Define procedure to...
-
1 point What is a key element of an engaging travel blog introduction? Long paragraphs with complex sentences. Excessive use of technical vocabulary. A simple and captivating opening. Omitting...
-
The process of dividing the athletic market into different subsets of shoe consumers, such as runners, basketball players, and golfers, is known as: O a. social marketing O b. product positioning O...
-
Bill manages a video game company, and he needs to hire some game testers. Which statement best describes why Bill would hire intuitive thinkers as testers? Select answer from the options below Bill...
-
and Let f(x) if r < -3 if - 3 < x < 1 -4 if1 4 g(x) = [ f(t)dt Determine the value of each of the following: (a) g(-7)= (b) g(-2) = (c) g(2) = (d) g(5) = (e) The absolute maximum of g(x) occurs when...
-
Begin by reading "Tim Hortons uniform may soon include masks, as drive-thrus and dining rooms get a pandemic makeover". As you read the Toronto Star article, make notes and consider how operations...
-
You are the newly appointed tax practitioner to complete Emilys tax return and have downloaded the prefill report for Emilys tax return (hint, you can read what a prefill report is here (Links to an...
-
Ethyl acetate is an extensively used solvent and can be formed by the vapor-phase esterification of acetic acid and ethanol. The chemical equation shows the formation of Ethyl acetate by the vapor...
-
Can you use Figure 18-2 to find the dispersion coefficient for a liquid with a Schmidt number, Sc = 0.35 and a gas porosity = 0.5, a particle diameter d p = l cm, a gas velocity U = 10 cm/s, and a...
-
The following reactions are taking place in a 2000-dm 3 liquid-phase batch reactor under a pressure of 400 psig: The initial temperature is 450 K and the initial concentrations of A, B, and C are...
-
Contrast the assumptions for a finite distributed lag model with those for an infinite distributed lag model.
-
Compute delay, interim, and total multipliers for finite and infinite distributed lag models.
-
Contrast the exogeneity assumption required for HAC standard errors with that required for estimating an \(\mathrm{AR}(1)\) error model.
Study smarter with the SolutionInn App