Project Report
On
"Scientific Calculator"
Submitted to Punjab Technical University, Jalandhar
In partial fulfillment of the
requirements
For the degree of
Bachelor of Computer Applications
(Session 2021-2024)
Submitted To: Ms. Ishita Malhotra
Submitted By: Saurav
` PUNJAB COLLEGE OF TECHNICAL EDUCATION
BADDOWAL (LUDHIANA)
Declaration
I swore that the work being presented by me in the dissertation titled
“Scientific Calculator” in partial requirements for the fulfillment of degree of
Bachelor of Computer Applications (BCA) to be submitted in Punjab
College of Technical Education (PCTE), Baddowal (Ludhiana) affiliated
to PTU, Jalandhar is authentic record of my own work carried out by me in
BCA under the supervision of (Ishita Malhotra Mam, PCTE), Ludhiana.
Saurav
Acknowledgement
On the very outset I would like to thank the almighty GOD for showering his
blessing & providing me with the courage, motivation & strength to complete
my project.
Every seminar work demands a lot of hard work, time, patience, and
concentration. While working on this seminar, apart from these aspects, I
have developed necessary skills and an attitude, which are always required
in a professional field. I am thankful to all those who helped me in completing
this project.
I express my deep sense of gratitude & indebtedness towards my respected
Project In-charge (Neha Sharma), other faculty members of PCTE from
whom I have learnt ‘Android Studio’ without their guidance I would have
found it difficult to undertake the project work. I would like to thank them
for their ever available, unconditional help & guidance that they made
available throughout the project work.
I would also like to acknowledge the encouraging attitude of my friends &
other staff members of P.C.T.E family that helped me to complete the
project work.
Saurav
Certificate from organization
This is to certify that format and quality of presentation of project report submitted by
As one of the requirements for the degree of
Bachelor of Computer Applications
is acceptable to
Department of
Information
Technology, PCTE,
Ludhiana
Project In charge
(_Ms. Ishita Malhotra )
PCTE, Ludhiana
Table of Contents
Serial No Content Page No
1 Introduction 1
2 Purpose and Objective 2
3 Development tools and 2
technologies
4 Key features and functionality 3
5 Main code of the project 4-5
6 Outputs of the frontend 6
Introduction
A scientific calculator developed in Android Studio is a mobile application designed to provide
advanced mathematical functionality beyond basic arithmetic operations. It leverages the
capabilities of Android devices to offer users a comprehensive tool for performing complex
calculations efficiently and conveniently on the go.
The app will be developed using Android Studio, Java programming language, and XML for UI
design. It leverages the Android SDK and follows best practices in mobile app development to
ensure optimal performance and usability.
This project aims to deliver an intuitive and efficient scientific calculator app that meets the
diverse mathematical needs of its users on Android platforms.
The primary goal of this project is to create a feature-rich scientific calculator that goes beyond
basic arithmetic operations. The app aims to incorporate a wide range of advanced mathematical
functions commonly used in scientific and engineering fields, including trigonometric,
logarithmic, and exponential functions.
1
Purpose and Objective
The primary purpose of developing a scientific calculator app in Android Studio is to provide
users with a comprehensive tool that goes beyond basic arithmetic operations. The app aims to
include advanced mathematical functions commonly found in scientific calculators, such as
trigonometric functions (sine, cosine, tangent), logarithmic functions (logarithm, natural
logarithm), exponential functions, factorial calculations, and more.
The key objectives of this project include:
Implementing a user-friendly interface that mimics the layout and functionality of
traditional scientific calculators.
Incorporating a wide range of mathematical functions and operations to cater to the needs
of students, engineers, scientists, and professionals.
Ensuring accurate and efficient calculations, with support for complex expressions and
mathematical formulas.
Providing additional features like memory storage, history log, customizable settings, and
intuitive user interactions.
Development Tools and Technologies
Android Studio: The official Integrated Development Environment (IDE) for Android
app development, providing tools for coding, debugging, and testing.
Java Programming Language: Used to implement the app's logic, handle user
interactions, and perform mathematical computations.
XML: Markup language used for designing the app's user interface layout and defining
UI elements.
Android SDK (Software Development Kit): Contains libraries, APIs, and tools
necessary for developing Android applications.
2
Key Features and Functionality
Basic Arithmetic Operations: The scientific calculator supports standard operations
such as addition (+), subtraction (-), multiplication (*), and division (/) for handling
numerical computations.
Scientific Functions: It includes a wide range of scientific functions commonly used in
mathematics, physics, engineering, and other disciplines. These functions may include:
Trigonometric functions: sine (sin), cosine (cos), tangent (tan), inverse
trigonometric functions (asin, acos, atan).
Logarithmic functions: logarithm (log), natural logarithm (ln).
Exponential functions: exponential (e^x), power (^), square root (√), factorial (!),
and more.
Memory Operations: The calculator allows users to store intermediate results in
memory, recall stored values, and clear memory as needed during calculations.
Expression Parsing: It supports the parsing and evaluation of complex mathematical
expressions, including the use of parentheses for specifying order of operations.
User Interface (UI) Design: The UI is designed to be intuitive and user-friendly,
featuring a layout that mimics traditional scientific calculators with buttons for digits,
operators, and function keys.
History Log: The app may include a history log feature to display and recall previous
calculations, allowing users to review or reuse past results.
Customizable Settings: Users can customize settings such as angle units (degrees or
radians), number formatting, and display preferences according to their preferences.
3
Main Code of the Project
4
5
Outputs of Frontend