Question: Question5. (4 points) Write a function logFun(x) that takes as input a positive number x and solves the following equation for y and returns y.

 Question5. (4 points) Write a function logFun(x) that takes as input

Question5. (4 points) Write a function logFun(x) that takes as input a positive number x and solves the following equation for y and returns y. The equation is 104y=x+3. Question6. (4 points) Suppose that a cashier owes a customer some change and that the cashier only has coins ie. quarters, dimes, nickels and pennies ( 25 cent, 10 cent, 5 cent, and 1 cent coins). Write a Python function named min_coins that determines the minimum number of coins that the cashier can return. The function doesn't take any parameter, reads the dollar amount from the keyboard, calculates the minimum number of coins owed to the customer and returns it. Use the following algorithm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!