Question: In MATLAB please provide the code to solve the following problems using MATLAB. For loops and functions allowed. please comment thought process Problem 3 (3

In MATLAB please provide the code to solve the following problems using MATLAB. For loops and functions allowed. please comment thought process

In MATLAB please provide the code to solve the following problems using

Problem 3 (3 points) A fence enclosure consists of a rectangle of length L and two semicircles of radius R, as shown in the figure below. The enclosure is to be built to have area of 45000 ft2. The cost of the fence is $60 per foot for the curved portion and $40 per foot for the straight sides. Use the fminbnd function to determine the values of R and L required to minimize the total cost of the fence. Also calculate the minimum cost. Problem4 (3 points) You are asked to design a paper cup capable of holding 8 ounces of water (15 cubic inches- this is volume) Find the value of radius r that minimizes the area A for a cup with 15 cubic inches of full capacity. Please add your function definition in the comments in case your solution uses a user-defined function. Area of a cone Trvr2 +h2 Volume of a cone - (u*h)/3 Problem 3 (3 points) A fence enclosure consists of a rectangle of length L and two semicircles of radius R, as shown in the figure below. The enclosure is to be built to have area of 45000 ft2. The cost of the fence is $60 per foot for the curved portion and $40 per foot for the straight sides. Use the fminbnd function to determine the values of R and L required to minimize the total cost of the fence. Also calculate the minimum cost. Problem4 (3 points) You are asked to design a paper cup capable of holding 8 ounces of water (15 cubic inches- this is volume) Find the value of radius r that minimizes the area A for a cup with 15 cubic inches of full capacity. Please add your function definition in the comments in case your solution uses a user-defined function. Area of a cone Trvr2 +h2 Volume of a cone - (u*h)/3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!