The cell reaction for a Daniell cell is:
Zn(s)+Cu2+(aq)→Zn2+(aq)+Cu(s)
According to the Nernst equation at 298 K:
Ecell=Ecell∘−20.0591log[Cu2+][Zn2+]
For the first case (E1):
[Zn2+]=0.01 M=10−2 M and [Cu2+]=1.0 M
E1=Ecell∘−20.0591log(110−2)=Ecell∘−20.0591(−2)=Ecell∘+0.0591 V
For the second case (E2):
[Zn2+]=1.0 M and [Cu2+]=0.01 M=10−2 M
E2=Ecell∘−20.0591log(10−21)=Ecell∘−20.0591(2)=Ecell∘−0.0591 V
Comparing E1 and E2, we get E1>E2.