Chaotic dynamics for maps in one and two dimensions: A geometrical method and applications to Economics