germany , europe 's number one and the world 's third largest economy , till recently used to be the second largest investor in india , after the united states , but had gone down to the tenth position after 1990 .