English

Avichal solutions for Computer Applications [English] Class 10 ICSE chapter 1.6 - Mathematical Library Methods [Latest edition]

Advertisements

Chapters

Avichal solutions for Computer Applications [English] Class 10 ICSE chapter 1.6 - Mathematical Library Methods - Shaalaa.com
Advertisements

Solutions for Chapter 1.6: Mathematical Library Methods

Below listed, you can find solutions for Chapter 1.6 of CISCE Avichal for Computer Applications [English] Class 10 ICSE.


Review InsightEXERCISES
Review Insight [Page 79]

Avichal solutions for Computer Applications [English] Class 10 ICSE 1.6 Mathematical Library Methods Review Insight [Page 79]

Review Insight | Q 1. (a) | Page 79

What values will be stored in the variables p and q after executing the following code?

double a = −6.35; double b = 14.74; 
double p = Math.abs(Math.ceil(a)); 
double q = Math.rint(Math.max(a, b)); 
Review Insight | Q 1. (b) | Page 79

What values will be stored in the variables p and q after executing the following code?

double b = −15.6; 
double p = Math.rint(Math.abs(b)); 
Review Insight | Q 1. (c) | Page 79

What values will be stored in the variables p and q after executing the following code?

int p = Math.abs(Math.min(−61, −79)); 
double q = Math.cbrt(4.913);
Review Insight | Q 1. (d) | Page 79

What values will be stored in the variables p and q after executing the following code?

double a = −99.51, b = −56.25; 
double p = Math.abs(Math.floor(a)); 
double q = Math.sqrt(Math.abs(b)); 
Review Insight | Q 1. (e) | Page 79

What values will be stored in the variables p and q after executing the following code?

double x = 5.9, y = 6.5; 
double p = (Math.min(Math.floor(x), y)); 
double q = (Math.max(Math.ceil(x), y)); 
Review Insight | Q 2. (a) | Page 79

What will the following function return?

Math.round(Math.pow(2.4, 2)); 
Review Insight | Q 2. (b) | Page 79

What will the following function return?

Math.abs(Math.max(−8, −11));
Review Insight | Q 2. (c) | Page 79

What will the following function return?

Math.min(−23, −29); 
Review Insight | Q 2. (d) | Page 79

What will the following function return?

Math.ceil(14.8); 
Review Insight | Q 3. (a) | Page 79

What will the following function display?

System.out.println(Math.floor(−0.48));
Review Insight | Q 3. (b) | Page 79

What will the following function display? 

System.out.println(Math.ceil(−0.45));
Review Insight | Q 3. (c) | Page 79

What will the following function display?

System.out.println(Math.ceil(8)); 
Review Insight | Q 3. (d) | Page 79

What will the following function display?

System.out.println(Math.ceil(−8));
EXERCISES [Pages 80 - 81]

Avichal solutions for Computer Applications [English] Class 10 ICSE 1.6 Mathematical Library Methods EXERCISES [Pages 80 - 81]

Multiple Choice Questions:

EXERCISES | Q I. 1. | Page 80

Given: double a = - 8.35;

double p = Math.abs(Math.floor(a));

What will be the final value stored in the variable p? 

  • 9.0

  • 8.0

  • 7.0

  • 8.5

EXERCISES | Q I. 2. | Page 80

Given: double m = Math.max(Math.cei1(14.55),15.5); 

What will be the final value stored in the variable m?

  • 15.0

  • 14.0

  • 15.5 

  • 14.5

EXERCISES | Q I. 3. | Page 80

Given: d = Math.min(−15.5, −19.5) 

What data type will you refer for the variable d? 

  • int

  • float

  • double

  • None

EXERCISES | Q I. 4. | Page 80

Given: double k = Math.rint(−9.4) + Math.sqrt(9.0); 

  • −5.0

  • −6.0

  • −6.4

  • −5.4

EXERCISES | Q I. 5. | Page 80

Given: double b = Math.ceil(3.4) + Math.pow(2, 3);

  • 12.0

  • 11.0

  • 11.4

  • 11.5

State whether the following statements are 'True' or 'False':

EXERCISES | Q II. 1. | Page 80

The return data type of Math.log() is double. 

  • True

  • False

EXERCISES | Q II. 2. | Page 80

Java.Math class is used for different mathematical functions.

  • True

  • False

EXERCISES | Q II. 3 | Page 80

The output of Math.abs(−99.99) is 100.00.

  • True

  • False 

EXERCISES | Q II. 4. | Page 80

Math.sqrt(−225) can't be defined.

  • True

  • False

EXERCISES | Q II. 5. | Page 80

The output of Math.cbrt(−3) will be −27.

  • True

  • False

EXERCISES | Q II. 6. | Page 80

Math.round() returns the value in float data type. 

  • True

  • False

EXERCISES | Q III. 1. | Page 80

Write down the syntax for the following function:

To find the natural log of q.

EXERCISES | Q III. 2. | Page 80

Write down the syntax for the following function:

To find the cube root of a number m.

EXERCISES | Q III. 3. | Page 80

Write down the syntax for the following function: 

To find the round-off of a number k. 

EXERCISES | Q III. 4. | Page 80

Write down the syntax for the following function:

To find the absolute value of a number y.

EXERCISES | Q III. 5. | Page 80

