


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Project; Class: Introduction to Computing Using MATLAB; Subject: Computer Science; University: Cornell University; Term: Spring 2009;
Typology: Study Guides, Projects, Research
1 / 4
This page cannot be seen from the preview
Don't miss anything!



You must work either on your own or with one partner. You may discuss background issues and general solution strategies with others, but the project you submit must be the work of just you (and your partner). If you work with a partner, you and your partner must first register as a group in CMS and then submit your work as a group.
Completing this project will help you learn about Matlab scripts, assignment statements, if-else statements, and some Matlab built-in functions. You will also start to explore Matlab graphics.
Soccer balls come in three sizes:
Size Circumference Intended (inches) Age Group 3 23-24 Less than 8 4 25-26 8 through 12 5 27-28 Older than 12
In this problem we offer a conjecture that explains the circumference values in relative terms. You will examine the validity of the conjecture by writing and running a Matlab script.
Our conjecture requires an “ancient Greek” appreciation for solid geometry so we start with some facts. A solid is a Platonic solid if each face is identical in size and shape. There are only five:
Solid Faces Face Shape Tetrahedron 4 equilateral triangle Cube 6 square Octahedron 8 equilateral triangle Dodecahedron 12 regular pentagon Icosahedron 20 equilateral triangle
Key attributes of a given Platonic solid P include its edge length E, inradius r, outradius R, surface area S, and volume V. The inradius of P is the distance from its center to the centroid of any face. It is the radius of the largest sphere that fits inside P. The outradius of P is the distance from its center to any vertex. It is the radius of the smallest sphere that encloses P. Problem P1.1.5 in the text is concerned with the nesting of Platonic solids and is worth reviewing. The great Johannes Kepler discovered that the radii associated with the nesting
Octahedron ⊂ Iscosahedron ⊂ Dodecahedron ⊂ Tetrahedron ⊂ Cube
have the same ratios to one another (approximately) as the orbit radii of the six visible planets. Following in the footsteps of Kepler, we will attempt to explain the ratios
Size 5 Circumference Size 4 Circumerence
and
Size 4 Circumference Size 3 Circumerence
not by nesting Platonic solids, but by nesting truncated iscosahedrons. A truncated iscosahedron has 32 regular polygon faces. Twenty are hexagons and twelve are pentagons. A soccer ball can be regarded as a “puffed out” truncated iscosahedron:
Because of its soccer connection, the truncated iscosahedron is perhaps the most famous of the thirteen solids that make up the family of Archimedean solids.
Let E be the edge length of a truncated isosahedron I. The radius of the largest sphere that can fit inside I is given by
r =
The radius of the smallest sphere that encloses I is given by
Define
S 5 = a given sphere. I 4 = largest truncated iscosahedron that fits inside S 5 S 4 = the largest sphere that fits inside I 4 I 3 = the largest truncated iscosahedron that fits inside S 4 S 3 = the largest sphere that fits inside I 3
Conjecture:
If S 5 is a regulation size 5 soccer ball, then S 4 is a regulation size 4 soccer ball and S 3 is a regulation size 3 soccer ball.
Write a script SoccerCheck that acquires the circumference of S 5 and neatly displays the circumference of S 5 , S 4 and S 3. You can check out the conjecture by inputting any value between 27 and 28. Make sure your solution script is well-commented. Use fprintf with a format that displays results through the third decimal point. The output values should be clearly identified, e.g.,
Size 5 Circumference: 27.
After running your script several times with different input values for the S 5 circumference, conclude your solution script with some comments that reflect your opinion of our brilliant conjecture! Submit your file SoccerCheck.m in CMS.
(^00 2 4 6 8 )
1
2
3
4
5
6
7
8
9
10
Your point (2.2,1.7) is collinear with the other points!
(^00 2 4 6 8 )
1
2
3
4
5
6
7
8
9
10
Your point (5.6,5.5) is not collinear with the others!