main()
{
int i,n,p,v;
printf("enter the number of terms");
scanf("%d",&n);
for(i=2;i<=n;i++)
{
for(j=1;j<i;j++)
{
if(i%j==0)
v=v+1;
else
p=p+1;
}
}
printf("%d is a prime",i);
}
check this out
#include<stdio.h>
#include<math.h>
bool is_prime (const unsigned num) {
if (num<2) return false;
if (!(num%2)) return num==2;
const unsigned max = sqrt (num) + 1;
for (unsigned div=3; div<max; div+=2) {
if (!(num%div)) return false;
}
return true;
}
int main (void) {
const unsigned min = 1;
const unsigned max = 1000;
printf ("Prime numbers in the range %d to %d\n", min, max);
for (unsigned n=min; n<=max; ++n) {
if (is_prime (n)) printf ("%d\n", n);
}
return 0;
}
For primes, use printf with %d. For other integers, use printf with %d.
11000 V generator is best as it generates higher Voltage Profits: 1. Fuel saving, 2. Place Saving, 3. Less Pollution, 4. 11000 V can be step down as per requirement using modern equipments. 5. Least maintenance, Losses: As single unit generator 11000 V, if there is Break-down, all Collapse. And in 415 V multiple units are using so effect of Break down less, and easy maintenance. there might be less effect of B.D.
11000 volts
since at no load only excitation current(responsible for core loss ie iron loss) flow on the primary side so core loss current will be 1A and core loss = v1*i1*powerfactor. core loss = 1*11000*0.24= 2640watt.
Power = voltage times current, and the power loss is the loss in the line, I^2 * R. At 11,000 volts, the current will be (11,000 / 415 = ) 3.77% of what it is at 415 volts. So the power loss in the line at 11,000 volts will be (3.77% ^2 = ) .14% of what it is at 415 volts.
11 kV power lines are extremely dangerous and there are many safety requirements. The main principle is that this work must be done by trained and qualified personnel. Some of the protocols include always wearing a hardhat and protective boots, and never going near such power alone.
11000
Between 11000 and 2000 there are 8998 whole numbers! You really want them all? There are: 11001, 11002, 11003, 11004, ..., 19996, 19997, 19998, 19999.
There are 11520 of them.
11000
do wind turbines produce 11000 volts
1 = 11000 = 1111101000
12 percent of 11000 = 132012% of 11000= 12% * 11000= 0.12 * 11000= 1320
4 percent of 11000 dollars = $440 4% of $11000 = 4% * $11000 = 4%/100% * $11000 = 0.04 * $11000 = $440
11000
Some assumptions have to be made. If you assume the left most bit is the highest order bit then 10000 = 16 decimal and 11000 = 24 decimal. Then if you assume a linear analog voltage output 20mV / 16 = XmV / 24 so X = (20 x 24)/16 = 30mV.
11000
11000