Answered

A programmer wants to display how the shape of a rectangle with a fixed perimeter of 300 inches can be changed by varying the rectangle's length and width. Define a function g that determines the area (in square inches) of this rectangle given the rectangle's length / (in inches). tPreview syntax error Box 1: Enter your answer as an expression. Example: 3xA2+1, x/5, (a+b/c Be sure your variables match those in the question Box 2: Enter your answer as an expression. Example: 3xA2+1, x/5, (a+b)c Be sure your variables match those in the question

Answer :

If the rectangle has a fixed width of 300, it means that

[tex]2(l+w)=300 \iff l+w=150 \iff w=150-l[/tex]

where [tex]w[/tex] and [tex]l[/tex] are width and length, respetively.

So given the length [tex]l[/tex], the are would be

[tex]l\times w = l\times (150-l)=-l^2+150l[/tex]

Other Questions