0% found this document useful (0 votes)
25 views8 pages

Test Notes

The document contains a series of mathematical identities and problems related to trigonometry and geometry, including proving various identities involving secant, tangent, and sine functions. It also includes word problems involving angles of elevation, distances, and heights related to towers and poles. Additionally, there are programming tasks that involve creating classes and functions to check for Armstrong numbers, prime numbers, and calculate areas and costs related to pizzas.

Uploaded by

agarwalhimani143
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views8 pages

Test Notes

The document contains a series of mathematical identities and problems related to trigonometry and geometry, including proving various identities involving secant, tangent, and sine functions. It also includes word problems involving angles of elevation, distances, and heights related to towers and poles. Additionally, there are programming tasks that involve creating classes and functions to check for Armstrong numbers, prime numbers, and calculate areas and costs related to pizzas.

Uploaded by

agarwalhimani143
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

Prove the following identity:

(secA−1)/(secA+1)=(1−cosA)/(1+cosA)

6. Prove the following identity:

(1−tanA)2+(1+tanA)2=2sec2A

11. Prove the following identity:

[(1+tan 2
A)cotA]/cosec 2
A=tanA

16. Prove the following identity:

(cosA+sinA)2+(cosA−sinA)2=2

21. Prove the following identity:

(sinA+cosecA)2+(cosA+secA)2=7+tan2A+cot2A

26. Prove the following identity:

secA/(secA+1)+secA/(secA−1)=2cosec2A

31. Prove the following identity:

(cotA−cosecA)2=(1−cosA)/(1+cosA)

36. Prove the following identity:

cosA/(1−sinA)=secA+tanA

41. Prove the following identity:

(1−cosA)/(1+cosA)=sinA/(1+cosA)

From 46
4. Two persons are standing on the opposite sides of the tower.
They observe the angles of elevation of the top of the tower to be
30° and 38° respectively. Find the distance between them, if the
height of the tower is 50m.

6. A boy, l.6m tall, is 20m away from a tower and observes the
angle of elevation on the top of the tower to be (i) 45° (ii) 60°.
Find the height of the tower in each case.

8. The angle of elevation of the top of an unfinished tower from a


point at a distance of 80m from its base is 30°. How much higher
must the tower be raised so that its angle of elevation at the
same point may be 60°?

9. At a particular time, when the sun's altitude is 30°, the length


of the shadow of a vertical tower is 45m. Calculate:

(1) the height of the tower,

(ii) the length of the shadow of the same tower, when the sun's
altitude is :

(a) 45°

(b) 60°.

10. Two vertical poles are on either side of a road. A 30 m long


ladder is placed between the two poles. When the ladder rests
against one pole, it makes an angle 32°24' with the pole and
when it is turned to rest against another pole. It makes an angle
32°24' with the road. Calculate the width of the road.

11. Two climbers are at points A and B on a vertical cliff face. To


an observer C, 40m from the foot of the cliff, on the level ground,
A is at an elevation of 48° and B of 57°. What is the distance
between the climbers?

12. A man stands 9m away from a flag-pole. He observes that the


angle of elevation of the top of the pole is 28o and the angle of
depression of the bottom of the pole is 28o. Calculate the height
of the pole.

13. From the top of a cliff 92m high, the angle of depression of a
buoy is 20°. Calculate, to the nearest metre, the distance of the
buoy from the foot of the cliff.

to BD and is of length X metres. DC = 30 m, ∠ADB = 30° and


1. In the figure, given below, it is given that AB is perpendicular

∠ACB = 45°. Without using tables, find X.


2. Find the height of a tree when it is found that on walking away
from it 20 m, in a horizontal line through its base, the elevation of
its top changes from 60° to 30°.

Continue
Q1. Write a class to check whether a given number is Armstrong
or not using a function name int checkArmstrong(int num).
Function should return a value 1 if number is Armstrong
otherwise it return 0 if not.

Q2. Write a class using a function primeCheck(int num) to check


whether a given number is Prime or not. Function should return a
value 1 if number is prime otherwise it return 0 if not.

Q3. Write a class using a function as follows: int num (int) the
function accepts a number and finds whether it is even and
divisible by 8 or not. It returns '1' if condition is satisfied
otherwise '0'. Use a main program to pass the number by value to
the function.

Q4. Write a class program 'series' with a function by using


