Answered step by step
Verified Expert Solution
Question
1 Approved Answer
O solutions submitted (max: Unlimited) A fenced enclosure consists of a rectangle of length Labutted to a semicircle of radius R. see figure above. The
O solutions submitted (max: Unlimited) A fenced enclosure consists of a rectangle of length Labutted to a semicircle of radius R. see figure above. The enclosure is to be built to have an area A of 1800 / The cost of the fence is $45/t for the curved section and $35/t for the straight sides. You are asked to 1. Create the length vector from 0 to 100 with increment of 5. 2. Compute the radii R for given area 3. Compute the cost (use variable cost). 4. Write a script to generate a plot of cost vs. L (L is on the x-axis and cost is on the y-axis). Dont forget to add x label, y label and title Hint: If you don't know where to start with pick a number for longth, and try to solve this problem on paper. Programming will follow the same logic and steps % Fence enclosure % Given info Create the length vector . Compute radii for given area Compute the cost - % plot
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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