SlideShare a Scribd company logo
IT PROJECT
TOPIC:-Calculator
CONTENT
 Introduction
 What is Calculator.
 Uses of Calculator
 History of Calculator
1.Pocket calculator
2.Progammable Calculator
3.Technical improvement
4.Manufactures
 Current Major manufacturers of Calculator
 How to make a calculator Using VB
INTRODUCTION
 An electronic calculator is a small, portable, often
inexpensive electronic device used to perform both basic
and complex operations of arithmetic.
 The first solid state electronic calculator was created in
the 1960s.
 Abacus, developed around 2000 BC, and the Mechanical
calculator, developed in the 17th century.
WHAT IS CALCULATOR
 A calculator is a device that performs arithmetic operations on
numbers.
 The simplest calculators can do only addition, subtraction,
multiplication, and division.
 More sophisticated calculators can handle exponential
operations, roots, logarithm s, trigonometric functions, and
hyperbolic functions. Internally, some calculators actually
perform all of these functions by repeated processes of
addition.
USES OF CALCULATOR
 Calculator is used in many ways. it is used in the field of
education and as well as in other field.
 Calculator is used to do basic arithmetic's and also to do
complex arithmetic's.
 Calculator is used for calculating big arithmetic problems
in a short period of time.
 Calculator is used in banks to find the compound interest,
simple interest, and many other things.
HISTORY OF CALCULATOR
 The first known tool used to aid arithmetic calculations was the
Abacus, devised by Sumerians and Egyptians before 2000
BC.
 In 1642, the Renaissance saw the invention of the mechanical
calculator by the famous intellectual Blaise Pascal, a device
that will eventually perform all four arithmetic operations
without relying on human intelligence.
 After that many scientist such as G.poleni tried to make a
programmable calculator and at last they succeed.
POCKET CALCULATOR
 By 1970, a calculator could be made using just a few chips of low
power consumption, allowing portable models powered from
rechargeable batteries.
 The first portable calculators appeared in Japan in
 1970, and were soon marketed around the world.
 In 1971 Pico Electronics and General Instrument also introduced
their first collaboration in ICs, a complete single chip calculator IC
for the Monroe Royal Digital III calculator.
 The first American-made pocket-sized calculator, the Bowmar 901B
in 1971
PROGRAMMABLE CALCULATOR
 The first desktop programmable calculators were produced in the
mid-1960s by Mathatronics and Casio (AL-1000).
 The first programmable pocket calculator was the HP-65, in 1974;
it had a capacity of 100 instructions, and could store and retrieve
programs with a built-in magnetic card reader.
 The first Soviet programmable desktop calculator ISKRA 123,
powered by the power grid, was released at the beginning of the
1970s.
 Nowadays many companies started manufacturing this type of
programmable calculator.
TECHNICAL IMPROVEMENTS
 Through the 1970s the hand-held electronic calculator underwent
rapid development.
 The red LED and blue/green vacuum fluorescent displays
consumed a lot of power and the calculators either had a short
battery life or were large so that they could take larger, higher
capacity batteries.
 Busicom introduced the Busicom LE-120A "HANDY" calculator, the first
pocket-sized calculator and the first with an LED display.
 A more successful series of calculators using a reflective DSM-LCD
was launched in 1972 by Sharp Inc with the Sharp EL-805, which
was a slim pocket calculator.
MANUFACTURES
 These are some of the manufacturers which made a
notable contribution to calculator development:-
 APF - U.S.A. General Instrument - U.S.A.
 Aurora – China Hewlett Packard - U.S.A.
 Bell Punch Company / ANITA – UK Hitachi - Japan.
 Bowmar - U.S.A. IME - Italy
 Brunsviga – Germany Litronix - U.S.A.
 Burroughs - U.S.A. Lloyd's - U.S.A.
 Busicom - Japan. Marchant - U.S.A.
 Canon – Japan Monroe - U.S.A.
 Casio – Japan Odhner - Russia and Sweden.
 Commodore / CBM - Canada/U.S.A. Rapid Data - Canada.
 Comptometer / Felt & Tarrant - U.S.A. Rockwell - U.S.A.
 Compucorp - U.S.A. Sanyo - Japan
 Digitz – China Sharp - Japan.
 Elektronika – Lithuania Sinclair - UK.
 Olivetti - Italy. Toshiba - Japan
CURRENT MAJOR MANUFACTURERS OF CALCULATOR
 Aurora Office Equipment Company (China)
 Canon Electronic Business Machines (HK) Co., Ltd.
