Scientific Calculator C++ Workshop Project Group Members: Mary Aveline L.Germar Jade Mark L. Ifurung...

Post on 05-Jan-2016

220 views 0 download

Transcript of Scientific Calculator C++ Workshop Project Group Members: Mary Aveline L.Germar Jade Mark L. Ifurung...

Scientific CalculatorScientific Calculator C++ Workshop ProjectC++ Workshop Project

Group Members:Mary Aveline L.GermarJade Mark L. IfurungMaria Christine C. UretaMa. Joyce A. VillalobosMa. Jocelia T. Aurelio

SCIENTIFIC CALCULATOR

OUTLINE

I. General FeaturesII. GUIIII. Button SequencingIV. Sample Case GuideV. Error MessagesVI. DEMO

General Features Ease of use

Displays the current expression Enables the saving of a number to the

memory

Early error prevention and detection Disables buttons that are ineligible for a

logical mathematical expression Computes the expression at certain check-

points

Calculator GUI

Button Sequencing

Sample Case Guide

AFTER

Pos 1-10 11 12 13 14-18 19 20 21-32

BEFORE

Pos Char [Nos.] . +/- = [Ops] ( ) [Func]

33 ^ D D D D

34 ! D D D D D

35 pi D D D

36 CA D D D

37 DEL \** \** \** \** \** \**

38 M+ D

39 MR D D D

40 M-

Error Messages

1. Negative Function

A. Occurs when computing the square root

[sqrt] of a negative number.

B. Occurs when computing the factorial [!] of

a negative number.

2. Modulo Range

A. Occurs when the divisor or dividend is a

negative number.

Error Messages 3. Trigonometric Error A. Occurs when computing the arcsine [asin] of a number greater than 1 or less than -1.

B. Occurs when computing the arccosine [acos] of a number greater than 1 or less than -1.

4. Division by Zero A. Occurs when a number is divided by zero.

Error Messages

5. Logarithm Error

A. Occurs when computing the logarithm

[log] of a non-positive number.

B. Occurs when computing the natural

logarithm [ln] of a non-positive number.

6. Out of Range Error

A. Occurs when the final answer is greater

than 10^11.

DEMO

THANK YOU!