Locate image wells - MATLAB Cody - MATLAB Central

Problem 57497. Locate image wells

Difficulty:Rate
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

80.0% Correct | 20.0% Incorrect
Last Solution submitted on Feb 23, 2025

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers8

Suggested Problems

More from this Author291

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page