Skip to content

terracraft321/pycalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

pycalc

Python Calculator

This is a simple calculator written in Python that can perform a variety of mathematical functions. It includes a matrix calculator, a linear equation solver, and a general calculator for basic arithmetic operations.

Features Matrix calculator: Given a matrix in the form [[a, b, c], [d, e, f], [g, h, i]], the matrix calculator will print the matrix, its determinant, inverse, transpose, mean, median, and standard deviation. Linear equation solver: Given a coefficient matrix and a constant vector, the linear equation solver will solve the system of equations and print the solution. Calculator: The calculator allows the user to enter any mathematical expression (e.g. 2 + 3, 4 * 5, 6 ** 2) and will evaluate and print the result.

How to use Clone or download the repository. Navigate to the directory containing the pythoncalc.py file. Run the script with python pythoncalc.py. Follow the prompts to select and use the desired calculator. To exit the program, select the Quit option from the main menu.

Requirements Python 3 NumPy library (included in the standard Python library)

About

Python Calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages