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.
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.
Now create the incircle, and measure its radius.
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.
Here is the resulting app.