You are hired by an engineering company to develop software that performs advanced geometric calculations. Your new boss asked you to develop an application that allows engineers to calculate the hypotenuse of a right-angled triangle. For this, you need to use the Pythagorean theorem. The application should also allow the user to perform a cylinder volume calculation.

Pythagorean theorem formula:

a2 + b2 = c2

Cylinder volume formula:

Cylinder volume = p * r2 * h

Remember p is equal to 3.14.

* Allow the user to enter the value of "a" and the value of "b" to calculate c.

* Use NumericUpdown controls for both a and b to allow the user to enter the values.

* Use NumericUpdown controls to enter the value of "r" and "h" in the cylinder volume calculation.

* Display the result in a text box and set it as read-only.

* Create a group box with two radio buttons that would allow the user to select which calculation to perform (Pythagorean theorem or cylinder volume).

* Make the Calculate button the Accept button.

* Create a Clear button that will clear the result text box and reset both NumericUpdown controls.

* Create an Exit button.

* Use labels to identify the input and output controls and change the label text value according to the radio button selected.

Pythagorean theorem formula:

a2 + b2 = c2

Cylinder volume formula:

Cylinder volume = p * r2 * h

Remember p is equal to 3.14.

* Allow the user to enter the value of "a" and the value of "b" to calculate c.

* Use NumericUpdown controls for both a and b to allow the user to enter the values.

* Use NumericUpdown controls to enter the value of "r" and "h" in the cylinder volume calculation.

* Display the result in a text box and set it as read-only.

* Create a group box with two radio buttons that would allow the user to select which calculation to perform (Pythagorean theorem or cylinder volume).

* Make the Calculate button the Accept button.

* Create a Clear button that will clear the result text box and reset both NumericUpdown controls.

* Create an Exit button.

* Use labels to identify the input and output controls and change the label text value according to the radio button selected.

## This question was asked on Apr 18, 2010.

### Recently Asked Questions

- For each of the following suggest a part on an aircraft that needs that particular material property: hardness, strength, elasticity, placidity, ductility,

- Most commercial aircraft fuselages are not circular, but an ellipse. How does this affect the calculation of the J value, and will it produce a more rigid

- A twist of 0.03 radians on a shaft equal to the diameter of your car tire, with a G = 65 GPa on a length equal to your height in meters, will it produce a