Java All : Math Functions

( As In Exam - ICSE2015 )

What is the value stored in variable res given below:

double res = Math

( As In Exam - ICSE2015 )

(i) Name the mathematical function which is used to find sine of an angle giv

( As In Exam - ICSE2018 )

Write the return data type of the following function.

(i) endsWith()

( As In Exam - ICSE2018 )

Give the output of the following:

(i) Math.floor(-4.7)

(ii)Math.c

( As In Exam - ICSE2016 )

Give the output of the following Math functions:

(i) Math.ceil(4.2)

( As In Exam - ICSE2016 )

Write down java expression for :

T = square root (A^{2} + B

( As In Exam - ICSE2017 )

Write a Java expression for the following:

ax^{5} + bx^{3
}

( As In Exam - ICSE2017 )

What are the values stored in variables r1 and r2:

(i) double r1 = Math

Exam Paper Problems:8

×