Giter VIP home page Giter VIP logo

phyton's Introduction

phyton

phyton

A physics library based on Python.

A Dynamics Physics Library

>>> from phyton import *
>>> distance = m[5]
>>> displacement = m[5, 5, 5]
>>> displacement
(5.0, 5.0, 5.0) m
>>> distance
5.0 m
>>> displacement.mag
8.660254037844387 m
>>> print(displacement.unit)
m
>>> print(area.unit)
m^2
>>> length = m[5]
>>> width = m[3]
>>> area = length * width
>>> area
15.0 m^2
>>> from phyton.constants import *
>>> v = (m/s)[10, 10]
>>> v.mag
(14.142135623730951+0j) m/s
>>> t = ms(100)
>>> d = v * t
>>> d
(1.0, 1.0) m
>>> B = T(10)
>>> r = m(0.5)
>>> A = pi * r**2
>>> A
0j = (0.7853981633974483+0j) m^2
>>> flux = B * A
>>> flux
0j = (7.853981633974483+0j) Wb
>>> exp3 = e(3)
>>> exp3
(20.085536923187664+0j)
>>> mach
Speed of Sound = (340+0j) m/s
Speed of Sound at 0= (331+0j) m/s
Speed of Sound at 20= (343+0j) m/s
>>> mach2 = mach(2)
>>> mach2
(680+0j) m/s
>>> g
Average Gravitational Field Strength of the Earth = (9.80665+0j) m/s^2
                                           GM/R^2 = (9.81997563319173+0j) m/s^2
                   Minimum g at the Earth Surface = (9.764+0j) m/s^2
                   Maximum g at the Earth Surface = (9.834+0j) m/s^2
                                School g Constant = (9.81+0j) m/s^2
                                  SJPO g Constant = (9.8+0j) m/s^2
                      Secondary School g Constant = (10+0j) m/s^2
            Gravitational Field Strength at poles = (9.832+0j) m/s^2
          Gravitational Field Strength at φ = 45° = (9.806+0j) m/s^2
          Gravitational Field Strength at equator = (9.78+0j) m/s^2
>>> g(10)
Gravitational Field Strength on Earth (at φ = 10°) = (9.781567991859564+0j) m/s^2

phyton's People

Contributors

thepyprogrammer avatar wafflesheep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wafflesheep

phyton's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.