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)
- Using graphical method solve this problem: Suppose you first walk A in a direction of B west of north then C in a direction D south of west. You rest for 20 minutes and started to compute the distance you traveled. Take A, B, C and D found in the table below. (You may use scale such as 1cm = 2m in your drawing) A. Sketch the problem in a Cartesian plane. B. How far are you from your starting point, and what is the compass direction of a line connecting your starting point to your final position (resultant R)? C. What is the angle between AC ? D. What is the angle between your first walk A to the resultant R?arrow_forwardUsing graphical method solve this problem: Suppose you first walk A in a direction of B west of north then C in a direction D south of west. You rest for 20 minutes and started to compute the distance you traveled. Take A, B, C and D found in the table below. (You may use scale such as 1cm = 2m in your drawing) A. Sketch the problem in a Cartesian plane. B. How far are you from your starting point, and what is the compass direction of a line connecting your starting point to your final position (resultant R)?arrow_forwardI need the full code of MATLABarrow_forward
- How do I input this code for this MATLAB problem? Thanks!arrow_forward3. (If relevant) A clearly labeled diagram (or diagrams) clearly pertaining to your analysis with a coordinate system and relevant labels. Final answer with appropriate units and significant figures. You can use the fprintf() command in MATLAB to format numerical results A 2-3 sentence reflection on your answer. Does it make sense? Why or why not? What are some implications?arrow_forwardThe title of our study is "Design and Fabrication of an Agricultural Spraying Attachment for an Autonomous Rover" we need help in the machine design part of our study, specifically Pump selection, battery selection, and center of gravity computation I already sent you the image of the rover Rover weight capacity 35 kilo grams (payload) Rover measurements: Wheel distance - 14.5 inches and 8.5 inches Rover platform size (width & length) 14.4 inches x 10.4 inches Height- 15.8 inches. Water tank selection More or less 25 liters *For tank selection we need to justify the size with the center of gravity, proving that is the maximum dimension or liters of the tank because the center of gravity will be higher making the rover prone to toppling Pump selection *Our sprayer design has two nozzles which splits using a tee splitter, we need to find the size of the pump to obtain the same discharge rate of a normal sprayer. A normal sprayer has a 12V pump and a pressure from 0.2 to 0.45 mpa…arrow_forward
- You are recently promoted as the chief traffic management officer of a major city in the country. Based on recent data, you learned that one of the leading causes of road accidents is over speeding.In your desire to minimize road accidents, you went out to observe how traffic management rules are implemented on the streets. Your attention was caught by a fast - moving car that seemed to be breaking the speed limit of 100 kilometers per hour(km/hr.), and so you followed it along the highway. After a short time, the driver of the car noticed you and started to slow down. Eventually, he stopped on the side of the road. Supposed the speed of the car had been noted during this time and is modeled by the quadratic equation y = 3x² + 17x - 20, where y represents the speed of the car in km/hr. and x represents the number of minutes after you started following the car. How long did it take for the car to be under surveillance before it could finally stop on the side of the road? Did the driver…arrow_forwardIn your own words with no google, how do you add vectors using parallelogram method graphicallyarrow_forwardUsing graphical method solve this problem: Suppose you first walk A in a direction of B west of north then C in a direction D south of west. You rest for 20 minutes and started to compute the distance you traveled. Take A, B, C and D found in the table below. (You may use scale such as 1cm = 2m in your drawing) C. What is the angle between AC ? D. What is the angle between your first walk A to the resultant R?arrow_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