answersLogoWhite

0

No commands in C; the name of function sqrt is sqrt (include math.h; and use -lm at linkage)

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

What does sqrt function return?

square root of the argument


What is Dynamic Initialization in java?

Java allows us to perform 'dynamic initialization' of variables too.What this means is that you can initialize variables using expressions (as will be seen in the example).In the program, we have a int variable 'root' which has an initial defined value of 10. We then create another variable 'square' of the same data-type, which will store the square of root.//This program displays dynamic initialization in javapublicclassExample{publicstaticvoidmain(String args[]){introot=10; //root has a constant value assignedintsquare=root*root; //notice that square has "root*root" assigned to it//if u change the value of root,//the value of square changes accordingly//after each compilation//display the values of square and rootSystem.out.println("Root= " +root + " Square= "+square);}}


Are resistor heating affected by line frequency?

No. The heating effect is the product of the square of the current and resistance, where the current is a root-mean-square value.A.C. current is always expressed as a root-mean-square (r.m.s.) value, which is equivalent to a d.c. current which produces exactly the same heating effect. Root-mean-square values are affected by the shape of a waveform, but not by its frequency.


What is rms if sine wave is 20 cm peak to peak?

For a sine wave, the RMS is the amplitude divided by square root of 2. The amplitude is 10 cm. in this case; so the exact value is 10 / root(2), or about 7.For a sine wave, the RMS is the amplitude divided by square root of 2. The amplitude is 10 cm. in this case; so the exact value is 10 / root(2), or about 7.For a sine wave, the RMS is the amplitude divided by square root of 2. The amplitude is 10 cm. in this case; so the exact value is 10 / root(2), or about 7.For a sine wave, the RMS is the amplitude divided by square root of 2. The amplitude is 10 cm. in this case; so the exact value is 10 / root(2), or about 7.


Which is a correct static method call of Math class method sqare root?

double root = Math.sqrt(XXXXX); where XXXXX is the number for which you want to calculate the square root.

Related Questions

What is menning sudo command in Linux?

sudo will run a command with root privileges


How do you obtain root permissions in Linux?

You can obtain root permissions in Linux by using the "sudo" command before executing a command that requires elevated privileges. This allows you to temporarily act as the root user to perform administrative tasks. Alternatively, you can switch to the root user using the "su" command by entering the root user's password.


How do you run a command with root previlage on Linux?

Either login as the root user or type: sudo then the command you wish to run.


What does the sudo command do in linux?

When u put sudo before a command in terminal the command run with root privileges


How do you Locate the Linux root partition?

The root directory is indicated by a "/'. You can navigate to the root directory using the command 'cd /'.


How do you execute an Apache program in Linux?

Enter this command as root: "apachectl start"


To move to the root directory use the command?

For Unix/Linux, use the command 'cd /' For Windows, you can also use the same command or 'cd \'


Can you recover a root password in Linux?

No, none of the passwords used in a Linux system can be "recovered" because there isn't a reverse encryption for it. However, you can "reset" the root password by using the single-user mode at boot time (which puts you in the root account automatically) and then changing at that time.


Command used to go from User Mode to Privileged Mode is?

For Unix/Linux, use either the 'sudo' command or 'su' to the root account.


What is the function of square root in C programming?

it is sqrt in header math.h


What is the command to turn off Linux?

Virtually all Linux distributions will accept the "halt" command. Some also have a shutdown command, though this has additional parameters and is meant mainly to shut down the system at a certain time.


How do you create users in Linux?

To create a new user account under any Linux distribution use command called useradd. The system administrator is responsible for creating account. Login as root user (or use sudo command).