document.write( "Question 989434: Ahmed's family consists of ahmed, his wife and some children. The average age of all family is 22 years.if ahmed age is 46 years old, and the average age of his wife and children is 18 then how many children there in the family\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #609860 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Ahmed's family consists of ahmed, his wife and some children.
\n" ); document.write( " The average age of all family is 22 years.
\n" ); document.write( " if ahmed age is 46 years old, and the average age of his wife and children is 18 then how many children there in the family
\n" ); document.write( ":
\n" ); document.write( "let n = the number of children in the family
\n" ); document.write( "let a = the average of the children's ages
\n" ); document.write( "let w = his wife's age
\n" ); document.write( ":
\n" ); document.write( "\"The average age of all family is 22 years. Amed is 46.\"
\n" ); document.write( "\"%28w+%2B+na+%2B+46%29%2F%28%28n%2B2%29%29\" = 22
\n" ); document.write( "multiply both sides by (n+2)
\n" ); document.write( "w + na + 46 = 22(n+2)
\n" ); document.write( "w + na + 46 = 22n + 44
\n" ); document.write( "w + na = 22n + 44 - 46
\n" ); document.write( "w + na = 22n - 2
\n" ); document.write( ":
\n" ); document.write( "\"the average age of his wife and children is 18\"
\n" ); document.write( "\"%28w+%2B+na%29%2F%28n%2B1%29\" = 18
\n" ); document.write( "From the 1st simplified equation we can replace (w+na) with (22n-2)
\n" ); document.write( "\"%2822n-2%29%2F%28n%2B1%29\" = 18
\n" ); document.write( "22n - 2 = 18(n+1)
\n" ); document.write( "22n - 2 = 18n + 18
\n" ); document.write( "22n - 18n = 18 + 2
\n" ); document.write( "4n = 20
\n" ); document.write( "n = 20/4
\n" ); document.write( "n = 5 children in the family
\n" ); document.write( "
\n" );