How do i use the Gaussian function with a Naive Bayes Classifier?
You got the Bayes theorem wrong. There should be a plus in the denominator:

(child gauss x child prob)/(child gauss x child prob + adult gauss x adult prob) 

(adult gauss x adult prob)/(child gauss x child prob + adult gauss x adult prob)