you said 30 identical balls are given then for writing iuse "0" for a ball . Three identical boxes are given .I use the following method to find the answer:
I take two separater marks(/)and arrange the 0's inside them and outside them like 00/00.......0/00..0 ie., the 0's(no. of balls) before the separater marks go into the go into the first box and likewise. since no box should be empty, i club the first'/' with a 0 ie.,(0/) and secon with two 0's hence i have 27 identical balls and two distinct elements hence the no. of ways
= 29!/27! = 812
its true that knowledge is power ,
but its most useful with skill.