A web-based tool for calculating standard and inverse trigonometric functions with high precision.
- 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
- HTML
- CSS
- JavaScript
- Bootstrap 5
- Math.js for trigonometric computations
You can try the live demo of the project here:
-
Clone the repository:
git clone https://github.com/sahanRanasingha/trigonometer.git
-
Open the
index.html
file in your browser.
- Select a trigonometric function (sin, cos, tan, sec, cosec, cot) or an inverse function (sin⁻¹, cos⁻¹, tan⁻¹, etc.).
- Enter the angle (in degrees) or value and click "Calculate".
- The result will be displayed with six decimal places for precision.
Feel free to fork this project, make improvements, or report issues via the GitHub repository.
This project is open-source under the MIT license.
Developed by Sahan Ranasingha