Skip to main content

Solving the apitude problems

Project description

PyDMath Version - 0.1

Introduction

           This PyDMath is a mathematical module, with this you can able to perform a mathematical operations which includes mensuration, permutation and combination. We can use any use any type of measurement units but the output will return in SI standard units. This makes differ from other Python modules.

Math topics included till now

  • Mensuration
    • Area
    • Perimeter
    • Volume
  • Permutation
  • Combination

Input and Output format

           Inputs must be a string seperated by "-" for value and the unit. Value on left side and unit on right side. If the input unit is in centimeter, millimeter, kilometer and meter then the output unit will always be meter.

Mensuration

Sample code

from PyDMath import perimeter,area,volume
peri = perimeter()
ar = area()
vol = volume()
print(f"Perimeter of the shape {peri.circle('2-cm')}")
print(f"Area of the shape {ar.circle('2-cm')}")
print(f"Volume of the shape {vol.sphere('2-cm')}")

Shapes including

Perimeter and Area

Circle Square Rectangle Triangle Equilateral triangle Parallelogram Trapezium Isosceles triangle Rhombus

Volume

Sphere Cylinder Cube Rectangular prism Cone Hemi sphere Right rectangular prism

Permutation and Combination

Sample code

from PyDMath import fact,permutation,combination
# Factorial
print(fact(5))
perm = permutation()
co = combination()
print(perm.per(4,2))
print(co.comb(8,3))

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

numbersd-0.0.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

numbersD-0.0.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file numbersd-0.0.1.tar.gz.

File metadata

  • Download URL: numbersd-0.0.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.0

File hashes

Hashes for numbersd-0.0.1.tar.gz
Algorithm Hash digest
SHA256 04060836036e25df8dd2ab71640f660eaab04ee41e65ab8e46e5b671ef56c923
MD5 e481040f2b5f1ca987693488b9c0b8fb
BLAKE2b-256 40c1ca84ac6eaf4d3fc7cbcc5df4f0faed6c63dbff203ba1fabc25b1a95d83cd

See more details on using hashes here.

File details

Details for the file numbersD-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: numbersD-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.0

File hashes

Hashes for numbersD-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35d3957ae7f4dc185fe2d15dce11e6f56fb938756289131d9e350ebfd69ae97c
MD5 e374acbaada7224da2dd66257dc7c114
BLAKE2b-256 842375be677934a7ccddf95087cf62ebbebe96771421985ef02a397f618cf6d7

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