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
)
)
)fedorpashin/physics
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|