diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 6b665aaa0..000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "liveServer.settings.port": 5501 -} diff --git a/Calculators/Scientific-Calculator/README.md b/Calculators/Scientific-Calculator/README.md new file mode 100644 index 000000000..198ff8dc8 --- /dev/null +++ b/Calculators/Scientific-Calculator/README.md @@ -0,0 +1,28 @@ +#

Scientific Calculator

+ +## Description :- + +A fully functional scientific calculator that supports: + +- Trigonometric functions such as sin, cos, tan +- Inverse trigonometric functions like arcsin, arccos, arctan +- Logarithmic functions (log, log10) +- Square roots, cube roots, and other mathematical operations +- A sleek dark-themed UI with enhanced usability and accessibility + +This version also includes: + +- Error handling for invalid input (e.g., "asin(0.5)" or "log(10)"). +- Support for edge cases (e.g., logarithms with values <= 0). +- A clear, user-friendly layout with all buttons styled appropriately, enhancing the overall experience. +- Includes a "Clear" button for resetting the input, a "Delete" button for removing the last character, and an "Equals" button in an orange color to indicate its importance. + +## Tech Stacks :- + +- HTML +- CSS +- JavaScript + +## Screenshots :- + +![image](https://github.com/user-attachments/assets/0fae5a34-a2eb-47ac-a922-c7d9ec4beebf) diff --git a/Calculators/Trigno-functions/index.html b/Calculators/Scientific-Calculator/index.html similarity index 96% rename from Calculators/Trigno-functions/index.html rename to Calculators/Scientific-Calculator/index.html index f18a9ea3c..3aeee860b 100644 --- a/Calculators/Trigno-functions/index.html +++ b/Calculators/Scientific-Calculator/index.html @@ -3,8 +3,8 @@ - Scientific Calculator + Scientific Calculator
@@ -22,7 +22,6 @@

How to Use

  • Power (x²): Click "x²" for squaring a number.
  • Clear: Click "C" to clear the display, or "DEL" to delete the last entered character.
  • Equals: Click "=" to evaluate the expression.
  • -

    Coded by Shashikumar

    @@ -87,4 +86,4 @@

    How to Use

    - + \ No newline at end of file diff --git a/Calculators/Trigno-functions/script.js b/Calculators/Scientific-Calculator/script.js similarity index 99% rename from Calculators/Trigno-functions/script.js rename to Calculators/Scientific-Calculator/script.js index cbec93d90..c0e55254f 100644 --- a/Calculators/Trigno-functions/script.js +++ b/Calculators/Scientific-Calculator/script.js @@ -114,4 +114,4 @@ function calculateResult() { function toRadians(degrees) { return degrees * (Math.PI / 180); -} +} \ No newline at end of file diff --git a/Calculators/Trigno-functions/style.css b/Calculators/Scientific-Calculator/style.css similarity index 99% rename from Calculators/Trigno-functions/style.css rename to Calculators/Scientific-Calculator/style.css index 6dbdcbe9a..137d7a5bb 100644 --- a/Calculators/Trigno-functions/style.css +++ b/Calculators/Scientific-Calculator/style.css @@ -119,4 +119,4 @@ button:nth-last-child(2) { .calculator-box { width: 100%; -} +} \ No newline at end of file diff --git a/Calculators/Trigno-functions/Readme.md b/Calculators/Trigno-functions/Readme.md deleted file mode 100644 index b9e68a182..000000000 --- a/Calculators/Trigno-functions/Readme.md +++ /dev/null @@ -1,41 +0,0 @@ -Created Scientific Calculator with Trigonometric Functions and Inverse Trigonometric Functions with Best UI and Functionality - -Fixes Issue🛠️ - -Closes #1500 -[Feature] Add Scientific Calculator #1500 - -Description👨‍💻 -In this update, I've developed a fully functional scientific calculator that supports: - -Trigonometric functions such as sin, cos, tan -Inverse trigonometric functions like arcsin, arccos, arctan -Logarithmic functions (log, log10) -Square roots, cube roots, and other mathematical operations -A sleek dark-themed UI with enhanced usability and accessibility -This version also includes: - -Error handling for invalid input (e.g., "asin(0.5)" or "log(10)"). -Support for edge cases (e.g., logarithms with values <= 0). -A clear, user-friendly layout with all buttons styled appropriately, enhancing the overall experience. -Includes a "Clear" button for resetting the input, a "Delete" button for removing the last character, and an "Equals" button in an orange color to indicate its importance. -Type of Change📄 - - Bug fix (non-breaking change which fixes a bug) - New feature (non-breaking change which adds functionality) - Style (non-breaking change which improves website style or formatting) - Documentation (non-breaking change which updates or adds documentation) - Responsiveness (non-breaking change which improves UI/UX on different screen sizes) -Checklist✅ - - I am an Open Source contributor - I have performed a self-review of my code - My code follows the style guidelines of this project - I have commented on my code, particularly in hard-to-understand areas -Screenshots/GIF📷 - -Screenshot 2024-12-14 at 11 46 11 PM -
    -Example sin(30) = 0.500000 -Screenshot 2024-12-15 at 12 03 08 AM - diff --git a/index.html b/index.html index 84bc4da2e..d4c17561c 100644 --- a/index.html +++ b/index.html @@ -605,7 +605,7 @@

    Converts a number between different bases.

    Basic Calculator

    -

    Basic old school calculator for simple calculations

    +

    Basic old school calculator for simple calculations.

    +
    +
    +

    Scientific Calculator

    +

    Performs basic and complex mathematical operations.

    +
    +
    +

    Sentence Counter Calculator