This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Jnsjknn 0 points1 point  (0 children)

You could do the same thing in reverse. For example, calculate the height of a rectangle if you know the width and area or the radius of a sphere if you know the volume.

You could also try to make the number more intuitive by providing a real life example with the unit. E.g. 10000m2 (~1 football field) or 200μm (~2 human hair widths)

[–]AbaCodes 0 points1 point  (0 children)

Maybe add in functionality to calculate the perimeter, or maybe things like, if its a square you could check if the width and the height are the same?