Experimental investigation of the uncertainty principle in the presence of quantum memory and its application to witnessing entanglement Article uri icon