160 likes | 249 Views
Supervisor: Assaf Solomovitch. Mobili -Calculator Project presentation. Saar Nakibli Shahar Ben Ezra. Software Systems Lab Department of Electrical Engineering Technion - Israel Institute of Technology. Outline. Description Project Goals Class Diagram Scientific Calculator
E N D
Supervisor:AssafSolomovitch Mobili-CalculatorProject presentation Saar Nakibli Shahar Ben Ezra Software Systems Lab Department of Electrical Engineering Technion - Israel Institute of Technology
Outline • Description • Project Goals • Class Diagram • Scientific Calculator • Matrix Calculator • Base Convertor • Target Audience • Working Environment • Project Extensions
Description • Mathematical tool for your mobile phone • Scientific Calculator • Matrices operations • Base convertor • Simple yet complex • User friendly
Project Goals • Learning the Java language and the J2ME components • Learning OOP concepts • Interoperability of computer-mobile device • Gain experienced with building mobile device applications • Build an efficient tool for first year students
Class Diagram FormBaseCalculator SoundPlayer FormAbout CalculatorMidlet FormSciCalculator FormMatrixCalculator FormOperSelector Expression Matrix
Scientific Calculator • This is the core of our application • Convenient interface – User friendly • User can choose operations in operation window • + - * / ( ) ^ • sin cos tan • exp lan • ANS • Enable/Disable sounds • reads out loud the result as a number! • Expression parser algorithm • Described next…
Factor Factor Term Expression Factor Expression Parser Algorithm Expression :: <Term> <Expression> + <Term> <Expression> - <Term> Term :: <Factor> <Term> * <Factor> <Term> / <Factor> <Term> ^ <Factor> Factor :: < NUMBER> ( <Expression> ) <FUNC>( <Expression> ) 4+sin(50*2-10)
Matrix Calculator • Input Matrix: • Any size you want • Syntax rules! • Operations: • transpose • Inverse (only for square matrix) • Determinant (only for square matrix) • All Matrix operations were developed by us. • Java doesn't know matrix operations
Base Convertor Bin/Dec/Hex • Converts numbers between bases. • Utilizes the “ItemStateListener” interface. Bin/Dec/Hex
Target Audience • Freshmen engineering students. • Students at general • Visually impaired people • Our calculator can talk!
Working Environment • First Priority: Nokia 6120 • Any mobile phone with JVM that supports: • MIDP 2.0 • CLDC 1.1
Project Extensions • Add more calculus features • Equation solver • Function plotter • Derivatives & integrals • Upgrade to “Visually impaired Calculator” • User need not to see the screen. • Every operation is read out loud. • Support other working environments • All Nokia phones • All mobile phones
Thank you • Thank you for your Attention Happy Hanukah!