answersLogoWhite

0

#include <math.h> and link to the math library, then you can use pow(base, exponent).

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

Is it advisable to correct the power factor to unity?

power factor depends on the load being fed if the load is entirely resistive power factor will be unity ..if the load includes an inductor or capacitpr due to phase displacement between v and i the pf will be lag or lead respectievly


What is the Measurement of power energy power factor?

Power - Watt. Energy - Watt Hour. Power factor - no unit. just number less than or equal to 1.


How is nusselt number related to prandtl number in heat transfer?

The Nusselt number is proportional to the Prandtl number to the nth power, where n is a positive number less than one.


Where can you purchase DC power supplies?

There are a number of places where one can purchase direct current (DC) power supplies. Metric Test, EMCO High Voltage , and CY Power are three sources of SC power supplies.


How do you raise a number to a power We can use pow function using math.h file?

Unfortunately, there is no power function in C/C++, so you'll have to make one yourself. I made one a few days ago, here it is: int power (int one, int two) { int temp = one, counter = 1; while (counter { temp *= one; counter++; } return temp; } /* PROGRAM TO CALCULATE THE VALUE OF X RAISED TO GIVEN POWER*/ #include &lt;stdio.h&gt; #include &lt;math.h&gt; #include &lt;conio.h&gt; main() { int x,power; float result; clrscr(); printf("Enter the value of x:"); scanf("%d",&amp;x); printf("Enter the value of power:"); scanf("%d",&amp;power); result=pow(x,power); printf("The value of %d^%d is %f",x,power,result); getch(); return; }

Related Questions

How do you raise a number to the 2nd power?

Multiply the number by itself.


What is a number raised to the third power called?

When you raise a number to the third power, you get the 'cube' of the original number.


How do you raise a number to the power of three?

Multiply the number by itself three times. For example: if you want to raise the number 2 to the third power then 2^3=2x2x2=8.


Why is a number raised to the third power called cubed?

When you raise a number to the third power, you get the 'cube' of the original number


How do you raise a number to its second power?

Multiply it by itself.


How do you raise a number to the power of 115?

You multiply the number by itself 115 times.


When you multiply a number by itself you raise the number to the second-?

It is raised to the second power


Can you raise a number to the power of a matrix?

yes by someom e


When you multiply a number by itself you raise the number to the second?

Yes the number is raised to the second power


What is the power to which it is necessary to raise a base number to produce a desired number?

The logarithm of that number to the base.


Why we cancel e by ln?

The definition of the natural log ln of a number is the power that you have to raise e to in order to get that number. Therefore, ln(2x+3) is the power you have to raise e to to get 2x + 3.


Why won't the power raise or lower front of seat?

There are a number of reasons why your power will not raise or lower a front seat. It may be that your power source is not properly connected or that a motor has died.