Skip to content

chhatraraj/Scientific_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Calculator App

A simple Calculator application built with HTML, CSS, and JavaScript that provides both basic and scientific calculation functions with an intuitive interface.

Features

  • Basic arithmetic operations (Addition, Subtraction, Multiplication, Division)
  • Scientific operations (sin, cos, tan, log, exponential functions)
  • Constants like π (pi)
  • Audio feedback when equals button is pressed
  • Responsive design for all device sizes
  • Clean and intuitive user interface
  • Error handling for invalid calculations
  • History of recent calculations

Technologies Used

  • HTML5
  • CSS3
  • JavaScript (ES6)
  • No external libraries - pure vanilla implementation

How to Use

  1. Clone the repository:
    git clone git@github.com:chhatraraj/Scientific_calculator.git
    
  2. Navigate to the project directory:
    cd Scientific_calculator
    
  3. Open index.html in your browser.
  4. Start calculating!

Screenshot

Calculator Screenshot

Key Features Explained

  • Scientific Functions: Access advanced mathematical operations like logarithms, trigonometric functions, and more
  • Responsive Layout: Optimized for both desktop and mobile devices
  • Audio Feedback: Enhances user experience with sound confirmation
  • Error Handling: Gracefully manages invalid inputs and mathematical errors

Future Enhancements

  • Memory functions (M+, M-, MR, MC)
  • Dark/light theme toggle
  • Calculation history log
  • Keyboard support
  • Unit conversion tools
  • Graphing capabilities

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgments

  • Inspiration from both classic calculators and modern scientific calculators

About

A simple Calculator that provides both basic and scientific calculation functions with an intuitive interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors