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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to print data of 5 five students with structures?

1604


What is the use of getch ()?

629


how to build a exercise findig min number of e heap with list imlemented?

1602


How can I trap or ignore keyboard interrupts like control-c?

614


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1293






What are logical errors and how does it differ from syntax errors?

654


When c language was developed?

633


What are the two forms of #include directive?

640


If fflush wont work, what can I use to flush input?

608


What are the types of assignment statements?

625


What is the difference between break and continue?

602


Why we use conio h in c?

580


What is the equivalent code of the following statement in WHILE LOOP format?

763


Explain what is wrong with this program statement? Void = 10;

761


How can I delete a file?

626