Sha256: b9b740d8fe6a5a9e0be055c88f357622590735d65910ce1447fab0c2d500eb9d

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 KB

Contents

# gem 'physics_plus'
## Evolving set for solving problems in physics

I will try every week to add new gem functionality.


### plans to implement functions
- Mechanics
- Thermodynamics
- Optics
- Electrodynamics
- and others

### Installation
GEMFILE:
```
gem 'physics_plus'
```

INSTALL:
```
gem install physics_plus
```

EXAMPLE (List fundamental constants):
```
require 'physics_plus' => true

puts PhysicsPlus::Constants.List_fundamental_constants

Speed_light_vacuum => 299792458                           (Speed of light)
Gravitational_constant => 6.674484e-11                    (Gravitational constant)
Planck_constant => 6.62607015e-34                         (Constant Plank)
Reduced_Planck_constant => 1.0545717999999998e-34         (Dirac constant)
Elementary_charge => 1.6021766340000001e-19               (Elementary charge)
Boltzmanns_constant => 1.380649e-23                       (Boltzmann's constant)

to others

puts PhysicsPlus::Constants.List_planck_quantities
puts PhysicsPlus::Constants.List_different_systems_quantities
puts PhysicsPlus::Constants.List_electromagnetic_constants

PhysicsPlus::Constants::C => 299792458
PhysicsPlus::Constants::Speed_light_vacuum => 299792458

PhysicsPlus::Constants::G => 6.02214076e+23
PhysicsPlus::Constants::Gravitational_constant => 6.02214076e+23

PhysicsPlus::Optics.absolute_refractive_index(200_000_000) => 1.49896229
PhysicsPlus::Optics.power_lens(2) => 0.5

PhysicsPlus::ElementsTheoryRelativity.inertial_system_length(1.5, 200_000_000) => 1.1174144036800955
PhysicsPlus::ElementsTheoryRelativity.inertial_system_time(60, 200_000_000) => 80.54308205048527

PhysicsPlus::Quantums.equivalence_of_mass_and_energy(0.0000000001) => 8987551.787368177
```


### License

MIT

**Free Software, Hell Yeah!**

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
physics_plus-0.0.7 README.md