# ?Construct a flowchart for your algorithm.? Construct a hierarchy chart for your algorithm.? 3) (10 pts)...

###### Question:  ?Construct a flowchart for your algorithm.?

Construct a hierarchy chart for your algorithm.?

3) (10 pts) Develop and algorithm to calculate the surface area and internal volume of a torus. A torus is a 3-dimensional surface created by revolving a circle through its center around an axis coplanar with the circle. An example of a torus is depicted in Figure 1. The formulae to calculate the volume and area of a ring or horn torus are Where: A: V: R: Surface area of the torus (in squared units of length) Internal volume of the torus (in cubic units of length) Major radius. Represents the distance from the center of the tube to the center of the torus (in units of length) Figure 1:A ring torus : Minor radius. Represents the radius of the tube (in units of length) t: Mathematical constant approximately equal to 3.1416 The algorithm must display the area and volume. It must also determine the type of torus based on the relationship between the two radii (see Table 1 and Figure 2). Finally, if the type of torus is "Spindle" the algorithm must display the message "Calculated area and volume may be overstated Table 1. Types of tori based relationship between R and r RelationshipType of Torus RT R=Y Rin Horn Spindle

#### Similar Solved Questions

##### This unit provides insight on how to structure the project organization in an effective and efficient manner to achieve project objectives. One of the challenging issues of project management is the c...
This unit provides insight on how to structure the project organization in an effective and efficient manner to achieve project objectives. One of the challenging issues of project management is the contradiction of fundamental design principles associated with traditional organizations. Projects ar...
##### Question Part Points Submissions Used 1.Recall that Benford's Law claims that numbers chosen from very large...
Question Part Points Submissions Used 1.Recall that Benford's Law claims that numbers chosen from very large data files tend to have "1" as the first nonzero digit disproportionately often. I...
##### 2. (25 points) A 1,150 foot vertical curve connects a +3% grade with a -2% grade....
2. (25 points) A 1,150 foot vertical curve connects a +3% grade with a -2% grade. If the VPC is 150+ 00 (stations), what is the station of the high point of the curve?...
##### Suppose that the light bulb in the figure is a 63.0-W bulb with a resistance of...
Suppose that the light bulb in the figure is a 63.0-W bulb with a resistance of 232 Ω. The magnetic field has a magnitude of 0.36 T, and the length of the rod is 0.57 m. The only resistance in the circuit is that due to the bulb. What is the shortest distance along the rails that the rod would...
##### LEARN MORE REMARKS This example exhibits features similar to the Millikan Oil-Drop experiment which de the...
LEARN MORE REMARKS This example exhibits features similar to the Millikan Oil-Drop experiment which de the value of the fundamental electric charge e. Notice that in both parts of the example, the cha very nearly a multiple of e. QUESTION What would be the acceleration of the oil droplet in part (a)...
##### Q. 2 The shaft is supported by three smooth journal bearings at A, B, and C....
Q. 2 The shaft is supported by three smooth journal bearings at A, B, and C. Determine the components of reaction at these bearings. Use F1 = 620 N, F2 = 480 N, F3 = 860 N, and F4 = 470 N. (1 point) z F3 F1 F4 С 0.6 m А -0.9 m 0.6 m 0.9 m 0.9 m B 0.9 m F2 0.9 m...
##### If a 11 kg object moving at 15 ms^-1 slows down to a halt after moving 225 m, what is the coefficient of kinetic friction of the surface that the object was moving over?
If a 11 kg object moving at 15 ms^-1 slows down to a halt after moving 225 m, what is the coefficient of kinetic friction of the surface that the object was moving over?...
##### 7. (9 pts) A block is pushed up a 30 incline by an applied force as...
7. (9 pts) A block is pushed up a 30 incline by an applied force as shown. If F-35 N, M 3.4 ks and the coefficient of kinetic friction is 0.12, what is the magnitude of the resulting acceleration of the block? 8.(10 pts) Two blocks, ms 1.0kg and m-2.0 kg, are connected by a light string as shown In ...
##### M 1: Suppose that.X, form a random sample from a Bernoulli distribution for s unknown (0 θ < 1). ...
m 1: Suppose that.X, form a random sample from a Bernoulli distribution for s unknown (0 θ < 1). Suppose also that the prior distribu- the beta distribution with parameters a >0 and 8> 0. Then the posterior distribution which the value of the parameter i of θ given that Xi z, (i...
##### 9. IV of D51/2NS at 100 cc/hr (20 gtts/mL) How many drops per minute? 10. Your...
9. IV of D51/2NS at 100 cc/hr (20 gtts/mL) How many drops per minute? 10. Your patient has had the following intake: 2/2 cups of coffee (240 ml/cup), 11.5 oz of grape juice, 74 qt of milk, 320 ml of diet coke, 240 mL of D5W IV and 2 oz of grits. What will you record as the total intake in mL for thi...