(Hong Kong)
 Casio Computer Co., Ltd. (Japan)
 Citizen Systems Japan Co., Ltd. (Japan)
 Hewlett-Packard Development Company, L.P. (U.S.A.)
 Sharp Corporation (Japan)
 Texas Instruments Inc. (U.S.A.)
HOW TO MAKE A CALCULATOR USING VB
 At first open VB and choose Standard EXE.
 Now on the form (appeared on the screen) change the back colour
to Black.
 Now change the caption of the form to calculator.
 Now add 2 labels. change the caption of the labels to scientific
calculator and caption of the label 2 to Jawahar navodaya vidyalaya.
 Now add 2 timer control and change the interval of both the timer to
200 & 500 respectively.
figure of the VB
after these process
 Now add a text box & change its back colour to yellow.
 Now add a shape in that form.
 Change the shape of the shape to rounded rectangle and the back
style to opaque.
 Now insert a command button and after copy and paste it 11 times.
for the first time it will ask you “do you want to make a control
array” click on yes.
 Now change the caption of the 11 commands to 1,2,3,4,5,6,7,8,9,
.&0.
 Now add a frame to the form and change his back colour to light
purple and border style to none.
fig. of the VB application
after these 6 steps.
 Now insert another command button in the frame and change it’s
caption to “+/-” and back colour to red and style to graphical.
 Now insert another command button in the form and change it’s
caption to “=”
 Now add another command button then copy and paste it,5 times.
At first it will ask you “do you want to make a control array” click on
yes.
 Change the caption of all the command button to +, -, /, *, %
respectively and change the back colour of all the command button
to red and change the style to graphical.
 Now insert another command button and change its caption to C
and back colour to aqua.
fig. of the VB application
after these 5 steps.
 Now add another command button and change its caption to OFF
and back colour to aqua.
 Now add another command button and change its caption to ON
and back colour to aqua.
 Now add another command button then copy and paste it,9 times.
Now change its caption to sin,cos,tan,sqrt, abs, md, log and atn.
 Now add another command button and change its caption to
MEMR.
 Now add another command button and change its caption to
MEMW.
fig. of the VB application
after these 5 steps.
 Now define the variable as follow:-
Dim op As String
Option Explicit
Dim i As Integer
Dim exp1 As Double
Dim exp2 As Double
Dim Result As Double
Dim count1 As Integer
Dim scitype As String
Private X As Double
Dim mem As Variant
 Now add the code in that application as follow:-
