Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python Problem 1 - Formula maker v1 30 points Given your success with the converter program, your employer has decided to task you with a

python image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Problem 1 - Formula maker v1 30 points Given your success with the converter program, your employer has decided to task you with a more difficult problem. The company needs a utility program that non- programmers can use to calculate different formulas. Your program will ask the user for what formula to use, or will list all of the formulas possible by typing help. Once the formula has been entered and the result computed. Finally, your program must be in a menu driven format Formulas to implement 1)Distance formula 2Coin Change 3Quit THE DISTANCE FORMULA d=1(13 - x) +(9; - ;) Note Need a Menu for this program! Function when all possible relifchei required. How would you desien each solution en paper Contes 15131000 > 7 8 9 Rock o P ] 7 K entes Examples of program in action: Scenario 1: Which formula do you want to use (1,2,3 or quit) >>> 1 Quadratic Formular: Enter point I x? O Quadratic Formular Enter point I y? 0 Quadratic Formular Enter point 2 x? 2 Quadratic Formular Enter point 2 y? 0 The distance is 2.0 (EXIT PROGRAM) You are one of the two high ranking regional Managers at Kroger and wondered how much money if I were to exchange the number of coins you have in your pocket to the four categories Q.D.NP You then tasked yourself to write this interesting math program in python to decipher the number of coins you will get. Be sure that use input can be massive but never Negative! Note: Use Functions when all possible. Il-elif-eke is required. Examples of program in action: Scenario 1: Which formula do you want to use (1,2,3 or quit) >>> 1 Quadratic Formular: Enter point 1 x? 0 Quadratic Formular Enter point 1 y? 0 Quadratic Formular Enter point 2 x? 2 a Quadratic Formular Enter point 2 y? 0 The distance is: 2.0 (EXIT PROGRAM) You are one of the two high ranking regional Managers at Kroger and wondered how much money if i were to exchange the number of coins you have in your pocket to the four categories O.DNP You then tasked yourself to write this interesting math program in python to decipher the number of coins you will get. Be sure that use input can be massive but never Negative! Examples of program in action: Scenario 1: Which formula do you want to use (1,2,3 or quit) >>> 1 Quadratic Formular: Enter point 1 x? 0 Quadratic Formular Enter point 1 y? 0 Quadratic Formular Enter point 2 x? 2 Quadratic Formular Enter point 2 y? 0 The distance is: 2.0 (EXIT PROGRAM) You are one of the two high ranking regional Managers at Kroger and wondered how much money if I were to exchange the number of coins you have in your pocket to the four categories Q.D.N.P. You then tasked yourself to write this interesting math program in python to decipher the number of coins you will get. Be sure that use input can be massive but never Negative! Note: Use Functions when all possible. If-elif-else is required. Problem 1 - Formula maker v1 30 points Given your success with the converter program, your employer has decided to task you with a more difficult problem. The company needs a utility program that non- programmers can use to calculate different formulas. Your program will ask the user for what formula to use, or will list all of the formulas possible by typing help. Once the formula has been entered and the result computed. Finally, your program must be in a menu driven format Formulas to implement 1)Distance formula 2Coin Change 3Quit THE DISTANCE FORMULA d=1(13 - x) +(9; - ;) Note Need a Menu for this program! Function when all possible relifchei required. How would you desien each solution en paper Contes 15131000 > 7 8 9 Rock o P ] 7 K entes Examples of program in action: Scenario 1: Which formula do you want to use (1,2,3 or quit) >>> 1 Quadratic Formular: Enter point I x? O Quadratic Formular Enter point I y? 0 Quadratic Formular Enter point 2 x? 2 Quadratic Formular Enter point 2 y? 0 The distance is 2.0 (EXIT PROGRAM) You are one of the two high ranking regional Managers at Kroger and wondered how much money if I were to exchange the number of coins you have in your pocket to the four categories Q.D.NP You then tasked yourself to write this interesting math program in python to decipher the number of coins you will get. Be sure that use input can be massive but never Negative! Note: Use Functions when all possible. Il-elif-eke is required. Examples of program in action: Scenario 1: Which formula do you want to use (1,2,3 or quit) >>> 1 Quadratic Formular: Enter point 1 x? 0 Quadratic Formular Enter point 1 y? 0 Quadratic Formular Enter point 2 x? 2 a Quadratic Formular Enter point 2 y? 0 The distance is: 2.0 (EXIT PROGRAM) You are one of the two high ranking regional Managers at Kroger and wondered how much money if i were to exchange the number of coins you have in your pocket to the four categories O.DNP You then tasked yourself to write this interesting math program in python to decipher the number of coins you will get. Be sure that use input can be massive but never Negative! Examples of program in action: Scenario 1: Which formula do you want to use (1,2,3 or quit) >>> 1 Quadratic Formular: Enter point 1 x? 0 Quadratic Formular Enter point 1 y? 0 Quadratic Formular Enter point 2 x? 2 Quadratic Formular Enter point 2 y? 0 The distance is: 2.0 (EXIT PROGRAM) You are one of the two high ranking regional Managers at Kroger and wondered how much money if I were to exchange the number of coins you have in your pocket to the four categories Q.D.N.P. You then tasked yourself to write this interesting math program in python to decipher the number of coins you will get. Be sure that use input can be massive but never Negative! Note: Use Functions when all possible. If-elif-else is required

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions

Question

What is co-branding? Is it effective? Discuss.

Answered: 1 week ago