Purchase Solution

VB.NET Visual Basic Application to Calculate Area and Volume

Not what you're looking for?

Ask Custom Question

You have been hired by an engineering company to develop software to perform advanced geometric calculation. Your new boss asked you to develop an application that allows engineers to calculate the surface area and the volume of a sphere. For this, you will need to use the following formulas.

Surface Area p = 4r2
Volume = 4/3 p r3

Remember p is equal to 3.14.

Allow the user to enter one value in the application (i.e., the radius value).
Use NumericUpdown controls to allow the user to enter the values.
Display the result in a text box and set it as read-only.
Make the Calculate button the Accept button.
Create a Clear button to clear the result text box and reset both NumericUpdown controls.
Create an Exit button.
Use labels to identify the input and output controls.
Create a radio button group that will allow the user to choose which calculation to perform in the application (surface area or volume).
Use a group box to enclose the radio buttons.

Purchase this Solution

Solution Summary

Visual Basic source code and form based application to calculate the surface area and the volume of a sphere.

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.