Problem 57497. Locate image wells
A mathematical model of wells pumping groundwater near a boundary can be constructed using the method of images, which is also used in fluid mechanics, electrodynamics, and other fields. The method involves reflecting each well about the boundary as shown below: the image well lies on a line running through the real well and perpendicular to the boundary, and the distances between the wells and the boundary are equal.
If a well is pumping water near an impermeable soil unit, then the image well pumps in the same sense (i.e., either both extract water or both inject water): the components of the water velocity perpendicular to the boundary cancel each other and satisfy the condition of no flow across the boundary. If the well is pumping near a river, then the image well pumps in the opposite sense (i.e., one well extracts and the other injects). At the boundary, the water injected by one well replaces the water extracted by the other, and the head, which is related to the water level, is constant on the boundary.
Write a function that takes coordinates of the real wells and coordinates of two points on the boundary and returns the coordinates of the image wells. For this problem you do not have to indicate the sense of the pumping.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers7
Suggested Problems
-
1601 Solvers
-
Get the area codes from a list of phone numbers
1057 Solvers
-
620 Solvers
-
I've got the power! (Inspired by Project Euler problem 29)
120 Solvers
-
42 Solvers
More from this Author281
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!