![Thinking Like an Engineer: An Active Learning Approach (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134639673/9780134639673_largeCoverImage.gif)
Concept explainers
Your function should use polyfit to determine the parameters of the boundary lines (assumed linear). The endpoints of the lines are noted or the graph. You should NOT calculate the slopes and intercepts manually.
You are part of a team designing a game to hit a target A “gun” will fire a short pulse of light at a light-sensitive screen, and the coordinates of the location where the pulse hits the screen will be captured in the variables X (horizontal) and Y (vertical). The values in X and Y will be between –4 and 4 unless the player misses the screen altogether, in which case both X and Y contain –99. The software and hardware to accomplish all of the above are being designed by more experienced team members.
Your task is to write a function named Classify that returns a text string indicating where on the target the light pulse hit as well as a numeric score.
As shown on the graph, the text string should contain either “Bullseye,” “Close,” “Hit,” or “Miss.” If the player missed the screen altogether, the text string should contain “Total Miss.” If the coordinates sent to the function lie exactly on a boundary, it should be classified with the area farther from the center.
The numeric score should be set according to the following list:
Bulseye: | 4 |
Close: | 2 |
Hit: | 1 |
Miss: | 0 |
Total Miss: | –1 |
Remember that a circle can be defined by
where R is the radius or the circle.
![Check Mark](/static/check-mark.png)
Want to see the full answer?
Check out a sample textbook solution![Blurred answer](/static/blurred-answer.jpg)
Chapter 18 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- A distillation column with a total of 13 actual stages (including a partial condenser) is used to perform a separation which requires 7 ideal stages. Calculate the overall column efficiency, and report your answer in %arrow_forward6. Consider a 10N step input to the mechanical system shown below, take M = 15kg, K = 135N/m, and b = 0.4 Ns/m. (a) Assume zero initial condition, calculate the (i) System pole (ii) System characterization, and (iii) The time domain response (b) Calculate the steady-state value of the system b [ www K 个 х M -F(+)arrow_forward2. Solve the following linear time invariant differential equations using Laplace transforms subject to different initial conditions (a) y-y=t for y(0) = 1 and y(0) = 1 (b) ÿ+4y+ 4y = u(t) for y(0) = 0 and y(0) = 1 (c) y-y-2y=0 for y(0) = 1 and y(0) = 0arrow_forward
- 3. For the mechanical systems shown below, the springs are undeflected when x₁ = x2 = x3 = 0 and the input is given as fa(t). Draw the free-body diagrams and write the modeling equations governing each of the systems. K₁ 000 K₂ 000 M₁ M2 -fa(t) B₂ B₁ (a) fa(t) M2 K₂ 000 B K₁ x1 000 M₁ (b)arrow_forwardThis question i m uploading second time . before you provide me incorrect answer. read the question carefully and solve accordily.arrow_forward1. Create a table comparing five different analogous variables for translational, rotational, electrical and fluid systems. Include the standard symbols for each variable in their respective systems.arrow_forward
- 2) Suppose that two unequal masses m₁ and m₂ are moving with initial velocities v₁ and v₂, respectively. The masses hit each other and have a coefficient of restitution e. After the impact, mass 1 and 2 head to their respective gaps at angles a and ẞ, respectively. Derive expressions for each of the angles in terms of the initial velocities and the coefficient of restitution. m1 m2 8 m1 m2 βarrow_forward4. Find the equivalent spring constant and equivalent viscous-friction coefficient for the systems shown below. @ B₁ B₂ H B3 (b)arrow_forward5. The cart shown below is inclined 30 degrees with respect to the horizontal. At t=0s, the cart is released from rest (i.e. with no initial velocity). If the air resistance is proportional to the velocity squared. Analytically determine the initial acceleration and final or steady-state velocity of the cart. Take M= 900 kg and b 44.145 Ns²/m². Mg -bx 2 отarrow_forward
- 9₁ A Insulated boundary Insulated boundary dx Let's begin with the strong form for a steady-state one-dimensional heat conduction problem, without convection. d dT + Q = dx dx According to Fourier's law of heat conduction, the heat flux q(x), is dT q(x)=-k dx. x Q is the internal heat source, which heat is generated per unit time per unit volume. q(x) and q(x + dx) are the heat flux conducted into the control volume at x and x + dx, respectively. k is thermal conductivity along the x direction, A is the cross-section area perpendicular to heat flux q(x). T is the temperature, and is the temperature gradient. dT dx 1. Derive the weak form using w(x) as the weight function. 2. Consider the following scenario: a 1D block is 3 m long (L = 3 m), with constant cross-section area A = 1 m². The left free surface of the block (x = 0) is maintained at a constant temperature of 200 °C, and the right surface (x = L = 3m) is insulated. Recall that Neumann boundary conditions are naturally satisfied…arrow_forward1 - Clearly identify the system and its mass and energy exchanges between each system and its surroundings by drawing a box to represent the system boundary, and showing the exchanges by input and output arrows. You may want to search and check the systems on the Internet in case you are not familiar with their operations. A pot with boiling water on a gas stove A domestic electric water heater A motor cycle driven on the roadfrom thermodynamics You just need to draw and put arrows on the first part a b and carrow_forward7. A distributed load w(x) = 4x1/3 acts on the beam AB shown in Figure 7, where x is measured in meters and w is in kN/m. The length of the beam is L = 4 m. Find the moment of the resultant force about the point B. w(x) per unit length L Figure 7 Barrow_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
![Text book image](https://www.bartleby.com/isbn_cover_images/9780190698614/9780190698614_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9780134319650/9780134319650_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781259822674/9781259822674_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118170519/9781118170519_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337093347/9781337093347_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118807330/9781118807330_smallCoverImage.gif)