answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Leni [432]
2 years ago
10

Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. note: the

re are 12 inches in a foot. ex: print_total_inches(5, 8) prints: total inches: 68
Mathematics
2 answers:
Bond [772]2 years ago
6 0

Answer:

def print_total_inches(num_feet, num_inches):

   totalinches = (12*num_feet) + num_inches

   print('total inches:' + str(total inches))

print_total_inches(5, 8)

Step-by-step explanation:

Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. note: there are 12 inches in a foot. ex: print_total_inches(5, 8) prints: total inches: 68

Using a python Graphic User interface we can write the following code in python.

def print_total_inches(num_feet, num_inches):

   totalinches = (12*num_feet) + num_inches

   print('total inches:' + str(total inches))

print_total_inches(5, 8)

Leona [35]2 years ago
5 0

Answer:

2

I am taking my first programming course, so my apologies if this is a dumb question/possibly classified by the wrong category on this site. One of the exercise problems I am working on is the following:

Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. Note: There are 12 inches in a foot. Ex:

print_total_inches(5, 8) prints:

Total inches: 68

Step-by-step explanation:

You might be interested in
Ozzie is starting his own part time business. He plans to earn $20 per hour. He has the following expenses each month, $500 for
CaHeK987 [17]
To get $555 he would have to work 27.75 hours or round it up to 28 hours but to get enough money for ALL his expenses he would need to work 32.25 hours or round it up to 33
7 0
2 years ago
Read 2 more answers
Amy is helping plan her school's new basketball court. The west edge of the basketball court is located on the line y = 2x + 5.
ipn [44]

Answer:

Line of east wedge is: 2x - y = 96

So, Option 1 is correct.

Step-by-step explanation:

The east edge cannot intersect with the west edge means that two lines are parallel.

If the two lines are parallel then they have same slope. We need to find the slopes of given lines and check which line has slope same as slope of west edge.

Slope of west edge.

y = 2x + 5

The standard equation for slope intercept form is:

y = mx+b

where m is the slope. So, m= 2

Now finding line for east edge.

Option 1.

Convert each given equation to standard slope intercept form and find the slope.

2x -y =96

-y = -2x +96

Multiply with -1

y = 2x -96

m = 2

Option 2.

-2x -y = 96

-y = 2x +96

y = -2x-96

m = -2

Option 3

-y-2x =48

-y = 2x +48

y = -2x -48

m = -2

Option 4.

y+2x = 48

y = -2x+48

m = -2

So, only line of Option 1 has slope = 2 which is equal to the slope of west edge.

Line of east wedge is: 2x - y = 96

So, Option 1 is correct.

7 0
2 years ago
Morgan is walking her dog on an 8-meter-long leash. She is currently 500 meters from her house, so the maximum and minimum dista
MAVERICK [17]

Answer:

Max: 500

Min: 492

Step-by-step explanation:

Her dog is on an 8 meter leash but it doesn't necessarily take up the whole leash. The most is could be closer to her house than Morgan is 8 meters, the least is 0.

Most: 500-0=500

Min: 500-8=492

Please rate, thank, and mark branliest (not necessarily mine) Hope this helps :)

4 0
2 years ago
Which of the following is a correct way to measure productivity? a. Divide the number of hours worked by the quantity of output.
11111nata11111 [884]

Answer:

b. Divide the quantity of output by the number of hours worked.

Step-by-step explanation:

<em>Since the ratio of the number of output to the number of hours worked shows the productivity. </em>

Thus, option (b) is correct.

Productivity is used to converting inputs into useful output. It measures the efficiency of a person, system, machine, factory, etc.

For Example: The employee who works less hours and assembled more radios has more productivity, that employee knows how to utilize time.

6 0
1 year ago
A police helicopter is flying at 150 mph at a constant altitude of 0.5 mile above a straight road. The pilot uses radar to deter
natali 33 [55]

Answer:

a) (see attached picture)

b) d, h, velocity of helicopter, dd/dt

in the direction oposite to the movement of the helicopter.

Step-by-step explanation:

In order to solve this problem we must start by drawing a diagram that will represent the situation (see attached picture). As you may see, there is a right triangle being formed by the helicopter, the car and the graound. We can use this to build the equation we are going to use to model the problem.

d^{2}=h^{2}+x^{2}

we can use this equation to find the value of x at that very time, so we can do that by solving the equation for x, so we get:

x=\sqrt{d^{2}-h^{2}}

and substitute the given values:

x=\sqrt{(1)^{2}-(0.5)^{2}}

which yields:

x=0.866mi

we know that the height of the helicopter is going to be constant, so we rewrite the equation as:

d^{2}=(0.5)^{2}+x^{2}

d^{2}=0.25+x^{2}

Next, we can go ahead and differentiate the equation so we get:

2d\frac{dd}{dt}=2x\frac{dx}{dt}

which can be simplified to:

d\frac{dd}{dt}=x\frac{dx}{dt}

we can next solve the equation for dx/dt so we get:

\frac{dx}{dt}=\frac{d}{x}*\frac{dd}{dt}

so we can now substitue te provided values so we get:

\frac{dx}{dt}=\frac{1}{0.866}*-190

so we get:

\frac{dx}{dt}=-219.40mph

the negative sign means that the x-value is decreasing.

now, this problem deals with relative velocities, so we get that:

Velocity of car about the helicopter = Velocity of the car - Velocity of the helicopter. Or:

V_{ch}=V_{c}-V_{h}

so we can solve this for the actual velocity of the car, so we get:

V_{c}=V_{ch}+V_{h}

so we get:

V_{c}=-219.40mph+150mph

which yields:

V_{c}=-69.4mph

So it has a velocity of 69.4mph in a direction oposite to the helicopter's movement.

4 0
2 years ago
Other questions:
  • In this diagram, which equation could you prove to be true in order to conclude that the lines are parallel?
    14·2 answers
  • Eitan is on a train heading west into the city while Dmitri is on a train on the adjacent track heading east, away from the city
    14·2 answers
  • What is the simplified form of 3 StartRoot 135 EndRoot?
    13·2 answers
  • X+y+z=6, xy+yz+zx=9 prove (x-1) +(y-2)²+(z-3)⁴&lt;88 ​
    8·1 answer
  • Please Help Quick ASAP
    14·1 answer
  • Patric made a simple sugar solution using 3 parts sugar and 4 parts water. Thomas made a sugar solution using 6 parts sugar and
    5·1 answer
  • Here are the first five terms of a number sequenceS . 10 16 22 28 34 Find an expression, in terms of n , for the nth term of thi
    11·1 answer
  • The population P of a small island was 6380 , correct to the nearest 10.
    12·1 answer
  • The graph of y = f(x) is the solid black graph below. Which function represents the dotted graph?
    14·1 answer
  • Rectangle A’B’C’D is the imagine if rectangle ABCD after a dilation. The center of dilation is the orgin. What is the scale fact
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!