Rectangle Calculation 

A rectangle is a simple geometric shape and has the following characteristics 

It has four sides and four corners

All corners are rectangular

The opposite sides are parallel and have the same length

Both diagonals are the same length

Rectangle Properties 

a 
a = A / b 

b 
b = A / a 

A 
A = a · b 

P 
P = (2 · a) + (2 · b) 

d 
d = √a² + b² 

Example with the RedCrab Calculator 
 For the calculation, the object s of the class Rectangle is used



Advertisement


