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 |
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
What are the different flags in C? And how they are useful? And give example for each in different consequences?
difference between semaphores and mutex?
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); } }
how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"
Write a program that receives as input a number omaadel-n-print, four digits.
What are Macros? What are its advantages and disadvantages?
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
Can u return two values using return keyword? If yes, how? If no, why?
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.
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;
what is the difference between %d and %*d in c languaga?