CYB/130 Week 1 Python LAB 2.32: Using math functions

Availability: In stock

Regular Price: $8.00

Special Price: $5.00

OR

CYB130 2.32.1 LAB Using math functions

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

Quick Overview

CYB/130 Week 1 Python LAB 2.32: Using math functions
Given three floating-point numbers x, y, and z, 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).


Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('{:.2f} {:.2f} {:.2f} {:.2f}'.format(your_value1, your_value2, your_value3, your_value4))


Ex: If the input is:
5.0
1.5
3.2
Then the output is:
172.47 361.66 3.50 13.13

Regular Price: $8.00

Special Price: $5.00

Details

CYB/130 Week 1 Python LAB 2.32: Using math functions
Given three floating-point numbers x, y, and z, 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).

Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('{:.2f} {:.2f} {:.2f} {:.2f}'.format(your_value1, your_value2, your_value3, your_value4))

Ex: If the input is:
5.0
1.5
3.2
Then the output is:
172.47 361.66 3.50 13.13

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.