sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2;
Find the value of x?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
do u print this format '(((())))'. This brackets is based on user input like 4 or 5 or 6,without using any loop's?
what is a stack
What do you understand by friend-functions? How are they used?
What are void pointers in c?
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year
What is the use of printf() and scanf() functions?
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
What are lookup tables in c?
What happens if you free a pointer twice?
What is selection sort in c?
Explain the difference between fopen() and freopen().
What is difference between the following 2 lines…. int temp = (int)(0x00); int temp = (0x00int);