adspace


f(X)= 2X-1 + f(X-1) if X is not equal to zeroandiff(X=0)=0, If f(X)= f(X-1)+f(X-2) for X>1 then X= ?

Answer Posted / Dhiraj Singh Garbyal

This question involves two different recurrence relations. For X > 1, the given relation is f(X) = f(X-1) + f(X-2). We can rewrite this as f(X-1) = f(X) - f(X-2), and then we can use the initial relation (f(X)= 2X-1 if X is not equal to zero and diff(X=0)=0) to find out the value of f(X-2). However, this requires solving a recursion which doesn't have an explicit solution.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hai frnds pls give me some tips and traps about HP software company interview for freshers.am a B.E CSE fresher.hoe will be the interview?how many days it will be conducted?how will be apps round?technical round?hr round?pls help me if any one known means.send me that pattern by vijay ,chennai

2534


all apscsc question papers

2579


pls help about karnataka bank officers exam paper and guide me about pattern pls total time given and different sub they asked in exam?

3044


i want epf model paper.please send me

2350


hai friends i have finished my B.E CSE in 2009.now i have to get a interview opportunity from HP software ,chennai.please any one can send me the last year(2009) interview questions with answers for freshers.i want a full details about HP's interview question with answers,procedures also.such these one year i had try to get my job but still i have not get.so plese send me that what i said....by vijay,chennai

2640


Respected Sir/Mem Plz send me all 5 years solved question papers of sbi clerk on my Gmail id and that is chandelmishel@gmail.com

2498


what is the exact qualifing marks for group 1 prelims

2417


1. Profit and loss problem.. Two mercants sold a good of worth Rs 1000 from which one merchant A got profit from selling prices and merchant B got profit form cost price and profit for both is 25% what is difference amount.? 2.5lts solution bottles in which 4 lts of solution is filled in which 15 % of salt is mixed,1.5 lits solution is fell out and it is filled with water how much of salt content is present..? 3.Square of 21 cms and bull was tied at corner with rope of 7 cms how much area it can graze... 4.A and B can do a work 15 and 20 days respectively form which A as done half of the work and then b joind then it done 1/20th work how much many days in which a complted work which left by B.

2064


Find the value of the 678 to the base 7.

1284


electrical question in diploma level

7872


hai am Deepak here i have my exam on 3rd jan 2010 for the post of officers job in karnataka bank so kindly plz send me model papers . thank u

3133


Sir iam going to write exam for the post of Officers under training in APSRTC. Please send me the model papers to my mail ganjiramji@gmail.com

2339


C1,C2 upto Cn are n cities in a country.There are some roads connecting these cities.They are connected in such a that Crth city has r distinct routes connecting each of the other city in the country. 1)if n=27,then how many roads are there in a country? 2)if n=4,in how many distinct routes,can a person travel from c3 to c2?

3104


hi had any body attended bank of interview plz........ share your experience

2330


I need Matrix and Series questions with solutions.

2509