this is done using integral solution method..
 
let x - no. of single steps
let y - no of double steps
 
x + 2y = 22
x = 22 - 2y
 
the possible values of y for x >= 0
y = 0,1,2,3,4,5,6,7,8,9,10,11
 
hence no.of integral solutions is 12
 
 

--
Ankur Khetrapal
+919818392794

The best way to make your dreams come true is to wake up

Reply via email to