0% found this document useful (0 votes)
39 views4 pages

Assignment 9

1. The document contains solutions to two questions from Assignment 9 submitted by Vanitha Sammogram with IC number 820203085678. 2. The first question calculates membership fees for a club over multiple years using the formula M(n) = Mo + (n-1) 5, where Mo is the initial fee and interest is added each year. 3. The second question determines the number of combinations (C(n)) possible to make change for different amounts (such as 15 cents) using coins of denominations 5 and 10 cents. It is concluded that the number of combinations follows the pattern C(n) = C(n-1) + C(n-2) + C

Uploaded by

Eenav Eenav
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)
39 views4 pages

Assignment 9

1. The document contains solutions to two questions from Assignment 9 submitted by Vanitha Sammogram with IC number 820203085678. 2. The first question calculates membership fees for a club over multiple years using the formula M(n) = Mo + (n-1) 5, where Mo is the initial fee and interest is added each year. 3. The second question determines the number of combinations (C(n)) possible to make change for different amounts (such as 15 cents) using coins of denominations 5 and 10 cents. It is concluded that the number of combinations follows the pattern C(n) = C(n-1) + C(n-2) + C

Uploaded by

Eenav Eenav
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
You are on page 1/ 4

ASSIGNMENT 9

NAME : VANITHA SAMMOGRAM


IC NO : 820203085678

QUESTION 1
SOLUTION
MEMBERSHIP FEE = RM80
ANNUAL INTEREST = RM5
Let Mo = 80
When, n = 1
M[1] = Mo + (n-1)5
= Mo + 0(5)
= 80
When n = 2
M[2] = M1+ (n-1)5
= Mo + 1(5)
= 80 + 5
= 85
When n = 3
M[3] = Mo+ (n-1)5
= Mo + 2(5)
= 80 + 10
= 90
From this, we can conclude that, M(n) = Mo + (n-1) 5

QUESTION 2
SOLUTION
C(n) = 5n
Let n = 1, 5cents
So, C(1) = 1
Let n = 2, 10 cents, we can have the following possibilities,
5
cents

10
cents

5
cents

So, C(2) = 2
Let n = 3, 15cents we can have the following possibilities,
5
cents

5
cents

10
cents

5
cents

5
cents

So, C(3) = 2
Let n = 4, 20 cents
10
cents

10
cents

5
cents

5
cents

5
cents

5
cents

20
cents

So, C(4) = 3
Let n = 5, 25 cents
10 cents

C(3)

So, C(5) = C(3) + C(4) + C(1)


= 2+3+1
C(5) = 6

5 cents

C(4)

20 cents

C(1)

Let n = 6, 30 cents
10 cents

C(4)

5 cents

C(5)

20 cents

C(2)

So, C(6) = C(5) + C(4) +C(2)


=6+3+2
C(6) = 11
Let n = 7, 35 cents
10 cents

5 cents

C(5)

So, C(7) = C(6) + C(5) + C(4)


= 11 + 6 + 3
C(7) = 20

From this, we can conclude that,


C(4) = C(3) + C(2)
C(5) = C (4) + C(3) + C(1)
C(6) = C(5) + C(4) + C(2)
C(7) = C(6) + C(5) +C(3)
From this sequence we can summarize,
C(n) = C(n-1) + C(n-2) + C(n-4)

20cents

C(6)

C(4)

For RM0.50 is C(10)


C(10) = C(9) + C(8) + C(6)
= 60 + 34 + 11
= 105 number of sequences
C(8) = C(7) + C(6) + C(4)
= 20 + 11 + 3
= 34
C(9) = C(8) + C(7) + C(5)
= 34 + 20 + 6
= 60

You might also like