Private Sub Command1_Click(Index As Integer)
If count1 = 0 Then
Text1.Text = " "
MsgBox ("Calculator is not on")
End If
If count1 = 1 Then
Text1.Text = " "
count1 = count1 + 1
End If
If count1 > 1 Then
Text1.Text = Text1.Text & Command1(Index).Caption
End If
End Sub
---------------------------------------------------------------------------------------------------------
Private Sub Command10_Click()
Text1.Text = mem
End Sub
---------------------------------------------------------------------------------------------------------
Private Sub Command2_Click()
Text1.Text = -Val(Text1.Text)
End Sub
---------------------------------------------------------------------------------------------------------
Private Sub Command3_Click()
If count1 > 0 Then
exp2 = Val(Text1.Text)
Select Case (op)
Case "+"
Result = exp1 + exp2
Text1.Text = Result
count1 = 0
Case "-"
Result = exp1 - exp2
Text1.Text = Result
count1 = 0
Case “*"
Result = exp1 * exp2
Text1.Text = Result
count1 = 0
Case " /"
Result = exp1 / exp2
Text1.Text = Result
count1 = 0
Case "%"
Result = (exp1 / 100) * exp2
Text1.Text = Result
count1 = 0
End Select
End If
End Sub
---------------------------------------------------------------------------------------------------------------
Private Sub Command4_Click(Index As Integer)
Result = exp1
exp1 = Result + Val(Text1.Text)
Text1.Text = " "
op = Command4(Index).Caption
End Sub
----------------------------------------------------------------------------------------------------------------
Private Sub Command5_Click()
Result = 0
exp1 = 0
exp2 = 0
Text1.Text = " "
count1 = 1
End Sub
---------------------------------------------------------------------------------------------------------
Private Sub Command6_Click()
count1 = 0
Text1.Text = ""
End Sub
---------------------------------------------------------------------------------------------------------
Private Sub Command7_Click()
Result = 0
exp1 = 0
exp2 = 0
count1 = 1
Text1.Text = "0"
End Sub
----------------------------------------------------------------------------------------------------------------
Private Sub UpdateLog()
Trim (Form1.Text1.Text)
End Sub
---------------------------------------------------------------------------------------------------------
Private Sub Command8_Click(Index As Integer)
scitype = Command8(Index).Caption
Select Case (scitype)
Case "sin"
Text1.Text = (Text1.Text * 3.14) / 180
Text1.Text = Math.Sin(Val(Text1.Text))
count1 = 0
Case "cos"
Text1.Text = (Text1.Text * 3.14) / 180
Text1.Text = Math.Cos(Val(Text1.Text))
count1 = 0
Case "tan"
Text1.Text = (Text1.Text * 3.14) / 180
Text1.Text = Math.Tan(Val(Text1.Text))
count1 = 0
----------------------------------------------------------------------------------------------------------------
Case "sqrt"
Text1.Text = Math.Sqr(Val(Text1.Text))
count1 = 0
Case "abs"
Text1.Text = Math.Abs(Val(Text1.Text))
count1 = 0
Case "rnd"
Text1.Text = Math.Rnd(Val(Text1.Text))
count1 = 0
Case "log"
Text1.Text = Math.Log(Val(Text1.Text))
count1 = 0
Case "Atn"
Text1.Text = Math.Log(Val(Text1.Text))
count1 = 0
End Select
End Sub
----------------------------------------------------------------------------------------------------------------
Private Sub Command9_Click()
mem = Text1.Text
End Sub
----------------------------------------------------------------------------------------------------------------
Private Sub Form_Load()
End Sub
----------------------------------------------------------------------------------------------------------
Private Sub Timer1_Timer()
Label1.BackColor = RGB(256 * Rnd, 256 * Rnd, 256 * Rnd)
End Sub
----------------------------------------------------------------------------------------------------------
Private Sub Timer2_Timer()
Label2.BackColor = RGB(256 * Rnd, 256 * Rnd, 256 * Rnd)
End Sub
----------------------------------------------------------------------------------------------------------
OUTPUT SCREEN
CONCLUSION
ANY QUERIES
REFERENCE
 https://www.google.co.in/
 http://www.bing.com/
 http://in.yahoo.com/
 http:// www.wikipedia.org
 http://www.slideshare.net
 http://wiki.answer.com
 http://www.vbtutor.net

More Related Content

What's hot

Computer Language
Computer LanguageComputer Language
Computer Language
Deepak Yadav
 
Final project report
Final project reportFinal project report
Final project reportssuryawanshi
 
Scientific calculator in c
Scientific calculator in cScientific calculator in c
Scientific calculator in c
Upendra Sengar
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
Balakrishna Chowdary
 
Problem solving using Computer
Problem solving using ComputerProblem solving using Computer
Problem solving using Computer
David Livingston J
 
Programming languages
Programming languagesProgramming languages
Programming languages
www.myassignmenthelp.net
 
Scientific calculator project in c language
Scientific calculator project in c languageScientific calculator project in c language
Scientific calculator project in c language
AMIT KUMAR
 
Emu8086
Emu8086Emu8086
Emu8086
rangarajb2005
 
History of Computer Technology
History of Computer TechnologyHistory of Computer Technology
History of Computer TechnologyDanz Magdaraog
 
Brief history of computers
Brief history of computersBrief history of computers
Brief history of computers
MUHAMMAD KHURSHID AHMAD
 
Comuputer processor
Comuputer processorComuputer processor
Comuputer processorSanjeev Jain
 
History of computer technology
History of computer technology History of computer technology
History of computer technology
shiva prasad
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming ConceptsJussi Pohjolainen
 
the generation of computers
the generation of computersthe generation of computers
the generation of computers
Bhavya Chawla
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architectureKumar
 
Generation of comnputer
Generation of comnputerGeneration of comnputer
Generation of comnputerGovind Mishra
 
Introduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts PresentationIntroduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts Presentation
Ana Tan
 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programming
Rob Paok
 
Computer Generations
Computer GenerationsComputer Generations
Computer GenerationsAris Santos
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
REHAN IJAZ
 

What's hot (20)

Computer Language
Computer LanguageComputer Language
Computer Language
 
Final project report
Final project reportFinal project report
Final project report
 
Scientific calculator in c
Scientific calculator in cScientific calculator in c
Scientific calculator in c
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 
Problem solving using Computer
Problem solving using ComputerProblem solving using Computer
Problem solving using Computer
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Scientific calculator project in c language
Scientific calculator project in c languageScientific calculator project in c language
Scientific calculator project in c language
 
