(1)由A={1,2,3,4},f(x)=log2x,x∈A,分别求出f(1),f(2),f(3),f(4)的值,再由集合B={y|y=f(x)},能求出集合B.
(2)由A={1,2,3,4},B={0,1,log23,2},能求出A∩B和A∪B.
【解析】
(1)∵A={1,2,3,4},f(x)=log2x,x∈A
∴f(1)=log21=0,
f(2)=log22=1,
f(3)=log23,
f(4)=log24=2,
∵集合B={y|y=f(x)},
∴B={0,1,log23,2},…..(6分)
(2)∵A={1,2,3,4},B={0,1,log23,2},
∴A∪B={0,1,log23,2,3,4},…..(9分)
A∩B={1,2}.…..(12分)