Skip to content

RafaelLuz/odelabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odelabs - Ordinary Differential Equations Labs

This package intends to provide tools for analysing and solving second order linear ordinary differential equations.


Table of Contents


Installation

pip install odelabs

Usage

Consider the second order linear differential operator given by

equation,

where the functions are real and defined at the compact interval equation, and mixed boundary conditions of the form

equation

equation

obeying equation.

Boundary Conditions

In general case,

equation

>>> from odelabs import BoundaryCondition as BC

>>> lbc = BC(x=0, a=0, b=1, c=3)  # Nonhomogeneous Neumann BC at x=0
>>> lbc
Boundary Condition: y'(0) = 3

>>> ubc = BC(x=1, a=1, b=0, c=0)  # Homogeneous Dirichlet BC at x=1
>>> ubc
Boundary Condition: y(1) = 0

>>> poly = BC.fit_polynomial(lbc, ubc)
>>> poly
-3.0 + 3.0·x¹

License

The MIT License

About

Ordinary Differential Equations Labs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages