answersLogoWhite

0

What else can I help you with?

Related Questions

In C programming Write a function that returns 1 if its argument is a prime number and returns zero otherwise?

#include<iostream.h> int CheckPrime(int number){ for(int i=2;i<number;i++){ if(number%i==0) return 0; } return 1; } void main() { int num=7; cout<<CheckPrime(num); }


What does it mean if a zero of a function is 4?

It means the value of the function equals zero when the argument is 4. For example: f(x)=x-4 f(4)=4-4=0


Is the number zero prime?

No, zero is not a prime number.


What is the formula for base and power in java program?

powpublic static double pow(double a, double b) Returns the value of the first argument raised to the power of the second argument. Special cases: If the second argument is positive or negative zero, then the result is 1.0.If the second argument is 1.0, then the result is the same as the first argument.If the second argument is NaN, then the result is NaN.If the first argument is NaN and the second argument is nonzero, then the result is NaN.If the absolute value of the first argument is greater than 1 and the second argument is positive infinity, orthe absolute value of the first argument is less than 1 and the second argument is negative infinity,then the result is positive infinity.If the absolute value of the first argument is greater than 1 and the second argument is negative infinity, orthe absolute value of the first argument is less than 1 and the second argument is positive infinity,then the result is positive zero.If the absolute value of the first argument equals 1 and the second argument is infinite, then the result is NaN.If the first argument is positive zero and the second argument is greater than zero, orthe first argument is positive infinity and the second argument is less than zero,then the result is positive zero.If the first argument is positive zero and the second argument is less than zero, orthe first argument is positive infinity and the second argument is greater than zero,then the result is positive infinity.If the first argument is negative zero and the second argument is greater than zero but not a finite odd integer, orthe first argument is negative infinity and the second argument is less than zero but not a finite odd integer,then the result is positive zero.If the first argument is negative zero and the second argument is a positive finite odd integer, orthe first argument is negative infinity and the second argument is a negative finite odd integer,then the result is negative zero.If the first argument is negative zero and the second argument is less than zero but not a finite odd integer, orthe first argument is negative infinity and the second argument is greater than zero but not a finite odd integer,then the result is positive infinity.If the first argument is negative zero and the second argument is a negative finite odd integer, orthe first argument is negative infinity and the second argument is a positive finite odd integer,then the result is negative infinity.If the first argument is finite and less than zero if the second argument is a finite even integer, the result is equal to the result of raising the absolute value of the first argument to the power of the second argumentif the second argument is a finite odd integer, the result is equal to the negative of the result of raising the absolute value of the first argument to the power of the second argumentif the second argument is finite and not an integer, then the result is NaN.If both arguments are integers, then the result is exactly equal to the mathematical result of raising the first argument to the power of the second argument if that result can in fact be represented exactly as a double value.(In the foregoing descriptions, a floating-point value is considered to be an integer if and only if it is finite and a fixed point of the method ceil or, equivalently, a fixed point of the method floor. A value is a fixed point of a one-argument method if and only if the result of applying the method to the value is equal to the value.)A result must be within 1 ulp of the correctly rounded result. Results must be semi-monotonic.Parameters:a - the base.b - the exponent.Returns:the value ab.Taken from the Java api.


When do diminishing marginal return occurs?

Diminishing returns occur when a function satisfies Innada conditions or, to bemore specific, when:The first derivative of the function is positiveThe second derivative of the function is negative.Diminishing describes the tendency of increases in returns to decline asymptotically towards zero.


What is a cubic function?

It is a function of the form:f(x) = ax^3 + bx^2 + cx + dwhere x is the argument of the function and a, b, c and d are numerical constants.All the powers of x must be non-negative integers and the largest power must be 3 - that is, a must be non-zero.


Is zero belongs to even or prime number?

Zero is a positive number which is not a prime number


What is the prime meridian's longitude?

Zero


What is the use of function islower in C?

Returns nonzero (meaning true) for lower-case letters, zero for other characters. Traditionally implemented as a macro, defined in ctype.h


What is the zero of a function and how does it relate to the functions graph?

A zero of a function is a point at which the value of the function is zero. If you graph the function, it is a point at which the graph touches the x-axis.


What is the prime meridians line of longitude?

The longitude of every point on the Prime Meridian is zero.


Is zero prime?

NO! ZERO IS NOTHING! GOSH! ITS BEFORE 1! SO ITS NOT PRIME OR COMPOSITE! DUR! lol, :)