1answer.
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
AnnZ [28]
3 years ago
6

The function below takes two numeric parameters. The first parameter specifies the number of hours a person worked and the secon

d the number of dollars that they earn each hour. Compute the value of their weekly pay check. Any time worked beyond 40 hours, is considered overtime. Any overtime earns double pay (but only on the hours beyond the first 40). (python)
Function:

def compute_pay_with_overtime(hours_worked, hourly_rate):
Engineering
1 answer:
Mekhanik [1.2K]3 years ago
5 0

def calculate_pay(total_worked_hours, rate_per_hour):

  if total_hours_worked > 40:

 # anything over 40 hours earns the overtime rate

 overtimeRate = 2 * rate _per_hour

  return (40 * rate_per_hour) + ((total_worked_hours - 40) * overtimeRate

  else:

  # if you didn't work over 40 hours, there is no overtime

   overtime = 0

   return total_worked_hours * rate_per_hour

Explanation:

  • First we create the calculate_pay function which will takes 2 parameters.
  • Secondly ,inside the function we check if  the total_worked_hours is greater than 40 and then return the pay by calculating with the help of formula for work over 40 hours.
  • If the total work hour is less than 40 then we  return the pay by multiplying the total_worked_hours with rate_per_hour.

You might be interested in
a vertical cylindrical container is being cooled in ambient air at 25 °C with no air circulation. if the initial temperature of
Sloan [31]

Answer:

the surface heat-transfer coefficient due to natural convection during the initial cooling period.  = 4.93 w/m²k

Explanation:

check attachement for answer explanation

7 0
3 years ago
Read 2 more answers
Find the rate of heat transfer through a 6 mm thick glass window with a cross-sectional area of 0.8 m2 if the inside temperature
kiruha [24]

Answer:

6.9

Explanation:

I had the same question lol your welcomr if itd not right in sorry

3 0
3 years ago
A three-point bending test was performed on an aluminum oxide specimen having a circular cross section of radius 5.6 mm; the spe
ankoles [38]

Answer:

F =  8849 N

Explanation:

Given:

Load at a given point = F =  4250 N

Support span = L = 44 mm

Radius = R = 5.6 mm

length thickness of tested material = 12 mm

First compute the flexural strength for circular cross section using the formula below:

σ_{fs} = F_{f} L / \pi  R^{3}

σ = FL / π R³

Putting the given values in the above formula:

σ = 4250 ( 44 x 10⁻³ ) / π  ( 5.6 x 10⁻³ ) ³

  = 4250 ( 44 x 10⁻³ )  / 3.141593 ( 5.6 x 10⁻³ ) ³

  = 4250 (44 x 1 /1000 )) / 3.141593 ( 5.6 x 10⁻³ ) ³

  = 4250 ( 11 / 250  ) / 3.141593 ( 5.6 x 10⁻³ ) ³

  = 187 / 3.141593 ( 5.6 x 1 / 1000 ) ³

  = 187 / 3.141593 (0.0056)³

  = 338943767.745358

  = 338.943768 x 10⁶

σ = 338 x 10⁶ N/m²

Now we compute the load i.e. F from the following formula:

F_{f} = 2 σ_{fs} d³/3 L

F = 2σd³/3L

  = 2(338 x 10⁶)(12 x 10⁻³)³ / 3(44 x 10⁻³)

  = 2 ( 338 x 1000000 ) ( 12 x 10⁻³)³ / 3 ( 44 x 10⁻³)

  = 2 ( 338000000 ) ( 12 x 10⁻³)³ / 3 ( 44 x 10⁻³)

  = 676000000 ( 12 x 10⁻³)³ / 3 ( 44 x 10⁻³)

  = 676000000 ( 12  x  1/1000  )³ / 3 ( 44 x 10⁻³)

  = 676000000 (  3  / 250  )³ / 3 ( 44 x 10⁻³)

  = 676000000 (  27  / 15625000 )  / 3 ( 44 x 10⁻³)

  = 146016  / 125 / 3 ( 44 x 1 / 1000  )

  = ( 146016  / 125 ) /  (3 ( 11 /  250 ))

  =  97344  / 11

F =  8849 N

4 0
3 years ago
Design a plan for ""your yard"" (no matter where you live) that will capture and utilize rainwater. You can prepare the plan in
Jlenok [28]

Answer:

Explanation:

<u><em>General Considerations</em></u>

The design of the yard will affect the natural surface and subsurface drainage pattern of a watershed or individual hillslope. Yard drainage design has as its basic objective the reduction or elimination of energy generated by flowing water. The destructive power of flowing water increases exponentially as its velocity increases. Therefore, water must not be allowed to develop sufficient volume or velocity so as to cause excessive wear along ditches, below culverts, or along exposed running surfaces, cuts, or fills.

A yard drainage system must satisfy two main criteria if it is to be effective throughout its design life:

1. It must allow for a minimum of disturbance of the natural drainage pattern.  

2.It must drain surface and subsurface water away from the roadway and dissipate it in a way that prevents excessive collection of water in unstable areas and subsequent downstream erosion

The diagram below ilustrate diffrent sturcture of yard to be consider before planing to utiliza rainwater

4 0
3 years ago
Do you think for security reasons everything that happens on the internet should be analyzed by the public security services ?
givi [52]

Answer: yes

Explanation: People post bad things that i think should get taken down i was on an app the other day and people were posting bad things

8 0
3 years ago
Other questions:
  • c++ If your company needs 200 pencils per year, you cannot simply use this year’s price as the cost of pencils 2 years from now.
    9·1 answer
  • A _____ satellite system employs many satellites that are spaced so that, from any point on the Earth at any time, at least one
    10·1 answer
  • 1) Relative to electrons and electron states, what does each of the four quantum numbers specify?
    10·1 answer
  • What are the weight restrictions for a small UAS, including everything onboard at the time
    12·1 answer
  • A lightweight electric car is powered by ten 12-V batteries. At a speed of 100 km/h, the average frictional force is 1500 N. Wha
    9·1 answer
  • The assembly consists of two blocks A and B, which have a mass of 20 kg and 30 kg, respectively. Determine the distance B must d
    14·2 answers
  • Ok I need a new laptop but I'm not sure which one. The Surface laptop 3 is better in many fields like the camera, speaker, audio
    14·1 answer
  • Michelle is the general manager of a power plant. This morning, she will meet with city officials to discuss environmental issue
    5·1 answer
  • Is there anyone who can help me with welding?
    7·1 answer
  • Tech A says you can find the typical angle of a V-block engine by dividing the number of cylinders by 720
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!