Question: 2.15 LAB: Using math functions Given three floating-point numbers x, y, and zoutput x to the power of zx to the power of (y to
2.15 LAB: Using math functions Given three floating-point numbers x, y, and zoutput x to the power of zx to the power of (y to the power of 2), the absolute value of (X minus y), and the square root of (x to the power of 2). Output each floating point value with two digits after the decimal point, which can be achieved as follows: print(f' {your_valuel: .2) (your_value2: 2) (your_value3.2) (your_valued : 2}') Ex If the input is 5.0 1.5 3.2 Then the output is 172.47 361.66 3.50 13.13 274179 LAB ACTIVITY 2.15.1 LAB Using math functions 0/10 main.py Load default template... 1 import math 2 Type your code here." 3 x-float(input) 4 y-float(input) 5 z=float(input) 6 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
