You are on page 1of 19

A mini project presentation on

SCIENTIFIC CALCULATOR
Batch No: MIP19CS18 Under the Guidance of

Thakur Sachin Singh (160717733311) Dr.Ch.A.Nadiu


K.Kaushik (160717733052) Professor , CSE
Shuaib Ahmed (160716733025)
Project Coordinators

Mr.R.Sandeep
Assistant Professor, CSE
Mrs.P.M.Tulasi
Assistant Professor, CSE
ABSTRACT
•C++ program to make a scientific calculator.

• A scientific calculator can be made using a C++ program


which is able to add, subtract, multiply and divide, sin, cos,
tan, log, Gauss Jordan two operands entered by the user.

• The switch and break statement is used to create a


calculator.

• The Gauss Jordan rule is used to analyze different systems


of linear simultaneous equations that arise in engineering
and science
CONTENTS
• Introduction
• System Study
• System Design
• Implementation
• Testing
• Conclusion
• References
INTRODUCTION

• Accordingly, this project aims to develop source code in the


form of a computer program i.e C++ that a scientific calculator
could use to compute functions such as square root, the
exponential, and sine functions and Gauss-Jordon Elimination
method etc.
• Check the arithmetic operations are working fine- +, -, /, * etc
• Verify that BODMAS is applied in case of complex queries
and correct result is returned
• Verify that calculator gives correct result in case of operations
containing decimal numbers
System Analysis
• Existing Systems
• Proposed Systems
• Software and Hardware Requirements
EXISTING SYSTEM
• The project eliminates the paper work, human faults,
manual delay and speeds up the process.

• Easy calculating of tedious mathematical problems easy to


retrieval of errors and it will also be of a good assistance to
any researcher on these topics.
PROPOSED SYSTEM

Problem Statement was to design a module :


• Which is User Friendly.
• Which will restrict the user from accessing other users
data.
• Which will help the administrator to handle all the
changes.
• The System will be completely menu driven so that the
users will have no problems in using all the options.
• The system will be efficient and fast in response.
• The system will be customized according to the needs.
SYSTEM REQUIREMENTS
Hardware requirements:
 RAM: 2GB(4GB + recommended)
 Graphic card: basic GPU
 Hard disk: 1GB free space(or above)
 Display resolution:1024x768 or higher
 Input device: Standard keyboard

Software requirements:
 Operating system: Windows 7 or above
 Processor : Intel Pentium or compatible, 1.6GHz
 Compiler: GCC
 IDE: Turbo C++
 Language: C++
BLOCK DIAGRAM

Input

Calculator
Functioning Unit

Output
User
System Design
• Flow Chart .
• Implementation Details .
• Algorithm for Guass Jordon Elimination
Method .
IMPLEMENTATION
Power: Takes two numbers as inputs to the function and outputs the calculated exponent
value with respect to the base

Square: Takes one numeric value as input and outputs the square result of it

Sin: Takes one numeric value as input and outputs the Sine result of it

Cos: Takes one numeric value as input and outputs the Cosine result of it

Tan: Takes one numeric value as input and outputs the Tangential result of it

Log: Takes one numeric value as input and outputs the Log result of it

Base Log: Takes one numeric value as input and outputs the Base 10 Log result of it

Gauss Jordan: Takes number of equations and their coefficients as input and outputs the
eliminated Gauss-Jordan result of it
FLOWCHART
START

Welcome to main menu calculator

Enter
your
choice
No Yes

No calculator Do your any task

Trignometery(sin,cos) Guass-Jordon elimination Inverse (1/x)

Do you
want to
YES continue
NO
Switch off calculator

STOP
A: Algorithm
1. User selects function to use by the
Scientific Calculator core
2. Then user submits input
3. Program calculates the result as output to
the user
4. User chooses to exit
5. Program ends
Gauss Jordan Method Algorithm:
1.Start
2.Read the order of the matrix ‘n’ and read the coefficients of the linear equations.
3.Do for k=1 to n
Do for l=k+1 to n+1
a[k][l] = a[k][l] / a[k][k]
End for l
Set a[k][k] = 1
Do for i=1 to n
if (i not equal to k) then,
Do for j=k+1 to n+1
a[i][j] = a[i][j] – (a[k][j] * a[i][k])
End for j
End for i
End for k
4.Do for m=1 to n
x[m] = a[m][n+1]
Display x[m]
End for m
5.Stop
CONCLUSION AND FUTURE SCOPE

• The Scientific Calculator provides a comprehensive interface to


infer large calculations based on the input given by the user.
• Our experimental study proves that our Scientific Calculator is a
practical tool to have in computers of students pursuing streams
in Science and Engineering fields.
• This project can be extended by adding few more scientific
functionalities for further expansion.
TESTING

Software testing is the process of executing a


program or application with an intent of finding
errors.
We are testing this project using:
1] Unit Testing
2] Integration Testing
REFERENCES

[1] Morton Rosenstein, “Computing with the Scientific Calculator” in 1st Edition, 1986 .

[2] Susan Brendel, Eugene McDevitt, “Using a Scientific Calculator” 1996 .

[3] O. Knill “Matrices and Gauss-Jordan” in Math 21b.

[4] Louis Baker, “C Mathematical Function Handbook”.


QUERIES ?
THANK YOU