Question: not sure how to program this in python 2.17 Ch. 2 Lab: Using math functions Write a program that reads in 3 floating-point numbers; x,y,
2.17 Ch. 2 Lab: Using math functions Write a program that reads in 3 floating-point numbers; x,y, and z. Your program should then output x to the power of z, x to the power of ( y. to the power of z ), the absolute value of (x minus y), and the square root of (x to the power of z ). Qutput each floating-point value with two digits after the decimal point, which can be achieved as follows: print( f{ your_value1:,2f\} \( \{\text { your_value2:.2f\} }\{\text { your_value } 3: .2 f\} \text { (your_value4:.2f }\}^{\prime} \) ) When the input is as shown in Figure 1. the output should be as shown in Figure 2 Figure 1: (input)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
