answersLogoWhite

0


Best Answer

#include <cmath> // simple version #include <complex> // complex version

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which library header is to make sqrt function?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the function of square root in C programming?

it is sqrt in header math.h


How do you find the square root of a number in C?

You write a function that evaluates the square root of its argument and returns the result to the caller.You can also use the run-time library functions in math.h ...double sqrt (double x);double pow (double x, (double) 0.5);


What does sqrt function return?

square root of the argument


What is pre-defined function in c?

Predefined functions in C are those that are part of the C library. These are present in any of the various headers that can be included in a program. For example, the function double sqrt(double) present in &lt;math.h&gt; that computes the square root of the argument passed to it.


How do you make 6 using 3 tens by using any symbols?

[sqrt(10)] * {[sqrt(sqrt(sqrt(10)))] + [sqrt(sqrt(sqrt(10)))]} where [x] is the symbol for the integer part of x.


What is the trigonometric function sec?

The function sec(x) is the secant function. It is related to the other functions by the expression 1/cos(x). It is not the inverse cosine or arccosine, it is one over the cosine function. Ex. cos(pi/4)= sqrt(2)/2 therefore secant is sec(pi/4)= 1/sqrt(2)/2 or 2/sqrt(2).


Why to use header file to easy know?

in the java as we use the inheritance property in the same way we can get the the inheritance property in c by using the prepared header files( .h files). there a single program in c use the many methods of many header files like math.h give us to use the use of floor(), sqrt() e.t.c. functions..


The function h(x) is a transformation of the square root parent function, f(x) = \sqrt xf(x)= x​ . What function is h(x)?

The square root function is one of the most common radical functions, where its graph looks similar to a logarithmic function. Its parent function will be the most fundamental form of the function and represented by the equation, y =sqrt {x}.


How do you know if a graph is a function or not?

As long as the line represented on the graph has no vertical segments then it may be represented by a function. * * * * * That is not enough. y = sqrt(x) has no vertical segments but it is not a function in the mathematical sense. A function cannot map an x value to more than one y value. Clearly, the above function maps x to -sqrt(x) and +sqrt(x) and so is not a function. However, there no vertical segment. No matter how close you get to x = 0, there is still a curve and the segment is not vertical.


Do two irrational numbers divided ever make a rational?

Yes. Sqrt(8) and sqrt(2) are both irrational. sqrt(8)/sqrt(2) = sqrt(8/2) = sqrt(4) = 2 is rational.


Is y equals the square root of x plus 27 a function of x?

No, without any restriction in the range, it is not a function. If it were a function, each value of x could have at most one value of y.However, suppose x = 0. Then y = sqrt(0 + 27) = sqrt(27) = -3*sqrt(3) and + 3*sqrt(3) that is, there are two possible values of y for x = 0. The same is true for each value of x &gt; -27.


Why you pass arguments to function in c plus plus?

You pass arguments to functions because that is how you tell the function what you want it to do. If you had, for instance, a function that calculated the square root of something, you would pass that something as an argument, such as a = sqrt (b). In this case sqrt is the function name, b is passed as its argument, and the return value is assigned to a.