Oop Scintific Report
Oop Scintific Report
A STUDY ON:
Scientific Calculator
MICRO PROJECT REPORT
UNDER THE
GUIFDANCE OF
MRS.TEJAL BHOIR
MUMBAI
CERTIFICATE
This To Certificate That Tayade Vivek Kishor Roll No. 226 Of Third
Semister Of Information Technology Diploma Programme In Engineering And
Technology At Shivajirao S. Jondhale Polytechnic Asangoan Has Complete The
Micro Project Satisfactorily In The Subject Dbms In The Acadamic Year 2024-
2025 As Per The Msbte Prescribed Curriculum Of “K” Scheme
MUMBAI
CERTIFICATE
MUMBAI
CERTIFICATE
MUMBAI
CERTIFICATE
Scientific
Calculator
TABLE OF CONTENTS
1.Introduction
2.Basic function
3.Proposed system
a. Description
b. System requirements
4.System Design
5.Source code
6.Testing
INTRODUCTION
Scientific Calculator :
The calculator was written by Rolf Howarth in early 1996.
BASIC FUNCTIONS
Addition
The addition (sum function) is used by clicking on the "+" button or using the keyboard. The
function results in a+b.
Subtraction
The subtraction (minus function) is used by clicking on the "-" button or using the keyboard.
Multiplication
The multiplication (times function) is used by clicking on the "x" button or using the keyboard
"*" key. The function results in a*b.
Division
The division (divide function) is used by clicking on the "/" button or using the keyboard "/" key.
The function results in a/b.
Sign
The sign key (negative key) is used by clicking on the "(-)" button. The function results in -1*x.
Square
The square function is used by clicking on the "x^2" button or type "^2". The function results in
x*x.
Square Root
The square root function is used by clicking on the "x" button or type "sqrt()". This function
represents x^.5 where the result squared is equal to x.
The raise to the power (y raised to the x function) is used by clicking on the "y^x" button or type
"^".
Natural Exponential
The natural exponential (e raised to the x) is used by clicking on the "e^x" button or type
"exp()". The result is e (2.71828...) raised to x.
Logarithm
The logarithm (LOG) is used by clicking on the "LOG" button or type "LOG()".
Natural Logarithm
The Natural logarithm (LN) is used by clicking on the "LN" button or type "LN()".
Inverse
Multiplicative inverse (reciprocal function) is used by pressing the "1/x" button or typing
"inv()". This function is the same as x^-1 or dividing 1 by the number.
Exponent
Numbers with exponents of 10 are displayed with an "e", for example 4.5e+100 or 4.5e-100.
This function represents 10^x. Numbers are automatically displayed in the format when the
number is too large or too small for the display. To enter a number in this format use the
exponent key "EEX". To do this enter the mantissa (the non exponent part) then press "EEX" or
type"e" and then enter the exponent.
Factorial
The Factorial function is used by clicking the "!" button or type "!".
PI
PROPOSED SYSTEM
The following documentation is a project the “Name of the term paper allotted”. It is a detailed
summary of all the drawbacks of the old system and how the new proposed system overcomes
these shortcomings. The new system takes into account the various factors while designing a
new system. It keeps into the account the Economical bandwidth available for the new system.
The foremost thing that is taken care of is the Need and Requirements of the User.
DESCRIPTION
Before developing software we keep following things in mind that we can develop powerful and
quality software
PROBLEM STATEMENT
• Which will restrict the user from accessing other user’s data.
SYSTEM REQUIRMENTS
Language: C Language
SYSTEM DESIGN
Then we began with the design phase of the system. System design is a
solution, a “HOW TO” approach to the creation of a new system. It
translates system requirements into ways by which they can be made
operational. It is a translational from a user oriented document to a
document oriented programmers. For that, it provides the
understanding and procedural details necessary for the
implementation. Here we use Flowchart to supplement the working of
the new system. The system thus made should be reliable, durable and
above all should have least possible maintenance costs. It should
overcome all the drawbacks of the Old existing system and most
important of all meet the user requirements.
Trignometry (sin,cos) inverse (1/x)
yes
Do you want
to continue?
NO
stop
CODING:
#include <stdio.h>
#include<stdlib.h> #include<math.h>
int addition(); int
subtraction(); int
multiplication(); int
division(); int modulus();
int factorial(); int power();
int square(); int
squareroot(); int
absolute(); int
naturallogarithm(); int
exponentiallogarithm();
int decimaltobinary(); int
binarytodecimal();
int sine();
int cosine();
int tann();
int cosec();
int sec(); int
cot();
int main()
{
int option;
printf("enter your option\n"); scanf("%d",&option);
switch(option)
{
case 1: addition(); break;
case 2: subtraction(); break;
case 3: multiplication(); break;
case 4: division(); break;
case 5: modulus();
break;
case 6: factorial();
break; case 7:
power(); break;
case 8: square();
break; case 9:
squareroot();
break; case 10:
absolute(); break;
case 11:
naturallogarithm();
2. ^ Georges Ifrah notes that humans learned to count on their hands. Ifrah shows, for example, a
picture of Boethius (who lived 480–524 or 525) reckoning on his fingers in Ifrah 2000, p. 48.
3. ^ According to Schmandt-Besserat 1981, these clay containers contained tokens, the total of
which were the count of objects being transferred. The containers thus served as a bill of lading
or an accounts book. In order to avoid breaking open the containers, marks were placed on the
outside of the containers, for the count. Eventually (Schmandt-Besserat estimates it took 4000
years) the marks on the outside of the containers were all that were needed to convey the
count, and the clay containers evolved into clay tablets with marks for the count.
4. ^ Lazos 1994
9. ^ Schmidhuber
Thomas J. Bing, Edward F. Redish, Symbolic Manipulators Affect Mathematical Mindsets,
December 2007
10. ^ Mike Sebastian's calculator forensics algorithm is an example of such rounding errors -- the
algorithm's arcsin(arccos(arctan(tan(cos(sin(9)))))) should come out 9 on standard floating point
hardware, but for CORDIC it's a pathological case that produces different rounding errors on
each chip that it is implemented on. The algorithm is primarily used to identify the manufacturer
of a particular calculator's CPU, since it is usually reproducible between chips of the same
model.
11. ^ Georges Ifrah notes that humans learned to count on their hands. Ifrah shows, for example, a
picture of Boethius (who lived 480–524 or 525) reckoning on his fingers in Ifrah 2000, p. 48.
12. ^ According to Schmandt-Besserat 1981, these clay containers contained tokens, the total of
which were the count of objects being transferred. The containers thus served as a bill of lading
or an accounts book. In order to avoid breaking open the containers, marks were placed on the
outside of the containers, for the count. Eventually (Schmandt-Besserat estimates it took 4000
years) the marks on the outside of the containers were all that were needed to convey the
count, and the clay containers evolved into clay tablets with marks for the count.
14. ^ Ancient Discoveries, Episode 11: Ancient Robots, History Channel, http://www.youtube.com/watch?
v=rxjbaQl0ad8, retrieved on 6 September 2008
15. ^ A Spanish implementation of Napier's bones (1617), is documented in Montaner i Simon 1887,
pp. 19-20.
18. ^ Schmidhuber