Professional Documents
Culture Documents
Week6 Computational Solutions
Week6 Computational Solutions
Introduction
This in-class exercise provides practice with bringing to bear the Python language
constructs, various data types, and your problem solving skills to develop
acceptable computational solutions. Now that you have knowledge of some
important python language constructs under your belt, this in-class exercise will
give you practice with how you can use the constructs that you have learned
about to date to take a description of a problem to solve through constructing an
acceptable computational solution of the problem of interest. Developing skills to
build computational solutions, in many respects, will be a continuous lifelong
learning and evolutionary process. This in-class exercise supplements and
reinforces the same topic that is presented in the corresponding video. This
exercise will help to provide you with a good foundation and knowledge of the
best practices for developing effective computational solutions.
This in-class exercise is a long exercise. The instructor might extend this exercise
to make it part of Week 7s in-class exercise. An announcement will be made in
class, if necessary.
Page 1 of 11
Page 2 of 11
www.medicinenet.com/renal_artery_stenosis/article.htm
Last Editorial Review: 10/7/2008
of blood vessel wall from the inside) similar to the process that
occurs in blood vessels in the heart and other parts of the
body.
Page 7 of 11
Info and possible code examples will be provided on how to read .csv files.
Page 9 of 11
Alpha values and t-critical, and 1-tail t-statistic will be explained in class.
Alpha values and t-critical, and 1-tail t-statistic will be explained in class.
Page 10 of 11
must achieve by the end of the clinical trial. The second number is the minimum
average decrease, in mmHg, that the druggable stent must achieve by the end of
the clinical trial. An alpha () value of 0.05 can be assumed and hard wired
into the Python program. The t-critical table will be provided as a dictionary.
Looking up the appropriate t-critical value will also require the program to
calculate a degree of freedom value, as specified in the t-statistic formulas given
to you in previous in-class exercises.
6. NOW FOR THE REAL WORK:
a. Write down, in a MS Word or WordPad file a decomposition of the
problem.
b. Analyze the problem in terms of all necessary and important
requirements. In other words, describe WHAT needs to be done.
c. Design your computational solution. In other words, describe HOW
(using English) the WHAT will be accomplished.
d. Implementation, in pseudo code first the design. Then translate the
pseudo code into Python code.
e. Testing we will leave for another in-class exercise.
7. As you complete each step in 6 above, upload your document to the Week6
in-class Assignment. As you progress though each step, you might want or
need to change something in a previous step. That is perfectly fine and
probably the norm rather than the exception. In such a case, simply make
the change and re-upload the document.
DONE!
Page 11 of 11