Name:- Amit Kumar Reg No - 72112121
MyMathLib is a Python library designed to simplify basic mathematical operations and provide additional utility functions for numeric calculations. The library aims to be user-friendly, efficient, and versatile for a wide range of mathematical tasks.
MyMathLib includes the following core mathematical operations:
- Addition: Adds two numbers together.
- Subtraction: Subtracts the second number from the first.
- Multiplication: Multiplies two numbers together.
- Division: Divides the first number by the second.
- Modulo: Returns the remainder of dividing the first number by the second.
- Power: Raises the first number to the power of the second.
In addition to basic operations, MyMathLib provides utility functions for more advanced calculations:
- is_even: Checks if a number is even.
- absolute_value: Returns the absolute value of a number.
To install MyMathLib, you can use pip
:
pip install mymathlib