Skip to main content

Un simple module mathématique pour calculer le sinus d'un réel avec précision.

Project description

Bienvenue sur le guide de Mmath !

Le but de Mmath est de donner avec la plus grande précision possible la valeur certifiée du sinus de tout nombre réel (angle en radians modulo 2pi entre 0 et 2pi).

Cette précision théorique est de l'ordre de 10-100 et utilise les formules de Taylor-Lagrange pour les développements limités et les suites de Cauchy pour en certifier la convergence donc la stabilité et la précision.

Ce module pourra dans l'avenir être complété avec d'autres champs comme le cosinus et la tangente. Il est réalisé dans un but scolaire par Ibrahima BAH, Niloofar BAKHSHY, Nongma SORGHO et Kamran ASADOV.

Exemple d'utilisation

1. Installation

pip install mmath

ou encore

python3 -m pip install mmath

2. Import

import mmath

ou encore

from mmath import *

3. Obtention du sinus de pi/4 rad

import math
valeur = mmath.Mmath(math.pi/4).sin

ou

import math
valeur = Mmath(math.pi/4).sin

selon les imports.

DISCLAIMER

Ce module n'a pas vocation à remplacer le module de base math. Il est réalisé à titre scolaire et les auteurs ne sauraient en aucun cas être tenus responsables de sa mauvaise utilisation.

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

mmath-1.0.5.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

mmath-1.0.5-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file mmath-1.0.5.tar.gz.

File metadata

  • Download URL: mmath-1.0.5.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

File hashes

Hashes for mmath-1.0.5.tar.gz
Algorithm Hash digest
SHA256 dee3991203da9f26b157ce6cb8c497e8d5f3109bb85c71b33a2369be45f6a697
MD5 7f45d098ead4d844d689610797eaf372
BLAKE2b-256 0f070daeb694ed0e5ce9ac65479ea6a59b9934761c2bdcc574e28d8d05c9156c

See more details on using hashes here.

File details

Details for the file mmath-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: mmath-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

File hashes

Hashes for mmath-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 68450665337b235eb4531dc7d34a1adefc8bfa9478e926f54978f39d47914ea8
MD5 6d6ba94b4c071eaad0aced1e80fe0713
BLAKE2b-256 adb7b76a208992a370710901090a8aa3ef6db6a39c2746d1ec62faf36b5c7cff

See more details on using hashes here.

Supported by

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