Something like this is used to design speakers (and countless other things).