Question: A fence around a field is shaped as shown in Figure P12. It consists of a rectangle of length L and width W, and a

A fence around a field is shaped as shown in Figure P12. It consists of a rectangle of length L and width W, and a right triangle that is symmetrical about the central horizontal axis of the rectangle. Suppose the width W is known (in meters) and the enclosed area A is known (in square meters). Write a user-defined function le with W and A as inputs. The outputs are the length L required so that the enclosed area is A and the total length of fence required. Test your function for the values W = 6 m and A = 80 m2.


Figure P12.

 L D W

L D W

Step by Step Solution

3.41 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

function L TL fenceWA Idea the total area is dependen... View full answer

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 Introduction Mechanical Engineering Questions!