Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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)/3Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started