import physics as ph
print(
ph.IntegroInterpolationMethod().solution(
ph.HeatEquation(
interval=(interval := ph.Interval(0, 2)),
k=lambda x: x**2 + 3,
q=lambda x: 10,
f=lambda x: 4 * (x**2 + 11),
left_boundary_condition=ph.FirstTypeBoundaryCondition(5),
right_boundary_condition=ph.FirstTypeBoundaryCondition(9)
),
ph.UniformGrid(
interval=interval,
num_parts=10
)
)
)
-
Notifications
You must be signed in to change notification settings - Fork 0
License
fedorpashin/physics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published