14. A 12-ft (144-in.) wire is cut into eight pieces which are welded together to form a...

Question:

14. 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

. 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.

Tb = 49.161lnp + 44.932 Tb 2 in.

a h

2 in.

2 in.

a b

h 4.7 Problems 127

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: