0% found this document useful (0 votes)
13 views6 pages

CM1015 Midterm Oct. - 2024

The document outlines the midterm coursework for a BSc in Computer Science, specifically for the Computational Mathematics course. It consists of 5 questions covering various mathematical topics, including number bases, arithmetic sequences, modular arithmetic, trigonometry, and functions. Students are required to show their workings and submit their answers as a single PDF document.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views6 pages

CM1015 Midterm Oct. - 2024

The document outlines the midterm coursework for a BSc in Computer Science, specifically for the Computational Mathematics course. It consists of 5 questions covering various mathematical topics, including number bases, arithmetic sequences, modular arithmetic, trigonometry, and functions. Students are required to show their workings and submit their answers as a single PDF document.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

BSc COMPUTER SCIENCE

CM1015 Computational Mathematics


Midterm coursework

INSTRUCTIONS TO STUDENTS:

This coursework assignment consists of 5 questions. You should answer ALL the
questions.
There are 100 marks available in this coursework assignment. The marks for each
question are indicated at the end of the part in [.] brackets. Full marks will be
awarded for complete answers to a total of 5 questions. Make sure to show
your work clearly in each of the questions.

The aim of this assessment is to give you the opportunity to consolidate your
learning and to assess your understanding of the topics. You must submit your
answers as a single pdf document. Ideally you should submit work that is properly
formatted using the maths mode of your word processor. However, you may submit
photos of your work, combined into a single pdf file. If submitting photos of your work,
please ensure that all answers are written clearly.

© University of London 2024

Page 1 of 6
Question 1
Show your working. Full marks will only be awarded if workings are shown.

(a) Using number bases, find the value of 𝑘 for the following:
if 46 × (𝑘3)4 = 25 × (𝑘4)7.
[4 marks]
(b) If 123𝑥 = 228, what is the value of the base 𝑥.
[3 marks]
(c) Explain your answer for the following questions:

i- State the decimal value of the underlined digit of a number in base eight. (2376)8
ii- State the decimal value of the underlined digit of a number in base two. (11011)2

[2 marks]
(d) Here are three binary numbers:

10100110 , 1110111, and 1110001


i- Add up all three numbers.
ii- Add up the two larger numbers.
iii- Subtract the smallest number from the second smaller numbers.
[6 marks]

Page 2 of 6
Question 2
Show your working. Full marks will only be awarded if workings are shown.

(a) Find all the terms in between 𝑎1 = −8 and 𝑎7 = 10 of an arithmetic sequence.


[6 marks]

(b) Find the general term of an arithmetic sequence where 𝑎3 = −1 and 𝑎10 = 48.
[6 marks]
(c) A geometric series is 𝑎 + 𝑎𝑟 + 𝑎𝑟 + ⋯
2

i- Prove that the sum of the first 𝑛 terms of the series is given by:
𝑎(1 − 𝑟 𝑛 )
𝑆𝑛 =
1−𝑟
ii- Find:
10

∑ 100(2𝑘 )
𝑘=1
iii- Find the sum to infinity of the geometric series:
5 5 5
+ + +⋯
6 18 54
[9 marks]

(d) Which common quadratic equation can be used to derive the golden ratio directly?
[3 marks]

(e) Ali has bought 9 books. The first one cost 1 dollar, he paid 2 dollars for the second
book, the third cost 4 dollars, and the fourth, 8 dollars, and so on. How much did Ali
pay for the 9 books?
[6 marks]

Page 3 of 6
Question 3
Show your working. Full marks will only be awarded if workings are shown.

(a) Find the value of 𝑥 if 14 = 172 (𝑚𝑜𝑑 𝑥).


[3 marks]

(b) When 67 is divided by a number, say x, a remainder of 3 is obtained. If x<50, then what
is the largest number that x can be?
[4 marks]

(c) What is the shortest (quickest) way to calculate the remainder when:
3 × 52 × 97 × 22 × 438 is divided by 7.
[4 marks]

(d) Using your knowledge about modular arithmetic, find the last two digits of 220. For
example, 27 = 128, then the last two digits are 28.
[4 marks]

Page 4 of 6
Question 4
Show your working. Full marks will only be awarded if workings are shown.
(a) Find the length of the side BC. Please note that the triangle is not drawn to scale.
[5 marks]

(b) ABC is a triangle as shown below. Please note that the triangle is not drawn to scale.
Find the angle C in degrees.
[5 marks]

(c) Solve the following trigonometric equation for 0 ≤ 𝜃 ≤ 360°


2 + 4𝑐𝑜𝑠 2 𝜃 = 7 cos 𝜃 sin 𝜃
[5 marks]
1
(d) Simplify (1 + 𝑡𝑎𝑛 2𝐴) + (1 + 𝑡𝑎𝑛2𝐴)
[5 marks]

Page 5 of 6
Question 5
Show your working. Full marks will only be awarded if workings are shown.
(a) Find the answer for each of the following questions:
𝑥−3
i- If 𝑓(𝑥) = find 𝑓 −1 (𝑥)
4
ii- Find 𝑓 −1 (𝑥)if 𝑓(𝑥) = √𝑥 + 6
[4 marks]

(b) Test the injection, surjection, and bijection of the fuction:


𝑔: 𝑁 → 𝑁, 𝑔(𝑛) = 𝑛 + 1 where 𝑁 is the positive integer numbers.
If the function is bijective then find the inverse. Justify your answer.
[4 marks]

𝑥+1
(c) Show whether the function 𝑓: 𝑅∗ → 𝑅\{1} defined by 𝑓(𝑥) = is a one-to-one or
𝑥
not. If it is one-to-one, determine its inverse.
[5 marks]

(d) A bicycle pedalling along a straight road at 20 𝑘𝑚/ℎ accelerates at 2𝑚/𝑠 2 for 4 𝑠.
Find the final speed.
[3 marks]

(e) Two balls are thrown upwards from the same spot. 1.15 seconds apart. The first ball
had an initial velocity of 15 m/s and the second was 12 m/s. At what height do they
collide?
[4 marks]

[END OF COURSEWORK ASSIGNMENT]

Page 6 of 6

You might also like