Skip to content

Commit

Permalink
Added changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakesh9100 authored Dec 14, 2024
1 parent fb8a79e commit 9a0274c
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 50 deletions.
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

28 changes: 28 additions & 0 deletions Calculators/Scientific-Calculator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# <p align="center">Scientific Calculator</p>

## 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)
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Scientific Calculator</title>
<link rel="stylesheet" href="style.css">
<title>Scientific Calculator</title>
</head>
<body>
<div class="container">
Expand All @@ -22,7 +22,6 @@ <h2>How to Use</h2>
<li><b>Power (x²):</b> Click "x²" for squaring a number.</li>
<li><b>Clear:</b> Click "C" to clear the display, or "DEL" to delete the last entered character.</li>
<li><b>Equals:</b> Click "=" to evaluate the expression.</li>
<p>Coded by <a href="https://github.com/Shashikumar-ezhilarasu" target="_blank" style="color: #b39be5; text-decoration: none;">Shashikumar</a></p>
</ul>
</div>

Expand Down Expand Up @@ -87,4 +86,4 @@ <h2>How to Use</h2>

<script src="script.js"></script>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ function calculateResult() {

function toRadians(degrees) {
return degrees * (Math.PI / 180);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ button:nth-last-child(2) {

.calculator-box {
width: 100%;
}
}
41 changes: 0 additions & 41 deletions Calculators/Trigno-functions/Readme.md

This file was deleted.

16 changes: 15 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ <h3>Converts a number between different bases.</h3>
<div class="box">
<div class="content">
<h2>Basic Calculator</h2>
<h3>Basic old school calculator for simple calculations</h3>
<h3>Basic old school calculator for simple calculations.</h3>
<div class="card-footer">
<a href="./Calculators/Basic-Calculator/index.html" target="_blank">
<button>Try Now</button>
Expand Down Expand Up @@ -4844,6 +4844,20 @@ <h3>Determines how much you need to save each month to reach your savings goal.<
</div>
</div>
</div>
<div class="box">
<div class="content">
<h2>Scientific Calculator</h2>
<h3>Performs basic and complex mathematical operations.</h3>
<div class="card-footer">
<a href="./Calculators/Scientific-Calculator/index.html" target="_blank">
<button>Try Now</button>
</a>
<a href="https://github.com/Rakesh9100/CalcDiverse/tree/main/Calculators/Scientific-Calculator" title="Source Code" target="_blank">
<img src="./assets/images/github.png" alt="Source Code"></img>
</a>
</div>
</div>
</div>
<div class="box">
<div class="content">
<h2>Sentence Counter Calculator</h2>
Expand Down

0 comments on commit 9a0274c

Please sign in to comment.