A Python module to make a Taylor serie of a given formula
Project description
Python Taylor serie creator
A Python module to create a Taylor serie of a given formula
Usage
Calculate Taylor serie
The solutions is a symexpress3 object
>>> import sym3taylorserie
>>> objTaylor = sym3taylorserie.Sym3TaylorSerie()
>>> objTaylor.formula = "(1+x)^^3"
>>> objTaylor.calcTaylorSerie()
>>> print( f"Taylor serie: {objTaylor.taylorSerie}\n" )
Taylor serie: 1 + 3 * x * factorial( 1 )^^-1 + 6 * x^^2 * factorial( 2 )^^-1 + 6 * x^^3 * factorial( 3 )^^-1
Options
Options for the Taylor serie
>>> import sym3taylorserie
>>> objTaylor = sym3taylorserie.Sym3TaylorSerie()
>>> objTaylor.steps = 10
>>> objTaylor.baseValue = 3
>>> objTaylor.diffVar = "x"
>>> objTaylor.formula = "(1+x)^^3"
>>> objTaylor.calcTaylorSerie()
>>> print( f"Taylor serie: {objTaylor.taylorSerie}\n" )
Taylor serie: 64 + 48 * (x + (-1) * 3) * factorial( 1 )^^-1 + 24 * (x + (-1) * 3)^^2 * factorial( 2 )^^-1 + 6 * (x + (-1) * 3)^^3 * factorial( 3 )^^-1
>>> for iIndex, valSym3 in enumerate(objTaylor.taylorValues): print( f"{iIndex}: {valSym3}\n")
0: 64
1: 48
2: 24
3: 6
Command line
python -m sym3taylorserie
- Help: python -m sym3taylorserie -h
- Taylor serie: python -m sym3taylorserie "(1+x)^^3"
Graphical user interface
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sym3taylorserie-0.0.1.tar.gz
(25.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sym3taylorserie-0.0.1.tar.gz.
File metadata
- Download URL: sym3taylorserie-0.0.1.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2036607f7ce578f2b9ca189423915750596a1d360409225c7aceb402883f6d18
|
|
| MD5 |
0f32e57feba274a9cf6b540bb1e4e013
|
|
| BLAKE2b-256 |
a3d9f6e03084ef2cfb3afcd2c874865ed7f203250168e0432036a0eb09bd2e83
|
File details
Details for the file sym3taylorserie-0.0.1-py3-none-any.whl.
File metadata
- Download URL: sym3taylorserie-0.0.1-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4380aff1dcb1092abf46e83a7313692a45324454eb59c3b19ee734aa661e3124
|
|
| MD5 |
32a41c50d246e92a98e823db123ba2f4
|
|
| BLAKE2b-256 |
8cc1918dd6d2444134317cb764e80e9c07b33d8c5c6c9bbd465a504198d3eb4d
|