This repository contains two calculator applications implemented using HTML and JavaScript:
-
Complex Calculator: A calculator capable of performing basic arithmetic operations with imaginery and real numbers.
-
Arithmetic Calculator: A basic calculator that performs addition, subtraction, multiplication, and division operations.
This set of files implements the Complex Calculator application. Below are the main functions implemented in complex_calculator.js
:
add()
: Performs addition of two numbers.subtract()
: Performs subtraction of two numbers.multiply()
: Performs multiplication of two numbers.divide()
: Performs division of two numbers.toRectangular()
toPolar()
Conjugate()
This set of files implements the Arithmetic Calculator application. Below are the main functions implemented in arithmetic_calculator.js
:
add()
: Performs addition of two numbers.subtract()
: Performs subtraction of two numbers.multiply()
: Performs multiplication of two numbers.divide()
: Performs division of two numbers.
! Home Page (homePage.png) ! Complex Calculator (complex_calculator.png) ! Arithmetic Calculator (arithematic_calculator.png)
To use the calculator applications, simply open the respective HTML files (complex_calculator.html
or arithmetic_calculator.html
) in a web browser. Enter the numbers and select the desired operation to view the result.
- PRAGYA PRASHANT KUMAR (https://github.com/pragyakumar)