Jun 21st, 2015
Studypool Tutor
Transylvania University
Price: $0 USD

Tutor description

Word Count: 4210
Showing Page: 1/34
CONTROL STATEMENTS Control statements are statements that perform the desired computation.Control statements take lesser time to execute in comparison with the loops.Control statements can be as simple as an addition or a complex formula.Hencegeneralization is required in real time senarios to generate appropriate statements. The chapter focusses more on how things can be generalized so as to obtain an optimal solution.It throws light on generalisation using recurrences, induction,algebra , equations , vedic mathematics principles , number theory , back trackingtrigonometry and logic.Optimal solution to find the angle between hour and minutes handLet us denote Hour hand by HLet us denote Minute hand by M Imagine clock as a circle.As we revolve in a clockwise or anticlockwisedirection from a point A on the circumference of the circle one completerotation makes an angle of 360 degrees. Dividing the clock into 12 quadrants the angle between two adjacent numberson the clock is 360/12=30 degrees. SO the angle between H and M would be(H - (M/5))*30 ........................(1) But the hour hand would keep on covering a certain angle as the minute hand moves. For instance at 6:30 M=30 but H is not 6 (slightly higher) The additional distance covered by hour hand is30*(m/60) ..............................(2) (1)+(2) gives 30H - (11*M)/2 CASE 1

Review from student

Studypool Student
" all I can say is wow very fast work, great work thanks "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1823 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors