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
gregori [183]
3 years ago
5

(1) Prompt the user for the number of cups of lemon juice, water, and agave nectar needed to make lemonade. Prompt the user to s

pecify the number of servings the recipe yields. Output the ingredients and serving size. (Submit for 2 points).
Engineering
1 answer:
Lady bird [3.3K]3 years ago
6 0

Answer:

The program to this question as follows:

Program:

Lemon= float(input('Enter lemon juice value in cups: ')) #defining float variable and input value by user

Water= float(input('Enter water value in cups: ')) #defining float variable and input value by user

Agave= float(input('Enter agave nectar value in cups: ')) #defining float variable and input value by user

Serve= float(input('enter serving value: '))  #defining float variable and input value by user

print ('Lemonade ingredients - yields',Serve,'servings',) #print value

print (Lemon,'cups in lemon juice',) #print value

print (Water,'cups in water',) #print value

print (Agave,'cups in agave nectar',) #print value

Output:

Enter lemon juice value in cups: 2

Enter water value in cups: 3

Enter agave nectar value in cups: 2

enter serving value: 2

Lemonade ingredients - yields 2.0 servings

2.0 cups in lemon juice

3.0 cups in water

2.0 cups in agave nectar

Explanation:

In the above python code, four float variable "Lemon, Water, Agave, and Serve" is defined, which is the input function is used.  

  • The input function message is written that passes in function parameter, that accepts value in the above variables.  
  • In the next step, the print function is used, which prints the above user input values.
You might be interested in
A person is planning a bungee jump from a 40 meter high bridge. Under the bridge is a river with crocodiles, so the person does
Nonamiya [84]

Answer:

a. l = 19.7m, b. 18.55m, c. Impact Force = 3889.84 N

Explanation:

The total energy of the system when the person is at top of the bridge is

Potential energy = mgh, Kinetic energy = 0

The total energy of the  system when the person reaches just above the surface

Potential energy = 0, Kinetic energy = 0, Spring energy = ½ K X2, where k is the spring constant and X is the deflection

Applying conservation of energy

mgh = 0 + 0 + ½ K X²

80 x 9.81 x 40 = ½ (3600/l) X²

31392 = ½ (3600/l) X²

We can also conclude that

l+ X + 1.75 = 40

l + X = 38.25

a. <u>Substitute the value of x from above into the energy conversion expression</u>

31392 = ½ (3600/l)(38.25 - l)²

31392 x 2/3600 = (38.25 + l² – 2l(38.25))/l

17.44l = l2 – 76.5l + 38.25²

l² – 76.5l – 17.44l +1463.0625 = 0

Solving for l we get

L = 19.7

Hence, length of the rope is 19.7m

b. <u>The deflection is calculated by using the relation between l and X</u>

L + X = 38.25

X = 38.25 – 19.7 = 18.55m

c. <u>The impact force is calculated using the impact force formula which relates the impact force with the deflection</u>

F = KX

F = (3600/l) . X

F = (3600/19.7) . (18.55) = 3889.84 N

Thus, the impact force is 3889.84 N

3 0
3 years ago
From what side of the vessel should you never anchor
Pavel [41]

Answer:

Never anchor from the stern as this can cause the boat to swamp.

Explanation:

Brainliest pls

6 0
2 years ago
A driver takes 3.5 s to react to a complex situation while traveling at a speed of 60 mi/h. How far does the vehicle travel befo
victus00 [196]

Answer:

x = 93.8 m.

Explanation:

During the entire the reaction time interval, the vehicle continues moving at the same speed that it was moving, i.e., 60 mi/hr.

In order to calculate the distance in meters, travelled at that speed, it is advisable first to convert the 60 mi/hr to m/seg, as follows:

60 mi/hr = 60*\frac{1hr}{3,600s}*\frac{1,605m}{1mi} = 26.8 m/s

Applying the definition of average velocity, we can solve for Δx, as follows:

Δx = 26.8 m/s* 3.5 s = 93.8 m

7 0
2 years ago
Draw perpendicular lines based on the info in the image.
Over [174]
Wait let me try it…..
5 0
2 years ago
Analyse what effect the building of an airport may have on the decision of how to use an area of land nearby. (6)​
Sonja [21]
An effect might be a customer not wanting to buy it specifically because it’s by an airport, or maybe the customer wants to buy it because it’s right next to the airport, and a lot of people go to the airport so therefore they might go to the building next to the airport.
5 0
3 years ago
Other questions:
  • Q7. A cylindrical rod of 1040 steel originally 15.2 mm (0.60 in.) in diameter is to be cold worked by drawing; the circular cros
    6·1 answer
  • Air is cooled and dehumidified as it flows over the coils of refrigeration system at 100 kPa from 30 ºC and relative humidityof
    14·1 answer
  • 1) Pareto charts are used to: A) identify inspection points in a process. B) outline production schedules. C) organize errors, p
    6·1 answer
  • 3. Suppose you work for this company that evaluates Boolean circuits in exponential time. Since you are very smart, your manager
    12·1 answer
  • I'm bored. I want to talk to you humans! weird. STUPID QUARANTINE!!! So. What are yall up to?
    12·1 answer
  • The Acme tool is aligned to the work with: A. A square B. The eye C. An Acme tool gage D. A center gage
    14·1 answer
  • What are common names assigned to instruction addresses in a PLC program called
    8·1 answer
  • Identify five safety hazards that should be included in the design of the school
    6·1 answer
  • Which of these are not referenced in an assembly?
    5·1 answer
  • Why do the quadrants in coordinate plane go anti-clockwise?.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!