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

Why c is known as a mother language?

0 Answers  


What is variable in c with example?

1 Answers  


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

0 Answers  


Differentiate fundamental data types and derived data types in C.

0 Answers   HCL,


Explain Basic concepts of C language?

0 Answers   EXL,






what is the little endian and big endian?

1 Answers  


What does c mean?

0 Answers  


Why array starts with index 0

2 Answers  


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

0 Answers  


DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

2 Answers   Wipro,


What is the difference b/w Structure & Class?

3 Answers  


why we are using semicolon at the end of printh statment

2 Answers   HCL,


Categories