following specifications- int fact(int).
The function calculates and returns factorial of a number. Apply
this function to find the sum of the following series in the main-
function.

(Note : n! = 1 x 2 x 3 x.......x n )
S = 1 + 1 + 1 +……………+1
2! 4! 6! 10!

Q5. Write a menu driven program (using switch case) to find the
areas of circle, square or rectangle. Use function overloading for
each of the given shapes

Q7. Define a subclass sub1 in which define a method f1() to


calculate and print hcf (highest common factor) by division
method of any two given numbers entered by user in the main
class. Define another subclass sub2 in which define a method f2()
to calculate and print the area and perimeter of a rectangle by
using the required parameters accepted in main class. Define
main class to input the parameters required in the above two
methods and also call the two functions

Q10. The number 151 is a prime palindrome, because it is both a


prime number and a palindrome. Write a class that find all prime
palindromes between two given numbers a and b. Accept the
values for a and b from the user in function main(). Use two
function in your class, boolean isPrime(int) for check number is
prime or not, int isPalindrome(int) to check number is palindrome
or not.
Q15. Design a program to overload a function rect()
void rect(int n,char ch) With one integer argument and one
character type argument draw filled square of side n using the
character stored in ch.
void rect(int l, int b, char ch)- With two integer argument and 1
character argument draw a filled rectangle of length l and
breadth b using the character stored in ch. Get the following
output.

Q. N is a perfect number if the sum of all factors of the number (including 1 b


numberProblem below contains some methods that help you to work with pe
Public class numberProblem
{
int sumOfFactors(int N)
{
// which return sum of all the factors of the number N.
}
boolean isPerfect(int N)
{
// return true if the number N is perfect and false otherwise.
}
void nosBelow(int lim)
{
// which prints out all perfect numbers less then lim.
}
}
Define the class numberProblem and the definitions of all the methods given

2. A number is called Armstrong number if the sum of cube of


each digit of the number is equal to that number. (e.g. 153 is a
Armstrong number because 153 = 13 + 53 +33).
Define a class armStrong that has the following functions.
private int sumOfDigit(int N) -> which return the sum of cube of
each digits present in N.
public static void main(int x, int y) -> which display all the arm
strong number between the range x and y.

3. A class clock has following members:


Instance variable: hour and minute of integer type.
Member function/methods:
public clock(int,int) -> constructor to initialize hour and min.
public void showTime() -> to display the time.
public void addTime(clock,clock) -> to add to clock objects.
Write another class time with main() function which create two different obje
Min and ST = 3 Hrs 45 Min then output 10 Hrs 20 Min.

2. N is a perfect number if the sum of all factors of the number


(including 1 but excluding the number) is equal to N (for e.g. 6 =
1+2+3). N is a prime number if it is divisible by 1 and itself.
Define a class numProblem that has the following functions.
int nthPrime(int N) -> which return the nth prime number(first
prime number is 2) (e.g. 3rd prime number is 5)
void perfectNosBelow(int N) -> which first print out the nth
prime number and then print out all perfect numbers less then
the nth prime number.

Q. An angle may be measured in degrees and minutes e.g.

|A = 70 Degree 35 Minutes and |B = 50 degree 40 Minutes

Now to find the sum of these two angles |C = |A + |B

is 121 Degree and 15 Minutes [1 Degree = 60 Minutes].

Write a program to specify a class Angle to model an angle.


Design a function Angle sumAngle(Angle,Angle) which calculates
the sum of two angles. In the main program define three Angles.
ask the user to impute the values of two angles. Call the function
sumAngle() to find the sum of the two angles and assign the sum
to the third angle. Then display the value of third angle.

Question 9

Create a class named Pizza that stores details about a pizza. It


should contain the following:

Instance Variables:
String pizzaSize — to store the size of the pizza (small, medium,
or large)
int cheese — the number of cheese toppings
int pepperoni — the number of pepperoni toppings
int mushroom — the number of mushroom toppings

Member Methods:
Constructor — to initialise all the instance variables
CalculateCost() — A public method that returns a double value,
that is, the cost of the pizza.
Pizza cost is calculated as follows:

 Small: Rs.500 + Rs.25 per topping

 Medium: Rs.650 + Rs.25 per topping


 Large: Rs.800 + Rs.25 per topping

PizzaDescription() — A public method that returns a String


containing the pizza size, quantity of each topping, and the pizza
cost as calculated by CalculateCost()

You might also like