Given:f(0)=5andf(n)=f(n−2)+5Tofind:f(14)
Putn=14intherecursivedefinitionoffunction
weget−
∴f(14)=f(14−2)+5=f(12)+5⟹f(14)=(f(12−2)+5)+5=f(10)+10⟹f(14)=(f(10−2)+5)+10=f(8)+15⟹f(14)=(f(8−2)+5)+15=f(6)+20⟹f(14)=(f(6−2)+5)+20=f(4)+25⟹f(14)=(f(4−2)+5)+25=f(2)+30⟹f(14)=(f(2−2)+5)+30=f(0)+35⟹f(14)=5+35=40(∵f(0)=5)∴f(14)=40