Skip to content

Sbosh34/Scientific_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Scientific Calculator

A feature-rich scientific calculator built with Java Swing, supporting arithmetic, trigonometric, logarithmic functions, memory operations, and a calculation history log.

Features

  • Basic arithmetic: +, -, *, /, %
  • Scientific functions: sin, cos, tan, √, log, ln, 10^x, !
  • Memory operations: M+, M-, MR, MC
  • Keyboard input support (with some limitations, e.g., 9/10 via keyboard needs button input workaround)
  • History log of calculations
  • Color-coded UI with hover effects

Usage

  • Run Calculator.java with a Java compiler (e.g., javac Calculator.java and java Calculator).
  • Use buttons or keyboard for input (note: for 9/10, use buttons to avoid syntax errors).
  • Clear with C (clear entry) or CE (clear all).

Known Issues

  • Keyboard input for expressions like "9/10" results in a syntax error (use buttons as a workaround).

Changelog

See CHANGELOG.md for version history.

Development

  • Created by [Sibonelo Sikhosatia] on 2025-07-23.
  • Built with Java Swing.

About

A Java Swing-based scientific calculator with memory, history, and keyboard support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages