Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2;
Find the value of x?

Answers were Sorted based on User's Feedback



sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x?..

Answer / soundararajan krishnan

I think the actual question may be like
sqrt(x+sqrt(x+sqrt(x+sqrt(x+...))))=2;
Find the value of x?

When we solve this the value of x is 2.

Let A = sqrt(x+sqrt(x+sqrt(x+sqrt(x+...)))) ------(1)
We can write this as,

A = sqrt (x+A) ------(2) using formula (1)

Since A = sqrt(x+sqrt(x+sqrt(x+sqrt(x+...)))) = 2,

we can write the equation (2) as,

2 = sqrt(x+2)

square this equation,

4 = x+2

Then x = 2.

Is This Answer Correct ?    20 Yes 4 No

sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x?..

Answer / karthik

the value of x=4;
start from the innermost sqrt
1.sqrt(4)=2;
2.sqrt(4+2)=sqrt(6)=2// since ans is (2 root 3)it will
consider only 2 and left root 3
3.sqrt(4+2)=sqrt(6)=2

in the last root (sqrt(4+2))= ans is 2 root(3) just elimnate
root(3)

thus the remaining ans is 2

there fore X=4////

Is This Answer Correct ?    13 Yes 13 No

sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x?..

Answer / chandan

Here x will be 2.028530
only then the exact value of
the given expression will be 2.
Because if we pass int value &
it will handle like float value
otherwise its o/p will be 0.So
here we have to use %f in the
printf statement to get actual
value of given expression.

Is This Answer Correct ?    0 Yes 2 No

sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x?..

Answer / rukmanee

the value of x=1

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More C Interview Questions

the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0

1 Answers  


What are the different flags in C? And how they are useful? And give example for each in different consequences?

1 Answers  


difference between semaphores and mutex?

1 Answers  


what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }

1 Answers  


how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"

4 Answers   Wipro,


Write a program that receives as input a number omaadel-n-print, four digits.

0 Answers  


What are Macros? What are its advantages and disadvantages?

0 Answers   TCS,


Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }

4 Answers   Subex,


Can u return two values using return keyword? If yes, how? If no, why?

7 Answers  


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

0 Answers  


Which of the Following will define a type NODE that is a node in a Linked list? A)struct node {NODE*next;int x;};type def struct node NODE; B)typedef struct NODE {struct NODE *next;int x;}; C)typedef struct NODE {NODE *next;int x;}; D)typedef struct {NODE *next;int x;}NODE;

5 Answers   Accenture, TCS,


what is the difference between %d and %*d in c languaga?

7 Answers   TCS,


Categories