Question

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

?Construct a flowchart for your algorithm.?

Construct a hierarchy chart for your algorithm.?

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
?Construct a flowchart for your algorithm.? Construct a hierarchy chart for your algorithm.? 3) (10 pts)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • C++ problem 11-3 Chapter 10 defined the class circleType to implement the basic properties of a...

    C++ problem 11-3 Chapter 10 defined the class circleType to implement the basic properties of a circle. (Add the function print to this class to output the radius, area, and circumference of a circle.) Now every cylinder has a base and height, where the base is a circle. Design a class cylinderType that can capture the properties of a cylinder and perform the usual operations on the cylinder. Derive this class from the class circleType designed in Chapter 10. Some...

  • Consider a cylindrical capacitor like that shown in Fig. 24.6. Let d = rb − ra...

    Consider a cylindrical capacitor like that shown in Fig. 24.6. Let d = rb − ra be the spacing between the inner and outer conductors. (a) Let the radii of the two conductors be only slightly different, so that d << ra. Show that the result derived in Example 24.4 (Section 24.1) for the capacitance of a cylindrical capacitor then reduces to Eq. (24.2), the equation for the capacitance of a parallel-plate capacitor, with A being the surface area of...

  • 10. + 0/3 points | Previous Answers SerPSET9 12.P.021. My Notes + Ask Your Teacher John...

    10. + 0/3 points | Previous Answers SerPSET9 12.P.021. My Notes + Ask Your Teacher John is pushing his daughter Rachel in a wheelbarrow when it is stopped by a brick 8.00 cm high (see the figure below). The handles make an angle of a = 20.0° with the ground. Due to the weight of Rachel and the wheelbarrow, a downward force of 405 N is exerted at the center of the wheel, which has a radius of 15.0 cm....

  • G00 Rapid move G0 X# Y# Z# up to eight axes or GO Z# X# Gol Feed Rate move G 1 X# Y# Z# up to eight axes or G1 Z# X# G02 Clockwise move X# Y#1# J# G03 Counter Clockwise move X# Y#1# G04 Dwell time G0...

    G00 Rapid move G0 X# Y# Z# up to eight axes or GO Z# X# Gol Feed Rate move G 1 X# Y# Z# up to eight axes or G1 Z# X# G02 Clockwise move X# Y#1# J# G03 Counter Clockwise move X# Y#1# G04 Dwell time G04 L# G08 Spline Smoothing On G09 Exact stop check, Spline Smoothing Off G10 A linear feedrate controlled move with a decelerated stop G11 Controlled Decel stop G17 XY PLANE G18 XZ PLANE...

  • What is the volume of the sphere in Procedure 2 in units of cm3? Express your...

    What is the volume of the sphere in Procedure 2 in units of cm3? Express your answer to two significant figures. LAB 14: IDEAL GAS LAW BASIC CONCEPTS TEXTBOOK: SECTIONS 15.2, YOUNG, 10TH EDITION DEFINITIONS Volume: The space taken up by an object, measured in cubic meters (m"). Pressure: For an enclosed gas, pressure is defined as the force exerted per area by the gas on the container walls, measured in Pascal (1 N/m) Temperature: A measure of the average...

  • Game Description: Most of you have played a very interesting game “Snake” on your old Nokia...

    Game Description: Most of you have played a very interesting game “Snake” on your old Nokia phones (Black & White). Now it is your time to create it with more interesting colors and features. When the game is started a snake is controlled by up, down, left and right keys to eat food which appears on random locations. By eating food snake’s length increases one unit and player’s score increases by 5 points. Food disappears after 15 seconds and appears...

  • summarizr the followung info and write them in your own words and break them into different...

    summarizr the followung info and write them in your own words and break them into different key points.   6.5 Metering Chamber: 6.5.1 The minimum size of the metering box is governed by the metering area required to obtain a representative test area for the specimen (see 7.2) and for maintenance of reasonable test accuracy. For example, for specimens incorporating air spaces or stud spaces, the metering area shall span an integral number of spaces (see 5.5). The depth of...

  • summatize the following info and break them into differeng key points. write them in yojr own...

    summatize the following info and break them into differeng key points. write them in yojr own words   apartus 6.1 Introduction—The design of a successful hot box appa- ratus is influenced by many factors. Before beginning the design of an apparatus meeting this standard, the designer shall review the discussion on the limitations and accuracy, Section 13, discussions of the energy flows in a hot box, Annex A2, the metering box wall loss flow, Annex A3, and flanking loss, Annex...

  • 1. Analyze the major challanges USB faced in the last 5 years, in your opinion, what...

    1. Analyze the major challanges USB faced in the last 5 years, in your opinion, what were the crucial factors in the banks downturn? 2. what are the main triggers to change the banks approach to communication and what is different today regarding the dealings and relationship to its share-and stakeholders? 3. How would you evaluate the constant replacement of the banks chairman and CEO? 4. in view of the future strategy of USB, what are your suggestions in order...

  • 1. Analyze the major challanges USB faced in the last 5 years, in your opinion, what were the cru...

    1. Analyze the major challanges USB faced in the last 5 years, in your opinion, what were the crucial factors in the banks downturn? 2. what are the main triggers to change the banks approach to communication and what is different today regarding the dealings and relationship to its share-and stakeholders? 3. How would you evaluate the constant replacement of the banks chairman and CEO? 4. in view of the future strategy of USB, what are your suggestions in order...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT