Numerical methods provided to solve different methods in university studies
Project description
PhysicsNum
Physics Numerical methods applied and used during the bachlelor degree in Physics at Lund University. Most notbly is the numerical approximation methods and similar. The code regression works upon least square methods, and weighted least square methods and have been verified. If an issue occurs when using this package, contact via GitHub for a fast solution.
Code
xlist1 = np.array([1,2,3,4,5,6,7,8,9,10])
ylist1 = np.array([4,6,9,10,12,14,16,18,20,21])
Model = ForceLinearreg(xlist1, ylist1)
print(Model)
plt.plot(xlist1, ylist1, '.', label = "DATA")
plt.plot(xlist1, xlist1 * Model[0], '-', label = "Regression")
plt.legend()
plt.show()
Contribute
Feel free to contribute to this code, it is found on Github under the authors name.
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
PhysicsNum-0.0.7.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file PhysicsNum-0.0.7.tar.gz
.
File metadata
- Download URL: PhysicsNum-0.0.7.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e557321a32941827f47867461f18f08af93eeb4cad0e859603ffe633b6d28896 |
|
MD5 | 86d77ab0891d4bfc7c83dbaefc249f4f |
|
BLAKE2b-256 | 239147382f0c321f8de069ba54dddbe05a49be309be4457136a0fec111d97cdb |
File details
Details for the file PhysicsNum-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: PhysicsNum-0.0.7-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 915bbcdaf8eb611d479e632c8e71a8ed351bb8970d202bf1d578aa0ff21d0328 |
|
MD5 | 0172cc5d79260a9b01c2886e120657d0 |
|
BLAKE2b-256 | 4a1e90c52d8c71569e4d9670d79c97ea8a6090224f0b41b63b16725f5a631b1e |