Write down the syntax for the following function:

To find the exponent of a number p. 

EXERCISES | Q IV. 1. | Page 80

Explain the following function: 

Math.random()

EXERCISES | Q IV. 2. | Page 80

Explain the following function:

Math.pow()

EXERCISES | Q IV. 3. | Page 80

Explain the following function:

Math.cbrt()

EXERCISES | Q IV. 4. | Page 80

Explain the following function:

Math.log()

EXERCISES | Q V. 1. | Page 81

Distinguish between Math.cell() and Math.floor().

EXERCISES | Q V. 2. | Page 81

Distinguish between Math.rint( ) and Math.round( ).

EXERCISES | Q VI. 1. | Page 81

Write a program to calculate the value of the given expression: 

`1/a^2 + 2/b^2 + 3/c^2`

Take the values of a, b and c as input from the console. Finally, display the result of the expression to its nearest whole number.

EXERCISES | Q VI. 2. | Page 81

For every natural number m>1; 2m, m2 − 1 and m2 + 1 form a Pythagorean triplet. Write a program to input the value of 'm' through console to display a 'Pythagorean Triplet'. 

Sample Input: 3

Then 2m = 6, m2 - 1 = 8 and m2 + 1 = 10 

Thus 6, 8, 10 form a 'Pythagorean Triplet'. 

EXERCISES | Q VI. 3. | Page 81

Write a program to input a number. Calculate its square root and cube root. Finally, display the result by rounding it off. 

Sample Input: 5
Square root of 5 = 2.2360679
Rounded form = 2
Cube root of 5 = 1.7099759
Rounded form = 2 

EXERCISES | Q VI. 4. | Page 81

The volume of a sphere is calculated by using formula: 

v = `4/3 ∗ 22/7 ∗ r^3`

Write a program to calculate the radius of a sphere by taking its volume as an input. 

Hint: radius = `root3 ("volume" ∗ 3/4 ∗ 7/22)`

EXERCISES | Q VI. 5. | Page 81

A trigonometrical expression is given as: 

`(tan "A" − tan "B")/(1 +tan "A" ∗ tan "B")`

Write a program to calculate the value of the given expression by taking the values of angles A and B (in degrees) as input.

Hint: radian = `(22/(7 ∗ 180))` ∗ degree 

EXERCISES | Q VI. 6. | Page 81

The standard form of quadratic equation is represented as:

ax2 + bx + c = 0 

where d = b2 − 4ac, known as 'Discriminant' of the equation.

Write a program to input the values of a, b and c. Calculate the value of discriminant and display the output to the nearest whole number. 

EXERCISES | Q VI. 7. | Page 81

The sum of first n odd natural numbers can be calculated as n2, where n is the number of odd natural.

For example,
Sum = 1 + 3 + 5 + 7; number of odd natural = 4
Therefore, Sum = 42 = 16

Write a program to input number of odd natural terms and display sum of the given series:

  1. 1 + 3 + 5 + .......... + 29 + 31
  2. 1 + 3 + 5 + 7 + .......... + 47 + 49
EXERCISES | Q VI. 8. | Page 81

Write a program to input the sum. Calculate and display the compound interest in 3 years, when the rates for the successive years are r1%, r2% and r3% respectively.

Hint: `["A" = "P" "*" (1 + ("r"1)/100) "*" (1 + ("r"2)/100) "*" (1 + ("r"3)/100), "CI" = "A" − "P"]` 

Solutions for 1.6: Mathematical Library Methods

Review InsightEXERCISES
Avichal solutions for Computer Applications [English] Class 10 ICSE chapter 1.6 - Mathematical Library Methods - Shaalaa.com

Avichal solutions for Computer Applications [English] Class 10 ICSE chapter 1.6 - Mathematical Library Methods

Shaalaa.com has the CISCE Mathematics Computer Applications [English] Class 10 ICSE CISCE solutions in a manner that help students grasp basic concepts better and faster. The detailed, step-by-step solutions will help you understand the concepts better and clarify any confusion. Avichal solutions for Mathematics Computer Applications [English] Class 10 ICSE CISCE 1.6 (Mathematical Library Methods) include all questions with answers and detailed explanations. This will clear students' doubts about questions and improve their application skills while preparing for board exams.

Further, we at Shaalaa.com provide such solutions so students can prepare for written exams. Avichal textbook solutions can be a core help for self-study and provide excellent self-help guidance for students.

Concepts covered in Computer Applications [English] Class 10 ICSE chapter 1.6 Mathematical Library Methods are Introduction of Mathematical Library Methods, Methods of Math Class, Trigonometrical Functions.

Using Avichal Computer Applications [English] Class 10 ICSE solutions Mathematical Library Methods exercise by students is an easy way to prepare for the exams, as they involve solutions arranged chapter-wise and also page-wise. The questions involved in Avichal Solutions are essential questions that can be asked in the final exam. Maximum CISCE Computer Applications [English] Class 10 ICSE students prefer Avichal Textbook Solutions to score more in exams.

Get the free view of Chapter 1.6, Mathematical Library Methods Computer Applications [English] Class 10 ICSE additional questions for Mathematics Computer Applications [English] Class 10 ICSE CISCE, and you can use Shaalaa.com to keep it handy for your exam preparation.

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×