Skip to main content

meth - A simple Python library for mathematical functions

Project description

ma+h

A simple Python library for mathematical functions.

Installation

pip install ma-plus-h-math

Usage

from meth import sine
import math

# Calculate sine of 0
result = sine(0)
print(result)  # 0.0

# Calculate sine of π/2
result = sine(math.pi/2)
print(result)  # 1.0

# Calculate sine of π
result = sine(math.pi)
print(result)  # 0.0

Functions

sine(x)

Calculate the sine of an input value.

Parameters:

  • x (int or float): Input value in radians

Returns:

  • float: The sine value of the input

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ma_plus_h_math-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ma_plus_h_math-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file ma_plus_h_math-0.1.0.tar.gz.

File metadata

  • Download URL: ma_plus_h_math-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for ma_plus_h_math-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e272e1d573d153bcf6640a3f8a04361023168a0fcfd88ff5792d6d53025b941d
MD5 97c2eed5cd2ad3f99ac945b18174ef2e
BLAKE2b-256 c7b65c458441ed56cbca187474c31e888a06117b1784d94a15b05b051b38c841

See more details on using hashes here.

File details

Details for the file ma_plus_h_math-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ma_plus_h_math-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for ma_plus_h_math-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa274c1449f433f3d06bf3c70152c6231a00d8fc1835e0c6ce5eb580d5bef576
MD5 40ea8d6e2ac5005e7e2a83e638a6abcc
BLAKE2b-256 f0b1bd0640c8bbf03490c9503a815f4cc7f8a70035f2eaf6f064055b0bb82856

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page