Question: this is written as a matlab code for this question the max values of a b and h are supposed to be found to create


Assessment Desktop A - 4 A 639 PM 2050 A 12 ft (144 in.) wire is cut into eight pieces which are welded together to form a pyramid as shown, such that in the rectangular base b 1.9a. Write a MATLAB program that determines the dimensions a and b such that the volume of the pyramid will be as large as possible. In the program define a vector a with values ranging from 4 to 14 in with increments of 0.01 in. Use this vector for calculating the corresponding values of b, h and the volume. Then use MATLAB's built-in function max to find the dimensions of a and b that correspond to the pyramid with the largest volume. Assessment: Submit (Atten What is the maximum volume [Vmax]? What is the address of this maximum volume [ij? What is the corresponding value of a for this maximum volume (amax]? What is the corresponding value of b for this maximum volume [bmax]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