Emu8086
Emu8086Emu8086
Emu8086
 
History of Computer Technology
History of Computer TechnologyHistory of Computer Technology
History of Computer Technology
 
Brief history of computers
Brief history of computersBrief history of computers
Brief history of computers
 
Comuputer processor
Comuputer processorComuputer processor
Comuputer processor
 
History of computer technology
History of computer technology History of computer technology
History of computer technology
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 
the generation of computers
the generation of computersthe generation of computers
the generation of computers
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Generation of comnputer
Generation of comnputerGeneration of comnputer
Generation of comnputer
 
Introduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts PresentationIntroduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts Presentation
 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programming
 
Computer Generations
Computer GenerationsComputer Generations
Computer Generations
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
 

Viewers also liked

History Of The Calculator
History Of The CalculatorHistory Of The Calculator
History Of The Calculator
lbhamilton27
 
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its components
Jishnu Pradeep
 
History of the Calculator
History of the CalculatorHistory of the Calculator
History of the CalculatorP1666
 
Future of solar power
Future of solar powerFuture of solar power
Future of solar power
Shahed Babu
 
Rampal Power Station
Rampal Power StationRampal Power Station
Rampal Power Station
manarat international university
 
Industrial high temperature hot glue gun
Industrial high temperature hot glue gunIndustrial high temperature hot glue gun
Industrial high temperature hot glue gun
Yi Zhu
 
Science fair
Science fairScience fair
Science fairsora1004
 
History of Calculator
History of CalculatorHistory of Calculator
History of Calculator
Aiza Mae Bernabe
 
Renewable energy
Renewable energyRenewable energy
Renewable energy
Md. Hasibur Rashid
 
Product Market Analysis - Motorcycle
Product Market Analysis - MotorcycleProduct Market Analysis - Motorcycle
Product Market Analysis - Motorcycle
pradipmondal
 
How does a projector works
How does a projector worksHow does a projector works
How does a projector worksKumar Pradeep
 
Rnpp najmul
Rnpp najmulRnpp najmul
Rnpp najmul
Najmul Islam
 
Renewable Energy & Overview in Bangladesh
Renewable Energy & Overview in BangladeshRenewable Energy & Overview in Bangladesh
Renewable Energy & Overview in Bangladesh
Shadrul Alam
 
Numerical analysis of Vertical Axis Wind Turbine
Numerical analysis of Vertical Axis Wind TurbineNumerical analysis of Vertical Axis Wind Turbine
Numerical analysis of Vertical Axis Wind Turbine
hasan47
 
Are you likely to be hit by a drone? (by Anders La Cour-Harbo)
Are you likely to be hit by a drone? (by Anders La Cour-Harbo)Are you likely to be hit by a drone? (by Anders La Cour-Harbo)
Are you likely to be hit by a drone? (by Anders La Cour-Harbo)
TUS Expo
 
Rural electrification using PV: Success Story of Bangladesh
Rural electrification using PV: Success Story of BangladeshRural electrification using PV: Success Story of Bangladesh
Rural electrification using PV: Success Story of Bangladesh
Marufa Mithila
 
Solar cell
Solar cell Solar cell
Solar cell
Mohammad Ali Khan
 
Study on solar irrigation system in bangladesh
Study on solar irrigation system in bangladeshStudy on solar irrigation system in bangladesh
Study on solar irrigation system in bangladesh
Tania Marzia
 
Gas turbine technology
Gas turbine technologyGas turbine technology
Gas turbine technologyAshish kumar
 

Viewers also liked (20)

Calculator
CalculatorCalculator
Calculator
 
History Of The Calculator
History Of The CalculatorHistory Of The Calculator
History Of The Calculator
 
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its components
 
History of the Calculator
History of the CalculatorHistory of the Calculator
History of the Calculator
 
Future of solar power
Future of solar powerFuture of solar power
Future of solar power
 
Rampal Power Station
Rampal Power StationRampal Power Station
Rampal Power Station
 
Industrial high temperature hot glue gun
Industrial high temperature hot glue gunIndustrial high temperature hot glue gun
Industrial high temperature hot glue gun
 
Science fair
Science fairScience fair
Science fair
 
History of Calculator
History of CalculatorHistory of Calculator
History of Calculator
 
Renewable energy
Renewable energyRenewable energy
Renewable energy
 
Product Market Analysis - Motorcycle
Product Market Analysis - MotorcycleProduct Market Analysis - Motorcycle
Product Market Analysis - Motorcycle
 
