Monday, 25 September 2017

Extra Class Time Table

All students of Class –XI are here by informed to attend the extra classes to be conducted in school premises for 3 days in Mathematics and Computer Science.The details of classes to be conducted are as follows.


DATE/ TIME

           8.00 AM    TO    10.00 AM

        10.00 AM      TO    12.00 NOON

26.09.2017

COMPUTER SCIENCE

 

27.09.2017

COMPUTER SCIENCE

MATHEMATICS

28.09.2017

COMPUTER SCIENCE

MATHEMATICS

Friday, 22 September 2017

PRACTICAL-2

PRACTICAL-2
Aim of the practical:-
Write a program (WAP) to calculate volume of a cone, sphere and cylinder.

Header files used:-
#include <iostream.h>
#include <stdlib.h>
#include <math.h>
Formulas used:-
i.                Volume of a circular cone = (1/3)πr2h.
ii.              Volume of a cylinder = πr2h
iii.           Volume of a sphere = (4/3)πr3
Procedures followed:-
The user will be asked to enter the radius or radius and height in successive instances in the program using different cout statements. Different formulas will be used to find the volume of cone, cylinder and sphere respectively. While using the formula the function pow() will be used to find the square or cube of any value. The header file math.h will also be used which contains the definition of pow() function.

Coding:-