You are on page 1of 10

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION, MUMBAI

A
MINI PROJECT REPORT ON

“SCIENTIFIC CALCULATOR”

SUBMITTED BY
MR. SUDARSHAN SIKCHI
MR. VIJAY SHILWANT
MR. ADITYA SHAMBALE
MR. AJAY RODGE

UNDER NOBLE GUIDANCE OF

PROF ANIL JAWALKAR

Department of
COMPUTER ENGINEERING
Year 2020-2021
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION, MUMBAI

M.B.E. SOCIETY’S
T.B.G. POLYTECHNIC, AMBAJOGAI

DEPARTMENT OF COMPUTER ENGINEERING

CERTIFICATE
This is to certify MR. SUDARSHAN SIKCHI, MR. VIJAY SHILWANT, MR.
ADITYA SHAMBALE, MR. AJAY RODGE Students of T.Y. (COMPUTER
Engineering) have submitted Project report on SCIENTIFIC CALCULATOR
for partial fulfillment of the requirement for the award of the diploma in
Computer Engineering. In this volume we are submitted a satisfactory report on
the project, in the academic year2020-2021.

GUIDE HEAD OF DEPARTMENT PRINCIPAL

PROF ANIL JAWALKAR PROF. ABDUL HALIM PROF.M. B. SHETTI


ACKNOWLEDGEMENT

I express my deep sense of gratitude and indebt ness to my esteemed institute “M.B.E.
Society’s T.B.G. Polytechnic, Ambajogai” which has proved me an opportunity to fulfill
the most cherished desire to reach my goal.

I would like to express my sense of gratitude to my beloved principal, Prof. M. B. Shetti, for
providing the right academic climate at this institution that has made this entire task
appreciable.

I am thank fully to Proff. Abdul Halim Professor and Head of the Department of Computer
Science & Engineering, for giving permission to carry out this project in the college.

I wish to place my grateful thanks to my project guide PROF ANIL JAWALKAR


Lecturer, without whose help and guidance would not have been possible to complete this
project work.

I would like to thank my co-coordinator PROF ANIL JAWALKAR for his helping and
suggestion throughout the project.

Finally, I express my heartfelt thanks to my staff members of my department, who helped me


a lot in the completion of project directly and indirectly within the schedule period.

Cordially

MR. SUDARSHAN SIKCHI


MR. VIJAY SHILWANT
MR. ADITYA SHAMBALE
MR. AJAY RODGE
SCIENTIFIC
CALCULATOR
SCIENTIFIC CALCULATOR
SCIENTIFIC CALCULATOR

ABSTRACT

Design a layout for and program a scientific calculator using MATLAB’s GUIDE
(Graphic User Interface Design Environment). The calculator should include basic
functions as well as advanced functions. We designed an easy to use calculator
using programming techniques from class.
SCIENTIFIC CALCULATOR

INTRODUCTION

The purpose of the project was to design a scientific calculator using MATLAB
GUIDE. The calculator includes many functions common to other scientific
calculators such as sine, cosine, and tangent functions. The calculator layout was
straightforward, while the programming took a bit more thought.
SCIENTIFIC CALCULATOR

RESULTS

The calculator layout took very little time to set up. The GUI (Graphic User
Interface) was a simple drag-and-drop method. The objects, once laid out in the
editor, could be moved around, resized, and manipulated rather easily. Once the
layout was established, we saved the figure and MATLAB automatically generated
the accompanying “m-file” containing the general program code. MATLAB set up
the functions and all we needed to do was program each button. Some functions
were easy to program. Functions like the pi input button and single input functions
such as the ln (natural logarithm) button or the trigonometric functions. Other
buttons and their functions were quite difficult to program. The button that gave us
the biggest problem was the decimal point button. We initially had to settle for a
decimal that shifted to the left through the number. The next problem was that
once we had it append the string properly, you could add multiple decimal places
(see Fig.1 Multiple Decimals below).

Fig. 1: Multiple Decimals


SCIENTIFIC CALCULATOR

Eventually, we inserted conditional statements to evaluate if there was already a


decimal point and ignore the additional attempts to insert another decimal. After
the code had been added in the “m-file,” we went into debugging the full program.
During debugging we had frequent errors, but MATLAB’s editor helped correct
some of these. Correcting these errors helped us learn new functions and
commands. Other errors, such as logic errors, required us to look over the function
in question to see what was going wrong. We used the set and get commands to
pull the variables into the individual functions and assigned them to variables.
Assigning the values to variables made the calculations easier to manipulate. We
kept the algorithms as simple as possible.
SCIENTIFIC CALCULATOR

CONCLUSION

The GUIDE in MATLAB allows users to create GUI’s quickly and efficiently.
The GUI for the GUIDE is simple, but allows for a great deal of customization that
allows for an effective scientific calculator to be created.

You might also like