How does a projector works
How does a projector worksHow does a projector works
How does a projector works
 
Rnpp najmul
Rnpp najmulRnpp najmul
Rnpp najmul
 
Renewable Energy & Overview in Bangladesh
Renewable Energy & Overview in BangladeshRenewable Energy & Overview in Bangladesh
Renewable Energy & Overview in Bangladesh
 
Numerical analysis of Vertical Axis Wind Turbine
Numerical analysis of Vertical Axis Wind TurbineNumerical analysis of Vertical Axis Wind Turbine
Numerical analysis of Vertical Axis Wind Turbine
 
Are you likely to be hit by a drone? (by Anders La Cour-Harbo)
Are you likely to be hit by a drone? (by Anders La Cour-Harbo)Are you likely to be hit by a drone? (by Anders La Cour-Harbo)
Are you likely to be hit by a drone? (by Anders La Cour-Harbo)
 
Rural electrification using PV: Success Story of Bangladesh
Rural electrification using PV: Success Story of BangladeshRural electrification using PV: Success Story of Bangladesh
Rural electrification using PV: Success Story of Bangladesh
 
Solar cell
Solar cell Solar cell
Solar cell
 
Study on solar irrigation system in bangladesh
Study on solar irrigation system in bangladeshStudy on solar irrigation system in bangladesh
Study on solar irrigation system in bangladesh
 
Gas turbine technology
Gas turbine technologyGas turbine technology
Gas turbine technology
 

Similar to Calculator and how to make it using VB 6.0

Chapter#4
Chapter#4Chapter#4
Computer System Organization
Computer System OrganizationComputer System Organization
Computer System Organization
Kulachi Hansraj Model School Ashok Vihar
 
INTRODUCTION TO COMPUTING OR FUNDAMENTAL COMPUTING
INTRODUCTION TO COMPUTING OR FUNDAMENTAL COMPUTINGINTRODUCTION TO COMPUTING OR FUNDAMENTAL COMPUTING
INTRODUCTION TO COMPUTING OR FUNDAMENTAL COMPUTING
sharock2
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
TinaIngale
 
learn about computers how its work and operate
learn about computers how its work and operatelearn about computers how its work and operate
learn about computers how its work and operate
thegodofmischief999
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
siraj497688
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
A. S. M. Shafi
 
Cso Latest
Cso LatestCso Latest
Cso Latest
archikabhatia
 
Cso Latest
Cso LatestCso Latest
Cso Latest
guest1a49ab
 
Introduction of computer
Introduction of computerIntroduction of computer
Introduction of computer
Chrisnouman Riaz
 
Fundamentals of computers & information system
Fundamentals of computers & information system  Fundamentals of computers & information system
Fundamentals of computers & information system
shefali mishra
 
C++ 1.pdf
C++ 1.pdfC++ 1.pdf
C++ 1.pdf
captabdulhadi73
 
History of computer by Siddhartha Kumar Panda
History of computer by Siddhartha Kumar PandaHistory of computer by Siddhartha Kumar Panda
History of computer by Siddhartha Kumar Panda
SUSANTA KUMAR PANDA
 
Chapter 1.pptx
Chapter 1.pptxChapter 1.pptx
Chapter 1.pptx
Dawitashebr
 
SSC-ICT 7_History of Computer_031810.pptx
SSC-ICT 7_History of Computer_031810.pptxSSC-ICT 7_History of Computer_031810.pptx
SSC-ICT 7_History of Computer_031810.pptx
HaruHaru68
 
ICT math 2024 SSC and HSC students of BD
ICT math 2024 SSC and HSC  students  of BDICT math 2024 SSC and HSC  students  of BD
ICT math 2024 SSC and HSC students of BD
SumaiyaHossain13
 
Spreadsheet Introduction - R.D.Sivakumar
Spreadsheet Introduction - R.D.SivakumarSpreadsheet Introduction - R.D.Sivakumar
Spreadsheet Introduction - R.D.Sivakumar
Sivakumar R D .
 
PROGRAM LOGIC AND FORMULATION
PROGRAM LOGIC AND FORMULATIONPROGRAM LOGIC AND FORMULATION
PROGRAM LOGIC AND FORMULATION
Joland Reambillo
 
Spreadsheets 2003 version
Spreadsheets 2003 versionSpreadsheets 2003 version
Spreadsheets 2003 versionJohan Koren
 

Similar to Calculator and how to make it using VB 6.0 (20)

