Solver To calculate area of rhombus
Algebra
->
Parallelograms
-> Solver To calculate area of rhombus
Log On
Geometry: Parallelograms
Geometry
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'To calculate area of rhombus'
This Solver (To calculate area of rhombus)
was created by by
chillaks(0)
:
View Source
,
Show
,
Put on YOUR site
About chillaks
:
am a freelancer
==section input The area of Rhombus when the length of two diagonals are *[input d1=5] and *[input d2=3] is. ==section solution perl if($d1<=0 || $d2<=0) { print " Please enter the value greater than 0 to calculate area of rhombus"; } else{ my $area=($d1+$d2)/2; print " The area of <A HREF=http://www.algebra.com/algebra/homework/Rectangles/Different-between-parallelogram-rectangle-square-rhombus-and-trapezoid.lesson>Rhombus</A> The area of Rhombus is given by formula {{{Area=(diagonal1+diagona2)/2}}} {{{Area=($d1+$d2)/2=$area}}} Hence, The area of a Rhombus is $area. "; } ==section output area, ==section check d1=12 d2=6 area=9