An open API service indexing awesome lists of open source software.

https://github.com/staff6773/scientific-calculator

A scientific calculator for console developed in c#
https://github.com/staff6773/scientific-calculator

Last synced: about 2 months ago
JSON representation

A scientific calculator for console developed in c#

Awesome Lists containing this project

README

        

# Scientific Calculator in C#

This project is a scientific calculator developed in C# that works in the console. It allows you to perform basic mathematical, trigonometric, exponential, and other advanced functions.

## Features

- Addition, subtraction, multiplication, and division.
- Trigonometric functions: sine, cosine, tangent, arcsine, arccosine, arctangent.
- Exponential and logarithm.
- Square root.

## How to Use

1. Clone this repository to your local machine.
2. Open the project in your favorite C# IDE.
3. Build the project and run the application.
4. Follow the on-screen instructions to use the calculator.

## Usage Examples

```csharp
// Example of addition
double result = Add(5, 3);
Console.WriteLine(result); // Output: 8

// Example of sine
double result = Sine(30);
Console.WriteLine(result); // Output: 0.5
```

# Contributing

If you want to contribute to this project, please follow these steps:

- Fork the repository.
- Create a new branch (git checkout -b feature/new-feature).
- Make your changes and commit them (git commit -am 'Add new feature').
- Push to the branch (git push origin feature/new-feature).
- Create a new Pull Request.