Solver Perimeter of a Rectangle

Algebra ->  Algebra  -> Rectangles -> Solver Perimeter of a Rectangle      Log On

 Ad: Algebra Solved!™: algebra software solves algebra homework problems with step-by-step help! Ad: Algebrator™ solves your algebra problems and provides step-by-step explanations!

 Geometry: Rectangles Solvers Lessons Answers archive Quiz In Depth

Source code of 'Perimeter of a Rectangle'

This Solver (Perimeter of a Rectangle) was created by by jim_thompson5910(28696)  : View Source, Show, Put on YOUR site
About jim_thompson5910: I charge \$2 a problem (for steps shown) or \$1 a problem for answers only. Email: jim_thompson5910@hotmail.com Website: http://www.freewebs.com/jimthompson5910/home.html

 ==section input Enter the length of the rectangle: *[input length=10] Enter the width of the rectangle: *[input width=4.5] ==section solution perl print " {{{P=2w+2L}}} Start with the general perimeter formula where W is the width and L is the length of the rectangle {{{P=2(\$width)+2(\$length)}}} Plug in {{{w=\$width}}} and {{{L=\$length}}} {{{P=",2*\$width,"+",2*\$length,"}}} Multiply {{{2(\$width)}}} to get {{{",2*\$width,"}}}. Multiply {{{2(\$length)}}} to get {{{",2*\$length,"}}} {{{P=",2*\$width+2*\$length,"}}} Add {{{",2*\$width,"}}} and {{{",2*\$length,"}}} to get {{{",2*\$width+2*\$length,"}}} So the perimeter of the rectangle is ",2*\$width+2*\$length," "; ==section output ==section check angle=40 angle1=50