The question is asking: Ask for a horizontal multiplier, a vertical multiplier, and a constant from the user (as floats, or real numbers). There should be three inputs in the code. So,    horiz_mult = float(input("horizontal multiplier: "))    vert_mult = float(input("vertical multiplier: "))    constant = float(input("constant: ")) Example output for values (-1, 0.5, 5) Example output for values (1, -2, -5)

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter21: Simulation
Section21.5: Simulations With Continuous Random Variables
Problem 7P
icon
Related questions
Question

The question is asking: Ask for a horizontal multiplier, a vertical multiplier, and a constant from the user (as floats, or real numbers). There should be three inputs in the code.

So,

   horiz_mult = float(input("horizontal multiplier: "))
   vert_mult = float(input("vertical multiplier: "))
   constant = float(input("constant: "))

Example output for values (-1, 0.5, 5)

Example output for values (1, -2, -5)

 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole