Skip to content

ErrorCalc-OUSL: A simple web tool for Physics and Chemistry students at OUSL's Faculty of Natural Sciences. Easily calculate absolute, relative, percentage errors, and error propagation (add/subtract, multiply/divide) using HTML, CSS, and JavaScript. Perfect for lab work. Try out - [https://abishekrkumar.github.io/errorcalc-ousl/]

License

Notifications You must be signed in to change notification settings

AbishekRKumar/errorcalc-ousl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ErrorCalc-OUSL: Error Calculator for Physics & Chemistry Students

ErrorCalc-OUSL is an HTML-based error calculator for Level 3-5 Physics/Chemistry students at OUSL's Faculty of Natural Sciences. It computes absolute, relative, percentage errors, and propagation (add/subtract, multiply/divide) via a web interface. Install: git clone https://github.com/AbishekRKumar/errorcalc-ousl.git License: MIT πŸ“– Overview ErrorCalc-OUSL is a web-based tool designed to simplify error analysis for experimental sciences. Built with HTML, CSS, and JavaScript, it offers an intuitive interface for students to calculate errors directly in their browsers. Tailored for Level 3, 4, and 5 students at The Open University of Sri Lanka, it supports laboratory work by providing accurate calculations for absolute, relative, percentage errors, and error propagation. ✨ Features

Error Calculations: Computes absolute, relative, and percentage errors for measurements. Error Propagation: Handles addition/subtraction and multiplication/division error propagation. Interactive Web Interface: User-friendly form inputs with real-time results. Responsive Design: Accessible on desktops, tablets, and mobile devices. Educational Outputs: Displays results with explanations to enhance learning.

πŸš€ Getting Started Prerequisites

A modern web browser (e.g., Chrome, Firefox, Edge). No server setup required; runs locally as a static HTML file.

Installation

Clone the Repository:git clone https://github.com/AbishekRKumar/errorcalc-ousl.git

Navigate to the Directory:cd errorcalc-ousl

Open the Application:Open index.html in a web browser (e.g., double-click the file or drag it into your browser).

Dependencies

No external dependencies; uses vanilla HTML, CSS, and JavaScript. Optional: A local server (e.g., Live Server in VS Code) for development.

πŸ› οΈ Usage

Open index.html in a web browser. Select a calculation type from the dropdown: Absolute, Relative, and Percentage Errors Error Propagation (Addition/Subtraction) Error Propagation (Multiplication/Division)

Enter the required values (e.g., measured value, true value, uncertainties) in the form. Click "Calculate" to view results displayed below with clear explanations.

Example Output For Measured Value: 10.5, True Value: 10.0 Absolute Error: 0.5 Relative Error: 0.05 Percentage Error: 5%

πŸ“‚ Repository Structure

index.html: Main HTML file with the calculator interface. styles.css: CSS file for styling the web interface. script.js: JavaScript file for error calculation logic. LICENSE: MIT License file. README.md: This documentation file.

🀝 Contributing Contributions are welcome to enhance ErrorCalc-OUSL! To contribute:

Fork the Repository:Click the "Fork" button on GitHub. Create a Branch:git checkout -b feature/your-feature-name

Make Changes and commit:git commit -m "Add your feature description"

Push to Your Fork:git push origin feature/your-feature-name

Open a Pull Request: Submit your changes for review.

For bugs or feature requests, open an issue. πŸ“œ License This project is licensed under the MIT License. See the LICENSE file for details. πŸ“§ Contact For support, contact [abi.kumar6324@gmail.com] or reach out via the Faculty of Natural Sciences, The Open University of Sri Lanka.

About

ErrorCalc-OUSL: A simple web tool for Physics and Chemistry students at OUSL's Faculty of Natural Sciences. Easily calculate absolute, relative, percentage errors, and error propagation (add/subtract, multiply/divide) using HTML, CSS, and JavaScript. Perfect for lab work. Try out - [https://abishekrkumar.github.io/errorcalc-ousl/]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages