Two problems in magneto (electro) statics