1. A square-based pyramid has the volume V. If the vertical height is H (the normal distance from the square base to the
Posted: Fri Jul 08, 2022 6:17 am
1. A square-based pyramid has the volume V. If the vertical height is H (the normal distance from the square base to the point), write a MATLAB function that: • has V and H as input arguments • calculates the length of the side of the square (S) • has S as an output argument Write MATLAB code that tests the function for the values: 1. V = 10 m³ and H = 2 m. 2. V = 2.586×106 m³ and H = 146.6 m (the original dimensions of the Great Pyramid of Giza).