Take one input integer ( both positive and negative ) and print the absolute value of it.
Take one float input and display the absolute value of it.
Take one float input value and display the ceil() value of the same.
Find out the ceil() value and floor() value for the following input numbers
4.6,4.5.4,3,-2.3-2.4,-2.5,-2.6,4.0, 4.9
Note : All the above functions takes one input.
Print the output of hypot(x,y) where x, y are integer variables.
Print the output of hypotf(x,y) where x, y are float variables.
Print the output of hypotl(x,y) where x, y are long variables.
Print the value of log(x) where x is an integer or a float or a long variable.
Print the value of log10(x) where x is an integer or a float or a long variable.
Print the value of pow(x,y) where x and y are integer or float or a long variables.
Declare float variables with these values
3.456,3.567,4.678, -2.456,-2.567,-2.678
Use math function round() and check the outputs .
What is the sqrt(625) output
What is the output of trunc(13.123456)
Declare value of PI as 3.1141592 , then find out the value of sin(PI/2), cos(PI/2), tan(PI/2)
Find the similar values for PI/3, PI/4
In place of sin() use shinh() and check the above values.