The number of ways to give image to each element of E in F is 2 . ∴ the total number of ways to give images to the elements of EinF=2×2×2×2
But in two of them all the clements of E have the same image 1 or the same image 2 (the mapping being into in these two cases). ∴ the number of onto functions =24−2=14