Welcome to AssignmentCache!

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

Availability: In stock

$8.00

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

CYB130 2.32.1 LAB Using math functions

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

  • CYB130 2.32.1 LAB Using math functions
$8.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

Additional Information

Special Price $3.00

Product Tags

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

[profiler]
Memory usage: real: 18350080, emalloc: 18022688
Code ProfilerTimeCntEmallocRealMem