Dms 1sess
Dms 1sess
Subject Title & Code: Discrete Mathematical Structures & ECS – 303
Branch / Sem: CS / III Time: 2 hours M.M: 30
Roll No.: ……………………………
Note: Attempt all questions. All questions carry equal marks. (6*5=30)
Q2. a) Let f: RR and g: RR, where R is the set of real numbers. Find fog and gof, where
f(x) = x2-2 and g(x) = x+4. State whether these functions are injective, subjective and bijective.
b) What is meant by recursively defined function? Give the recursive function of factorial
function.
Q6. Fibonacci numbers Fn are defined by: F0 =1, F1 =1, Fn = Fn-1 + Fn-2 for all n>=2. Let the sequence
of numbers Gn be defined by, G1 =1, G2 =3, Gn = Gn-1 + Gn-2+1 for all n>=3. Prove with induction
that Gn =2Fn-1 for all n>=1.