Skip to main content

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

This is a small indication of PhysicsNum.ForceLinearreg, where PhysicsNum.Linearreg is written in the same way.

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.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

PhysicsNum-0.1.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file PhysicsNum-0.1.1.tar.gz.

File metadata

  • Download URL: PhysicsNum-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for PhysicsNum-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a984c3d4a9bb76411b40ecb17b68456b84a55e9dcafb54aa214dcd8060fd157f
MD5 f27872c4b71a347f5f35957ac3feaff5
BLAKE2b-256 bfb887ae4431b86a9917a2a4506436d352e605786363ad239b07362e302ad5c8

See more details on using hashes here.

File details

Details for the file PhysicsNum-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: PhysicsNum-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for PhysicsNum-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea6d4b220b455ae88e0b815a87f4a3dbf5d83b948cedb37359f59ce3b6beb73c
MD5 9234d4c5d86f54eee12007eec656175e
BLAKE2b-256 48badfc5af3d41cd90bfa30cb20635e65e805d859cddfc3c27d41a3171a70927

See more details on using hashes here.

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