CSC 201 ASSIGNMENTS Find below the assignment for your school. You are to submit to your respective laboratory instructors on or before the due date through your course/Departmental representatives Due Date: 25th of April, 2014 S/N SCHL 1 SET 2 SEET 3 SOS ASSIGNMENT A builder is given the measurements of five planks in feet (‘) and inches (“). He wants to convert the lengths to metres. One foot is 0.3048 metres, and one inch is 0.0254 metres. The measurements of the planks are: 4’ 6”, 8’ 9”, 9’ 11”, 6’ 3” and 12’ 0” (i.e. the first plank is 4 feet 6 inches long). Store the data in a file. Write a program to display (under suitable headings) the length of each plank in feet and inches, and in metres, and to find and display the total length of planking in metres. Write a program to compute the sum of the series 1 + 1/2 + 1/3 + ... + 1/100 The program should write the current sum after every 10 terms (i.e. the sum after 10 terms, after 20 terms,...,after 100 terms). Hint: the intrinsic function MOD(N, 10) will be zero only when Nis a multiple of 10. Use this in an IF statement to write the sum after every 10thterm.(Answer: 5.18738 after 10 terms) 4 SAAT 5 SEMS A sphere of mass m1 impinges obliquely on a stationary sphere of mass m2, the direction of the blow making an angle α with the line of motion of the impinging sphere. If the coefficient of restitution is e it can be shown that the impinging sphere is deflected through an angle β such that: Write a program to read values of m1, m2, e, and α (in degrees) and to compute the angle β in degrees. 6 SMAT