Statistical Calculator
Task: Write a windows application in Visual Basic to perform functions of standard and statistical calculators.
Description: The standard calculator should work as described in project #1 . The statistical calculator should operate similar to the Windows 7 statistical calculator. The user should be able to go back and forth between the two calculators via the View command. The text box should display the number entered and the calculated result. Button M should display "Nr if data is stored in memory. Button "F-E' should flip number display format between "F" and "E". Data should be displayed in two column list view control. All formula based computations should be performed by a Sub or a Function, and placed in a module. Figure I shows sample screen shot of a statistical calculator. Figure 2 shows the windows 7 statistical calculator.
Caption
|
Type
|
Description
|
C
|
Button
|
Clears the number in the text box
|
CAD
|
Burson
|
Clears all data values
|
Exp
|
Button
|
Use "E" format for number display
|
MC
|
Button
|
Clean the number stored in memory
|
MR
|
Button
|
Recalls the number stored in memory. The number remains in memory
|
MS
|
Button
|
Stores the displayed number in memcn•
|
M.
|
Button
|
Adds the displayed number to the number in memory
|
M-
|
Button
|
Subtracts the displayed number from the number in memory
|
0-9
|
Button
|
Enters digits 0-9 and "."
|
+1-
|
Button
|
Changes the sign of the displayed number
|
Add
|
Button
|
Add the displayed number to the data array (and clear the display)
|
F-E
|
Button
|
Switch between /- and "E" format for number display
|
Y
|
Button
|
Compute and display the average of data values
|
Ix
|
Button
|
Compute and display the sum of data values
|
x2
|
Button
|
Compute and display the average of data values squared
|
EX
|
Button
|
Compute and display the sum of data values squared
|
Cin
|
Button
|
Compute and display population standard deviation
|
;4
|
Button
|
Compute and display sample standard deviation
|
4
|
Button
|
Back arrow removes the last character typed
|
M
|
Button
|
Display "It if data in memory
|
Data
|
List view
|
Display data values in two columns (number. value)
|
View
|
Menu
|
Display Standard and Statistical choice
|