sahanRanasingha / trigonometer

A web-based tool to compute standard and inverse trigonometric functions (sin, cos, tan, etc.) with accurate results up to six decimal places. Built with HTML, CSS, JavaScript, and Bootstrap 5.

Home Page:https://trigonometer.web.app/

Repository from Github https://github.comsahanRanasingha/trigonometerRepository from Github https://github.comsahanRanasingha/trigonometer

Trigonometry Calculator

A web-based tool for calculating standard and inverse trigonometric functions with high precision.

Features

  • Supports standard trigonometric functions: sin, cos, tan, sec, cosec, cot
  • Supports inverse trigonometric calculations: sin⁻¹, cos⁻¹, tan⁻¹, etc.
  • User-friendly Bootstrap-based UI
  • Responsive design for seamless usage on mobile and desktop
  • Real-time error handling with Bootstrap toasts

Tech Stack

  • HTML
  • CSS
  • JavaScript
  • Bootstrap 5
  • Math.js for trigonometric computations

Live Demo

You can try the live demo of the project here:

Live Demo

Installation

  1. Clone the repository:

    git clone https://github.com/sahanRanasingha/trigonometer.git
  2. Open the index.html file in your browser.

Usage

  1. Select a trigonometric function (sin, cos, tan, sec, cosec, cot) or an inverse function (sin⁻¹, cos⁻¹, tan⁻¹, etc.).
  2. Enter the angle (in degrees) or value and click "Calculate".
  3. The result will be displayed with six decimal places for precision.

Contributing

Feel free to fork this project, make improvements, or report issues via the GitHub repository.

License

This project is open-source under the MIT license.


Developed by Sahan Ranasingha

About

A web-based tool to compute standard and inverse trigonometric functions (sin, cos, tan, etc.) with accurate results up to six decimal places. Built with HTML, CSS, JavaScript, and Bootstrap 5.

https://trigonometer.web.app/


Languages

Language:HTML 100.0%