Find Dimensions of Rectangle

greatwhiteshark said:
Find the dimensions of a rectangle whose perimeter is 26 meters and whose area is 40 square meters?
Develop an algorithm of attack. You've seen my version?

Name stuff.
Name what?
What does it want?
"Find the dimensions"
Name that.

L = Length of Rectangle
W = Width of Rectangle

What do we know? (I don't even care what else the problem statement says, at this point. I'm just writing down stuff I think I might need.)

Stuff I know about Rectangles:
L*W = Area of Rectangle
2*L + 2*W = Perimeter of Rectangle

What are we told?

"perimeter is 26 meters and ... area is 40 square meters"

Oh, then:

L*W = 40 m<sup>2</sup>
2*L + 2*W = 26 m

That's enough. Solve for L and W. Check your results.
 
okay but....

This is what you typed:

What are we told?

"perimeter is 26 meters and ... area is 40 square meters"

Oh, then:

L*W = 20 m^2
2*L + 2*W = 26 m

Why did you type 20 m^2 when the area is 40^2 m? I am lost.
 
Typos are not an OFFICIAL part of the algorithm.

No need to be lost. Just tell me I'm wrong. I can take it.

Repaired above. Thanks for the review.
 
Top