3801 words - 16 pages

SCIENTIFIC CALCULATOR

[pic]

SUBMITED TO: SUBMITED BY:

Ms. Sukhdilpreet Kaur Name: Anuj Sharma &Naman

Roll NO.:R246A16 & R246A11

Regn.No.: 10802451 &10800991

AKNOWLEDGMENT

First and the foremost I would like to thank to my almighty for giving me courage to bring up this term assignment.

At the outset, I would like to propose a word of thanks to my teacher, friends and other sources that gave an unending support and helped me in numerous ways from the first stage of my term assignment conceived.

I would also like to thank my family members for their whole hearted ...view middle of the document...

This calculator is now available as part of Hummingbird's Enterprise Information Portal. All enquiries regarding licensing the calculator should be directed to Hummingbird Ltd.

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. The function results in a-b.

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.

Raise to the Power

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

PI is a mathematical constant of the ratio of a circle's circumference to its diameter.

TABLE OF CONTENTS

➢ INTRODUCTION

➢ CODING

➢ APPLICATIONS & FUTUREPROSPECTIVE

REFERENCES

CODING

#include

#include

#include

#include

#include

#include

#include

#include

#define pi 3.1415265

union REGS i,o;

int sr,dpf;

char *no[]={"1","2","3","4","5","6","7","8","9","0",".","+/-"},

*cal[]={"+","-","*","/","=","ã"},

*sci[]={"Sin","Cos","Tan","Sinh","Cosh","Tanh","Exp","ln","log","xrty","1/x","x^2","x^y","sqrt","fact","Hypot","eqn","DEG",},

*ms[]={"AC","HEX","BIN","OCT","BKSP"};

long com(long,int);

long double back(long double),equ(),alg(long...

Beat writer's block and start your paper with the best examples