f(X)= 2X-1 + f(X-1) if X is not equal to zero and if f(X=0)=0, If f(X)=4f(X-1) then the value of X=?



f(X)= 2X-1 + f(X-1) if X is not equal to zero and if f(X=0)=0, If f(X)=4f(X-1) then the value of X=?..

Answer / Roopesh Gangwar

This problem involves a recursive function with two different rules depending on the value of X. To find the value of X for which the two rules match, we can set the two expressions equal to each other and solve for X. Let's denote f(X) as y. Then, 2X-1 + y = 4(y - 1) becomes 2X = 5y - 3. Solving for y, we get y = (2X + 3)/5. Setting y back to f(X), we find that f(X) = (2X + 3)/5 when X is an integer. However, it's important to note that this equation doesn't necessarily provide the exact value of X for a given f(X).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More General Aptitude Interview Questions

sir , i hv done 85 correct question in ssc cgl-tier-i 2010 after checking through my source which is correct , tell me whether i m eleigible for tier-ii or not charan , jalandhar

1 Answers  


hi friend generally short forms are asked in Net Solutions paper.i m writing them below

2 Answers   Accenture, Net Solution,


The cost of four dozen proof machine ribbons and five dozen accouting machine ribbons was Rs.160/-. If one dozen accounting machine ribbons cost Rs.20/-, what is the cost of a dozen proof machine ribbons?

4 Answers   TCS,


In a family there are many children , boy have equal no.of brothers&sisters, girl have twice no.of brothers&sisters .Find the no.

5 Answers  


A worker earns a 5% raise. A year later, the worker receives a 2.5% cut in pay, & now his salary is Rs.22702.68 What was his salary to begin with?

3 Answers  


A wall with no windows is 11 feet high and 20 feet long. A large roll of wall paper costs Rs 25 and will cover 60 sq feet of wall. A small roll of wallpaper costs Rs 6 and will cover 10 sq feet of wall. What is the least cost for enough wallpaper to cover the wall? a) Rs 132 b) Rs 75 c) Rs 120 d) Rs 99

5 Answers   eClerx, XL Dynamics,


A man travels from A to B at 4 mph over a certain journey and returns over the same route to A, at 5 mph. What is his average speed for the journey?

13 Answers   HCL, TCS,


The sum of series 1+1(1+1/n)+3(1+1/n)2+…. Is equal to

1 Answers   eLitmus,


2 oranges,3 bananas and 4 apples cost Rs.15 . 3 ornages 2 bananas 1 apple costs Rs 10. what is the cost of 3 oranges, 3 bananas and 3 apples

1 Answers   Accenture,


sir iam asking you assistant stastical officer previous question paper

0 Answers  


How much area in sqmt of 14 fit dia cirlce???

6 Answers   IBM,


the ratio of white balls to black balls is 1:2. if 9 balls are added then the ratio of the balls become 2:4:3. find the number of black balls. a) 12 b) 6 c)9 d)none

7 Answers   CTS, TCS,


Categories