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

Exam Paper Problems:6

×