Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Consider the following problem : Consider a circle and an equilateral triangle inscribed in it . Pick a chord at random in the circle. What

Consider the following problem
:
Consider
a circle and
an equilateral triangle inscribed
in it. Pick a chord at random in the circle.
What is the probability that the chord is longer than
a
side of the equilateral triangle?
Part A.
Create
in
Python
a simulation of this problem
that allows you to estimate the wished
theoretical
probability. Th
e program should visually show the statistical experiments
(in a way that could help you
develop a theoretical explanation
HINT: when determining whether the random chord is longer or not,
use the random variable in your conditional statement. This will
help you develop
a
mathematical model
to
determine
what the theoretical probability is
)
, as well as
a numerical value of the
calculated empirical
probability.
Then w
rite
a shor
t
report with the following sections: i) formulation of the problem; ii)
descrip
tion of the mathematics of the problem
,
including any mathematics needed in the program
and
your complete theoretical answer to the probability problem
; and iii)
a short discussion of your
results
.
U
se
JupyterLab
for
your assignment.
You may wish to
use (or have a look at) the Assign 2 Starter.ipynb.
Part
B
.
AFTER you are done with Part A, r
eflect on your learning experience; i) identify (and briefly
justify) all of the computational practices (
according to Weintrop et al.,2016) that you engaged
in as you
completed your task;
ii) comment on the ways in which programming was useful to your solving of this
mathematical problem (
indicate in parentheses one or more affordances that contributed to it). Do you
think you could have solved it without the
use of programming? Explain;
and
iii)
identify a key strategy
(different than in your assignment 1
reflection
) used by the instructor, TA, or a peer helper to support
your completion of the project and the ways in which it supported your work or learning
.
What to submit:
Part A
of your
a
ssignment
(85%)
is to be
submitted
Wednes
day
February
28
by
3
:
00
p
m
in
BrightSpace
that includes: i) your
working program
in Python
as a Jupyter Notebook
file
,
and ii) your written report
(PDF or Word)
with your name, student number, and Assignment 2
as heading of your
written
document
, and the
following
statement of non
-
plagiarism signed
:
I declare that this Python project and written report are
my own work
, and that other work used
or referred to is
appropriately cited in my written report. My initials: _____
The second part
(Part
B
)
of your a
ssignment
is to be
submitted
Fri
day
March 1
by
5
:00pm
in
BrightSpace
.
It consists of your written reflecti
on
.
Using 12 pt
Times New Roman font
(
2.2 cm
left/right
margins
, single
-
spaced), your written document should contain 3 sections and be
about
1 to 1.5 page long
in total
.
For question iii) start by mentioning which key strategy you reported on in assignment 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions