Concept explainers
You are programming the control system for a robot tractor that will be used to plant and till circular fields. (Circular fields are very common in the arid western United States, where they commonly use center-pivot irrigation, inherently giving a circular field.) To avoid having the tractor run over crops traveling directly from the outside to the center or vice versa, it will be programmed to do one double-wide spiral inward, followed by a second outward spiral exactly halfway between the lines of the inward spiral to give the desired spacing. See diagram, inward in black, outward in red (or vice versa).
Write a program to generate this spiral pattern in a figure window.
- First, ask the user how many turns they wish for one arm of the spiral to have. In the example shown the user entered 5, for a total of 10 turns, 5 inward and 5 outward.
- All turns should be evenly spaced as shown. You may assume any outside diameter that is convenient, and the values do not need to be marked on the axes.
- You can consider either spiral to be the starting (inward) spiral as long as you end up with the correct pattern.
Hint: Recall the math of polar to rectangular conversions:
- X = R*cos(A)
- Y = R*sin(A)
Hint: Make the radius (distance from center) dependent on the total angle through which the tractor has traveled.
Want to see the full answer?
Check out a sample textbook solutionChapter 19 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- Acceleration analysis: Hello, I am stuck on the last part (d) and I'm not sure how to start. I have solved all other parts, Thanks.arrow_forwardQuestion number 1arrow_forwardDISCUSS THE STEP-BY-STEP PROCESS OF HOW TO COME UP WITH A SOLUTION. *Preferably if you typed the answer Thumbs up guaranteed If you discuss the steps. Thankyou!arrow_forward
- Version #2 Describe the situation using a diagram: Contact Push/Pull Interaction 4 Write the narrative: During the contact push/pull interaction between the hand and the cart kinetic energy is transferred between them. The type of energy that changes in the two interacting objects is always the same as the type of energy that is transferred, so this means that the kinetic energy of the hand decreases while the kinetic energy of the cart increases. Since the cart was at rest to start with, this increase of kinetic energy means that it starts to move. Which criterion (accuracy, completeness, or clarity and logical reasoning) is not satisfied by this explanation? Briefly explain why you think so.arrow_forwardAn engineer camping in the woods, while scoping out a new development project, wants to boil an egg for exactly nine minutes. The only timing devices available are a four-minute sandglass, and a seven-minute sandglass. After some thought, the engineer figures out a way to use the sandglasses to time the nine-minute egg. What is the process? Note that the engineer is not allowed to break either sandglass, or otherwise manipulate them.arrow_forwardHand written plz asap please.... I'll give you multiple upvote hand written plz asap please.... Plz solve it within half n hourarrow_forward
- Q:Draw and implement the figure below using AutoCAD. Note: All the sides of cube are equal 70,70 50 20 70,20 3D 0,0 50 20arrow_forward5. Please give the definition and syntax for G00 and G28, and draw the toolpath and mark the passing point coordinate positions in XOY coordinate plane in the following two pictures separately after the code blocks being executed. G00 X6.0 Y3.0 Finish postion(6,3) Start postion (0,0) G91 G28 X0.0 Z2.0 Home postion (6,3) Start postion (0,0)arrow_forwardHello. I need help with this review question. Please help me out.arrow_forward
- A flange used to connect two pipes is shown in Figure Q3. Holes need to be drilled to fix it. Drilling should be done in two steps with each step 7 mm. Using absolute coordinate system and the parameters given in the table below, (i) Determine the coordinates of hole H=4 (ii) Determine the shortest distance between hole H=4 and the center (iii) Write a G code program for drilling hole H=4 only. CNC Drilling Operating Conditions Speed of the spindle 1770 RPM Feed rate of drilling 21 mm/minute Size of the drill bit 8 mm Rack number of drill bit 2 Distance kept between the drill bit and the work piece surface 4.5 mm The flange thickness 14 mm H=2 H=3 H=1 B=30° H=4 A = 60°. angle = 0°. Center (0, 0) Radius = 60 mm %3D Figure Q3arrow_forward!arrow_forwardPlease do 5 and 6 pleeeasearrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY