0% found this document useful (0 votes)
58 views7 pages

School of Law Computer Literacy and Numeracy: Assignment # 2

This document contains an assignment submission for a Computer Literacy and Numeracy course. The assignment contains questions requiring the student to write Excel formulas to calculate various statistical measures, construct tree diagrams to calculate probabilities of outcomes, and analyze frequency distribution tables of crime data. The student is asked to calculate measures such as range, mean, variance, standard deviation, probabilities of outcomes, and compare crime data between two cities to determine which city would consider 27 offenses a 'substantial' number relative to each city's trend. The assignment is submitted by Nelson Lyin with their student ID and other identifying information.
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)
58 views7 pages

School of Law Computer Literacy and Numeracy: Assignment # 2

This document contains an assignment submission for a Computer Literacy and Numeracy course. The assignment contains questions requiring the student to write Excel formulas to calculate various statistical measures, construct tree diagrams to calculate probabilities of outcomes, and analyze frequency distribution tables of crime data. The student is asked to calculate measures such as range, mean, variance, standard deviation, probabilities of outcomes, and compare crime data between two cities to determine which city would consider 27 offenses a 'substantial' number relative to each city's trend. The assignment is submitted by Nelson Lyin with their student ID and other identifying information.
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/ 7

SCHOOL OF LAW

COMPUTER LITERACY AND NUMERACY


ASSIGNMENT # 2

SUR NAME LYIN


GIVEN NAME Nelson
ID NUMBER 202050304
GROUP # 17
PROGRAMME LLB1
COUSRSE COMPUTER LITERACY &
NUMER-
TUTOR MR:
LECTURE
DUE DATE 12/06/2020.

NELSON LHYRN Lyin @UPNG 2020.


Question 1
Write a single Ms excel for each of the following measures described from (a-g).

a) The statistical range values from the cell range B2:E5 as well as those in C8 and D10.
=max(B2:E2 + C8,D10) - min(B2:E2 + C8,D10)

b) The mean of the values in all the cells described in part a.


=average

c) The variance of values in the cell ranges, A1:G20 and L1:P20 divided by the square of the sum of the same
cells.

d) The final value of a simple interest investment given the principal, the annual interest rate and the number of
investment months in cells A1, B1 and C1 respectively.

e) The interest of a compound interest investment where interest is compounded annually with the values of P,
R and N in cells A2, B2 and C2 respectively.

NELSON LHYRN Lyin @UPNG 2020.


f) The standard deviation of values in the range B4:E20 added to the total number of values in the same cell
range.

g) Given in appraisal score in G2 and the current salary in H2, calculate 5% if these score is greater than 60.
Else, the IF statement must return the next, NO INCREAS

Question 2
a) A generic study undertaken on a newly-wed royal family reveal that the birth of a prince compared
to that of a princess would be favored in the ratio of 3:2.
Use the tree diagram to generate all possible outcomes for two successive births. Then the probability that
both siblings are of the same gender.
Male (M), Female (F) Sample Space
M (3/5) MM (3/5x3/5)
MF (3/5x2/5)
M (3/5) F (2/5) FM (2/5x3/5)
FF (2/5x2/5)
MF (3:2) M (3/5)
F (2/5) Therefore;
F (2/5) =MM + FF
= (3/5x3/5) + (2/5x2/5)
=9/25+4/25
=13/25
b) A lawyer has three cases to defend. She has calculated their chances of winning a civil case as being
50%. She is however; aware of a 70% chance she will lose a criminal case. Due to her vast experiences
though in corporate law, she is 90% sure of winning her third case which is in this area of law.
i) Use a tree diagram to show all possible outcomes of her three pending cases. Corporate Case
Win (W), Lose (L) Criminal Case W (9/10)
W (3/10)
Civil Case L (1/10)
W (1/2)
W (9/10)
L (7/10)
L (1/10)

NELSON LHYRN Lyin @UPNG 2020.


W/L
W (9/10)
W (3/10)
L (1/10)
L (1/2)
W (9/10
L (7/10)
L (1/10)

ii) Calculate the probability that;


a) She wins all three cases for her clients.
=WWW
=1/2x3/10x9/10
=27/200
= 0.135
b) She will be unlucky to win one case.
= WWL+WLW+LWW
= (1/2x3/10x1/10) + (1/2x7/10x9/10) + (1/2x3/10x9/10)
= 3/200 + 63/200 + 27/200
= 93/200
= 0.465
c) The lawyer will be victorious in at least two cases.
= WWW+WWL+WLW+LWW
= (1/2x3/10x9/10) + (1/2x3/10x1/10) + (1/2x7/10x9/10) + (1/2x3/10x9/10)
= 27/200 + 3/200 + 63/200 + 27/200
= 120/200
= 3/5
= 0.6
d) At most two cases will be lost.
= WWL + WLW +WLL + LWW + LWL + LLW
= (1/2x3/10x1/10) + (1/2x7/10x9/10) + (1/2x7/10x1/10) + (1/2x3/10x9/10) + (1/2x3/10x1/10) +
(1/2x7/10x9/10)
= 3/200 + 63/200 + 7/200 + 63/200 + 3/200 + 63/200
= 202/200

NELSON LHYRN Lyin @UPNG 2020.


= 1.01

e) She wins the criminal and loses the corporate case.


= WW+LLLL
= (3/10x3/10) + (1/10x1/10x1/10x1/10)
= 9/100+1/10000
= 901/10000
= 0.0901

Question 3
The following values represent the daily number of offences committed by juvenile offenders in city A
over a 70-day period.

25 24 6 24 27 16 29
33 5 24 24 27 29 26
2 27 16 8 26 35 22
22 33 27 31 5 35 32
2 35 8 11 19 9 20
18 32 22 15 35 24 27
3 25 9 10 14 8 24
6 12 14 10 26 11 18
33 1 29 5 27 14 32
16 32 26 5 8 18 13

i) Collate the data using the frequency distribution table of grouped data beginning with the class 1-5.

Number Frequenc Class fx x-mean ( x−mean )2 f ( x−mean )2


of y of Centre
offenders offenders (x)
class (f)
1-5 8 3 8x2=24 3-19.5=-16.5 (-16.5)^2=272.25 8x272.25=2178
6-10 10 8 10x8=80 8-19.5=-11.5 (- 10x132.25=1322.5
11.5)^2=132.25
11-15 8 13 8x13=104 13-19.5=-6.5 (-6.5)^2=42.25 8x42.25=338
16-20 8 18 8x18=144 18-19.5=-1.5 (-1.5)^2=2.25 8x2.25=18
21-25 11 23 11x23=253 23-19.5=3.5 (3.5)^2=12.25 11x12.25=134.75
26-30 13 28 13x28=364 28-19.5=8.5 (8.5)^2=72.25 13x72.25=939.25
31-35 12 33 12x33=396 33- (13.5)^2=182.25 12x182.25=2187
19.5=13.5

∑f=70 ∑fx=1365 ∑f(x-


mean)^2=7117.5

Mean=∑fx/∑f
= 1365/70

NELSON LHYRN Lyin @UPNG 2020.


= 19.5

ii) From the frequency distribution table, determine the following;


a) Mean daily number of juvenile offence.
Mean=∑fx/∑f
= 1365/70
= 19.5
b) Class interval.
6-1=5 or 10-5=5
Class interval= 5
c) Median class.
Class of 16-20
d) Modal class.
Modal class= 26-30
e) Variance.

V=∑ f ( x−mean )2 /∑ f

V= 7117.5/70
V= 101.67857
f) Standard Deviation.
∂=√ ¿)

∂=√ (7117.5/70)

∂= 10.08

NELSON LHYRN Lyin @UPNG 2020.


iii) A similar survey conducted in a second city B, showed the calculated mean daily offence value of 19.5
and a standard deviation of 5. In which of the cities are 27 offences a day considered to be ‘substantial’,
with respect to the trend of daily juvenile offences in each city?

NELSON LHYRN Lyin @UPNG 2020.

You might also like