Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Calculator Application

Introduction

This project is a comprehensive calculator application designed to perform a variety of mathematical operations. The main objective is to provide users with a simple yet powerful tool for basic and advanced calculations. The application supports various functions, including arithmetic operations, trigonometric functions, and exponential calculations.

Purpose and Objectives

The primary goal of this project is to create an easy-to-use calculator that can handle both basic arithmetic and complex mathematical functions. The objectives include:

  • Implementing a user-friendly interface.
  • Supporting various mathematical operations.
  • Ensuring accuracy in calculations and precision handling.

Technologies Used

  • Programming Language: C
  • Libraries: Standard C libraries for mathematical functions.

Features

  • Basic Operations: Addition, subtraction, multiplication, and division.
  • Trigonometric Functions: sin, cos, tan, arcsin, arccos, arctan.
  • Exponential Functions: e^x and 10^x.
  • Decimal Input: Supports decimal numbers and precision handling.
  • Additional Functions: Reciprocal, square root, cubing, and squaring.

Execution Instructions

Prerequisites

  • C compiler (e.g., GCC)
  • Windows operating system (for Windows-specific code)

Build Instructions

  1. Clone or download the repository to your local machine.
  2. Navigate to the project directory in the terminal or command prompt.

Windows

  1. Run the following command to compile the code:

    gcc calc.c -o calculator
  2. Execute the compiled executable file:

    .\calculator

Usage

  • Use the buttons on the calculator interface to perform calculations.
  • Enter numbers using the numerical buttons (0-9) and the decimal button (.).
  • Use the function buttons (+, -, *, /) for arithmetic operations.
  • Access trigonometric and exponential functions using their respective buttons.

Notes

  • The calculator interface may vary depending on the window manager and theme settings of your system.
  • Ensure that you have the necessary permissions to execute the compiled executable file.

Enjoy using the calculator application for all your mathematical needs!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages