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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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