Question: write this in matlab please 2: (a) A fenced enclosure of a rectangle of length L and width 2R, and semicircle of radius R, is

write this in matlab please
2: (a) A fenced enclosure of a rectangle of length L and width 2R, and semicircle of radius R, is to be built to have an area A of 2400 ft?. The cost of the fence is $25 per foot for curved portion and $20 per foot for the straight sides. Use the fminbnd function to determine the values of R and L required to minimize the cost of the fence. [12] (b) The perimeter length L of the following channel can be written in '2erms the depth d and angle 0 as follows: [8] 100 d 2d L = + d tano sino To minimize the cost of the cost of concrete used line the channel, we want to minimize L. Find the values of d and that minimizes this length. If the cost of concrete is $20/ft, determine the minimum cost required to line the channel. Hint: use guess d=20, 0=1 rad 2: (a) A fenced enclosure of a rectangle of length L and width 2R, and semicircle of radius R, is to be built to have an area A of 2400 ft?. The cost of the fence is $25 per foot for curved portion and $20 per foot for the straight sides. Use the fminbnd function to determine the values of R and L required to minimize the cost of the fence. [12] (b) The perimeter length L of the following channel can be written in '2erms the depth d and angle 0 as follows: [8] 100 d 2d L = + d tano sino To minimize the cost of the cost of concrete used line the channel, we want to minimize L. Find the values of d and that minimizes this length. If the cost of concrete is $20/ft, determine the minimum cost required to line the channel. Hint: use guess d=20, 0=1 rad
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
