1. Volume of a cube is side times side times side. Please write a function, cube_volume to calculate volume of two cubes with following side lengths. i) cube_a, side_length = 25 ii) cube_b,...

File


1. Volume of a cube is side times side times side. Please write a function, cube_volume to calculate volume of two cubes with following side lengths. i) cube_a, side_length = 25 ii) cube_b, side_length = 52 2. You have a rectangle with length, l and width, w. Please write a function , calculate_perimeter to calculate perimeter of that rectangle. Apply your functions for the following two rectangle. (perimeter = 2(length + width)) i) rectangle_1, l = 43, w = 34 ii) rectangle_2, l = 65, w = 56 3. You have a square of length, x. Please write a function, area_square to calculate the area of a square for two squares. i) square_a, x = 79 ii) square_b, x = 97
Aug 28, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here