Chapter#4
Chapter#4Chapter#4
Chapter#4
 
introduction to it
introduction to itintroduction to it
introduction to it
 
Computer System Organization
Computer System OrganizationComputer System Organization
Computer System Organization
 
INTRODUCTION TO COMPUTING OR FUNDAMENTAL COMPUTING
INTRODUCTION TO COMPUTING OR FUNDAMENTAL COMPUTINGINTRODUCTION TO COMPUTING OR FUNDAMENTAL COMPUTING
INTRODUCTION TO COMPUTING OR FUNDAMENTAL COMPUTING
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
 
learn about computers how its work and operate
learn about computers how its work and operatelearn about computers how its work and operate
learn about computers how its work and operate
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
Cso Latest
Cso LatestCso Latest
Cso Latest
 
Cso Latest
Cso LatestCso Latest
Cso Latest
 
Introduction of computer
Introduction of computerIntroduction of computer
Introduction of computer
 
Fundamentals of computers & information system
Fundamentals of computers & information system  Fundamentals of computers & information system
Fundamentals of computers & information system
 
C++ 1.pdf
C++ 1.pdfC++ 1.pdf
C++ 1.pdf
 
History of computer by Siddhartha Kumar Panda
History of computer by Siddhartha Kumar PandaHistory of computer by Siddhartha Kumar Panda
History of computer by Siddhartha Kumar Panda
 
Chapter 1.pptx
Chapter 1.pptxChapter 1.pptx
Chapter 1.pptx
 
SSC-ICT 7_History of Computer_031810.pptx
SSC-ICT 7_History of Computer_031810.pptxSSC-ICT 7_History of Computer_031810.pptx
SSC-ICT 7_History of Computer_031810.pptx
 
ICT math 2024 SSC and HSC students of BD
ICT math 2024 SSC and HSC  students  of BDICT math 2024 SSC and HSC  students  of BD
ICT math 2024 SSC and HSC students of BD
 
Spreadsheet Introduction - R.D.Sivakumar
Spreadsheet Introduction - R.D.SivakumarSpreadsheet Introduction - R.D.Sivakumar
Spreadsheet Introduction - R.D.Sivakumar
 
PROGRAM LOGIC AND FORMULATION
PROGRAM LOGIC AND FORMULATIONPROGRAM LOGIC AND FORMULATION
PROGRAM LOGIC AND FORMULATION
 
Spreadsheets 2003 version
Spreadsheets 2003 versionSpreadsheets 2003 version
Spreadsheets 2003 version
 

Recently uploaded

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 

Recently uploaded (20)

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 

