A quadratic model for electromagnetic subsurface prospecting