Geometry Expressions

Incircle App

We create an app which allows the user to specify the side lengths of a triangle, and which outputs the radius of the incircle.

We use text entry and output.

First draw the triangle and constrain the lengths of its sides.

Picture 1

Now create the incircle, and measure its radius.

Picture 2

When we create the app, we can add a title and some text to the html page. We can specify how the variables will get values - in this case from text input boxes.

Picture 3

Here is the resulting app.