Calculator and how to make it using VB 6.0

  • 2. CONTENT  Introduction  What is Calculator.  Uses of Calculator  History of Calculator 1.Pocket calculator 2.Progammable Calculator 3.Technical improvement 4.Manufactures  Current Major manufacturers of Calculator  How to make a calculator Using VB
  • 3. INTRODUCTION  An electronic calculator is a small, portable, often inexpensive electronic device used to perform both basic and complex operations of arithmetic.  The first solid state electronic calculator was created in the 1960s.  Abacus, developed around 2000 BC, and the Mechanical calculator, developed in the 17th century.
  • 4. WHAT IS CALCULATOR  A calculator is a device that performs arithmetic operations on numbers.  The simplest calculators can do only addition, subtraction, multiplication, and division.  More sophisticated calculators can handle exponential operations, roots, logarithm s, trigonometric functions, and hyperbolic functions. Internally, some calculators actually perform all of these functions by repeated processes of addition.
  • 5. USES OF CALCULATOR  Calculator is used in many ways. it is used in the field of education and as well as in other field.  Calculator is used to do basic arithmetic's and also to do complex arithmetic's.  Calculator is used for calculating big arithmetic problems in a short period of time.  Calculator is used in banks to find the compound interest, simple interest, and many other things.
  • 6. HISTORY OF CALCULATOR  The first known tool used to aid arithmetic calculations was the Abacus, devised by Sumerians and Egyptians before 2000 BC.  In 1642, the Renaissance saw the invention of the mechanical calculator by the famous intellectual Blaise Pascal, a device that will eventually perform all four arithmetic operations without relying on human intelligence.  After that many scientist such as G.poleni tried to make a programmable calculator and at last they succeed.
  • 7. POCKET CALCULATOR  By 1970, a calculator could be made using just a few chips of low power consumption, allowing portable models powered from rechargeable batteries.  The first portable calculators appeared in Japan in  1970, and were soon marketed around the world.  In 1971 Pico Electronics and General Instrument also introduced their first collaboration in ICs, a complete single chip calculator IC for the Monroe Royal Digital III calculator.  The first American-made pocket-sized calculator, the Bowmar 901B in 1971
  • 8. PROGRAMMABLE CALCULATOR  The first desktop programmable calculators were produced in the mid-1960s by Mathatronics and Casio (AL-1000).  The first programmable pocket calculator was the HP-65, in 1974; it had a capacity of 100 instructions, and could store and retrieve programs with a built-in magnetic card reader.  The first Soviet programmable desktop calculator ISKRA 123, powered by the power grid, was released at the beginning of the 1970s.  Nowadays many companies started manufacturing this type of programmable calculator.
  • 9. TECHNICAL IMPROVEMENTS  Through the 1970s the hand-held electronic calculator underwent rapid development.  The red LED and blue/green vacuum fluorescent displays consumed a lot of power and the calculators either had a short battery life or were large so that they could take larger, higher capacity batteries.  Busicom introduced the Busicom LE-120A "HANDY" calculator, the first pocket-sized calculator and the first with an LED display.  A more successful series of calculators using a reflective DSM-LCD was launched in 1972 by Sharp Inc with the Sharp EL-805, which was a slim pocket calculator.
  • 10. MANUFACTURES  These are some of the manufacturers which made a notable contribution to calculator development:-  APF - U.S.A. General Instrument - U.S.A.  Aurora – China Hewlett Packard - U.S.A.  Bell Punch Company / ANITA – UK Hitachi - Japan.  Bowmar - U.S.A. IME - Italy  Brunsviga – Germany Litronix - U.S.A.  Burroughs - U.S.A. Lloyd's - U.S.A.  Busicom - Japan. Marchant - U.S.A.  Canon – Japan Monroe - U.S.A.  Casio – Japan Odhner - Russia and Sweden.  Commodore / CBM - Canada/U.S.A. Rapid Data - Canada.  Comptometer / Felt & Tarrant - U.S.A. Rockwell - U.S.A.  Compucorp - U.S.A. Sanyo - Japan  Digitz – China Sharp - Japan.  Elektronika – Lithuania Sinclair - UK.  Olivetti - Italy. Toshiba - Japan
  • 11. CURRENT MAJOR MANUFACTURERS OF CALCULATOR  Aurora Office Equipment Company (China)  Canon Electronic Business Machines (HK) Co., Ltd. (Hong Kong)  Casio Computer Co., Ltd. (Japan)  Citizen Systems Japan Co., Ltd. (Japan)  Hewlett-Packard Development Company, L.P. (U.S.A.)  Sharp Corporation (Japan)  Texas Instruments Inc. (U.S.A.)
  • 12. HOW TO MAKE A CALCULATOR USING VB  At first open VB and choose Standard EXE.  Now on the form (appeared on the screen) change the back colour to Black.  Now change the caption of the form to calculator.  Now add 2 labels. change the caption of the labels to scientific calculator and caption of the label 2 to Jawahar navodaya vidyalaya.  Now add 2 timer control and change the interval of both the timer to 200 & 500 respectively. figure of the VB after these process
  • 13.  Now add a text box & change its back colour to yellow.  Now add a shape in that form.  Change the shape of the shape to rounded rectangle and the back style to opaque.  Now insert a command button and after copy and paste it 11 times. for the first time it will ask you “do you want to make a control array” click on yes.  Now change the caption of the 11 commands to 1,2,3,4,5,6,7,8,9, .&0.  Now add a frame to the form and change his back colour to light purple and border style to none. fig. of the VB application after these 6 steps.
  • 14.  Now insert another command button in the frame and change it’s caption to “+/-” and back colour to red and style to graphical.  Now insert another command button in the form and change it’s caption to “=”  Now add another command button then copy and paste it,5 times. At first it will ask you “do you want to make a control array” click on yes.  Change the caption of all the command button to +, -, /, *, % respectively and change the back colour of all the command button to red and change the style to graphical.  Now insert another command button and change its caption to C and back colour to aqua. fig. of the VB application after these 5 steps.
  • 15.  Now add another command button and change its caption to OFF and back colour to aqua.  Now add another command button and change its caption to ON and back colour to aqua.  Now add another command button then copy and paste it,9 times. Now change its caption to sin,cos,tan,sqrt, abs, md, log and atn.  Now add another command button and change its caption to MEMR.  Now add another command button and change its caption to MEMW. fig. of the VB application after these 5 steps.
  • 16.  Now define the variable as follow:- Dim op As String Option Explicit Dim i As Integer Dim exp1 As Double Dim exp2 As Double Dim Result As Double Dim count1 As Integer Dim scitype As String Private X As Double Dim mem As Variant  Now add the code in that application as follow:- Private Sub Command1_Click(Index As Integer) If count1 = 0 Then Text1.Text = " " MsgBox ("Calculator is not on") End If
  • 17. If count1 = 1 Then Text1.Text = " " count1 = count1 + 1 End If If count1 > 1 Then Text1.Text = Text1.Text & Command1(Index).Caption End If End Sub --------------------------------------------------------------------------------------------------------- Private Sub Command10_Click() Text1.Text = mem End Sub --------------------------------------------------------------------------------------------------------- Private Sub Command2_Click() Text1.Text = -Val(Text1.Text) End Sub ---------------------------------------------------------------------------------------------------------
  • 18. Private Sub Command3_Click() If count1 > 0 Then exp2 = Val(Text1.Text) Select Case (op) Case "+" Result = exp1 + exp2 Text1.Text = Result count1 = 0 Case "-" Result = exp1 - exp2 Text1.Text = Result count1 = 0 Case “*" Result = exp1 * exp2 Text1.Text = Result count1 = 0
  • 19. Case " /" Result = exp1 / exp2 Text1.Text = Result count1 = 0 Case "%" Result = (exp1 / 100) * exp2 Text1.Text = Result count1 = 0 End Select End If End Sub --------------------------------------------------------------------------------------------------------------- Private Sub Command4_Click(Index As Integer) Result = exp1 exp1 = Result + Val(Text1.Text) Text1.Text = " " op = Command4(Index).Caption End Sub ----------------------------------------------------------------------------------------------------------------
  • 20. Private Sub Command5_Click() Result = 0 exp1 = 0 exp2 = 0 Text1.Text = " " count1 = 1 End Sub --------------------------------------------------------------------------------------------------------- Private Sub Command6_Click() count1 = 0 Text1.Text = "" End Sub --------------------------------------------------------------------------------------------------------- Private Sub Command7_Click() Result = 0 exp1 = 0 exp2 = 0 count1 = 1 Text1.Text = "0" End Sub ----------------------------------------------------------------------------------------------------------------
  • 21. Private Sub UpdateLog() Trim (Form1.Text1.Text) End Sub --------------------------------------------------------------------------------------------------------- Private Sub Command8_Click(Index As Integer) scitype = Command8(Index).Caption Select Case (scitype) Case "sin" Text1.Text = (Text1.Text * 3.14) / 180 Text1.Text = Math.Sin(Val(Text1.Text)) count1 = 0 Case "cos" Text1.Text = (Text1.Text * 3.14) / 180 Text1.Text = Math.Cos(Val(Text1.Text)) count1 = 0 Case "tan" Text1.Text = (Text1.Text * 3.14) / 180 Text1.Text = Math.Tan(Val(Text1.Text)) count1 = 0 ----------------------------------------------------------------------------------------------------------------
  • 22. Case "sqrt" Text1.Text = Math.Sqr(Val(Text1.Text)) count1 = 0 Case "abs" Text1.Text = Math.Abs(Val(Text1.Text)) count1 = 0 Case "rnd" Text1.Text = Math.Rnd(Val(Text1.Text)) count1 = 0 Case "log" Text1.Text = Math.Log(Val(Text1.Text)) count1 = 0 Case "Atn" Text1.Text = Math.Log(Val(Text1.Text)) count1 = 0 End Select End Sub ---------------------------------------------------------------------------------------------------------------- Private Sub Command9_Click() mem = Text1.Text End Sub ----------------------------------------------------------------------------------------------------------------
  • 23. Private Sub Form_Load() End Sub ---------------------------------------------------------------------------------------------------------- Private Sub Timer1_Timer() Label1.BackColor = RGB(256 * Rnd, 256 * Rnd, 256 * Rnd) End Sub ---------------------------------------------------------------------------------------------------------- Private Sub Timer2_Timer() Label2.BackColor = RGB(256 * Rnd, 256 * Rnd, 256 * Rnd) End Sub ----------------------------------------------------------------------------------------------------------
  • 27. REFERENCE  https://www.google.co.in/  http://www.bing.com/  http://in.yahoo.com/  http:// www.wikipedia.org  http://www.slideshare.net  http://wiki.answer.com  http://www.vbtutor.net