Question

python, A dartboard of radius 10 and the wall it is hanging on are represented using...

python, A dartboard of radius 10 and the wall it is hanging on are represented using the two-dimensional coordinate system, with the board’s center at coordinate (0, 0). Variables x and y store x- and y-coordinate of a dart hit. Write an expression using variables x and y that evaluates to True if the dart hits (is within) the dartboard, and evaluate the expression for these dart coordinates:
a) (0, 0)
b) (10, 10)
c) (6, -6)
d) (-7, 8)
0 0
Add a comment Improve this question
Answer #1

The dartboard is a circle with its centre at the (0, 0) coordinates => it satisfies the equation

For the inside of the dartbaoard, the sum of and is less than or equal to the sqaure of radius. The following graph represents the dartboard with the equation .

=>

a) (0, 0)

0 + 0 <= 100

0 <= 100 - True

=> (0, 0) lies within the dartboard

b) (10, 10)

100 + 100 <= 100

200 <= 100 - False

=> (10, 10) does not lie within the dartboard

c) (6, -6)

36 + 36 <= 100

72 <= 100 - True

=> (6, -6) lies within the dartboard

d) (-7, 8)

49 + 64 <= 100

113 <= 100 - False

=> (7, -8) does not lie within the dartboard

Add a comment
Know the answer?
Add Answer to:
python, A dartboard of radius 10 and the wall it is hanging on are represented using...
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
  • Using Python 3: Create a point p1 of coordinates (0; 0) and un point p2 of...

    Using Python 3: Create a point p1 of coordinates (0; 0) and un point p2 of coordinates (1; 2). Print out the coordinates of the two points on the same line, by calling toString on the two points. Print the result of applying the method equals on point p1, using p2 as argument. Set the x coordinate of p2 equal to the x coordinate of p1, using the methods setX and getX. Set the y coordinate of p2 equal to...

  • Oil SPS 2 1.pdf THE WALL (10 points total) You throw a ball toward a wall...

    Oil SPS 2 1.pdf THE WALL (10 points total) You throw a ball toward a wall at speed vo 25.0 m/s and at angle θ = 40.0° above the horizontal (figure bclow). The wall is distance d - 22.0 m from the rclcasc point of the ball Assumc no air rcsistancc 1. How far above the release point h does the ball hit the wall? Start your argument from the basic equations of motion into the horizontal and vertical directions....

  • Imagine we are using a two-dimensional array as the basis for creating the game battleship. In...

    Imagine we are using a two-dimensional array as the basis for creating the game battleship. In the game of battleship a '~' character entry in the array represents ocean, a '#' character represents a place ion the ocean where part of a ship is present, and an 'H' character represents a place in the ocean where part of a ship is present and has been hit by a torpedo. Thus, a ship with all 'H' characters means the ship has...

  • PROBLEM 4: Continued Part2: The state of stress at a point represented on the Mohr's circle...

    PROBLEM 4: Continued Part2: The state of stress at a point represented on the Mohr's circle shown below as point X (- 200 MPa, -200 MPa) and y. The center of the circle has a coordinate C (50,0) and a radius R=320 MPa. Determine the normal stress Ox' and the shear stress t x'y on an element oriented 0=10 degrees clockwise from x. 16% (-200, -200) 20 R 01 to +T

  • Consider the following region and the vector field F. a. Compute the two-dimensional divergence of the...

    Consider the following region and the vector field F. a. Compute the two-dimensional divergence of the vector field. b. Evaluate both integrals in Green's Theorem and check for consistency F= (2x-2y); R=(x,y): x2 + y²59 a. The two-dimensional divergence is (Type an exact answer.) b. Set up the integral over the region. Write the integral using polar coordinates with r as the radius and O as the angle SO rdr d0 (Type exact answers.) 0 o Set up the line...

  • Problem #2: (10 points) Consider a closed, thin-walled, pressurized cylinder of inside radius r, wall thickness...

    Problem #2: (10 points) Consider a closed, thin-walled, pressurized cylinder of inside radius r, wall thickness t, and length L. The cylinder is subjected to an internal pressure p. The cylinder is also subjected to equal and opposite end torques T, as shown in Figure 1. At any point in the side wall of the cylinder, a two-dimensional coordinate system is established such that x,-axis is in the axial direction of the cylinder and the Xz-axis is in the circumferential...

  • HTML 5 Canvas When drawing an arc, the sixth argument specifies ________.         the radius...

    HTML 5 Canvas When drawing an arc, the sixth argument specifies ________.         the radius of the circle         the arc's starting angle in radians         the arc's ending angle in radians         the direction in which the arc's path is drawn QUESTION Which of the following statements is false?         A coordinate pair has both an x-coordinate (the horizontal coordinate) and a y-coordinate (the vertical coordinate).         The x-coordinate is the horizontal distance...

  • Assume that a Spherical Planet Of Radius R, Has a Uniform Mass Density (Per Unit Volume) Distribu...

    Assume that a Spherical Planet Of Radius R, Has a Uniform Mass Density (Per Unit Volume) Distribution Throughout, Of Value Po. Also, Assume that There Is a Massive Dust Cloud In the Rest Of the Universe, Which Decays Exponentially In Radius, r, Away From the Surface Of the Planet, Where the Mass Density Varies As ρ(r) = Po exp| | | |, For r2R- a) Using the Integral Form Of Gauss's 6. Law, [n.gda--4πGJsoh', And Spherical Coordinates (Specifically Using the...

  • Assume that a Spherical Planet Of Radius R, Has a Uniform Mass Density (Per Unit Volume) Distribu...

    Assume that a Spherical Planet Of Radius R, Has a Uniform Mass Density (Per Unit Volume) Distribution Throughout, Of Value Po. Also, Assume that There Is a Massive Dust Cloud In the Rest Of the Universe, Which Decays Exponentially In Radius, r, Away From the Surface Of the Planet, Where the Mass Density Varies As ρ(r) = Po exp| | | |, For r2R- a) Using the Integral Form Of Gauss's 6. Law, [n.gda--4πGJsoh', And Spherical Coordinates (Specifically Using the...

  • Please help with C Thanks Declare a structure to represent a circle. Each circle stores information...

    Please help with C Thanks Declare a structure to represent a circle. Each circle stores information about the center and the radius. Center is represented with x and y coordinates. Both center and radius uses doubles. Allocate an array of 50 circle pointers and dynamically allocate memory to store a circle pointed by cash array eatery. Randomly generate circles using the following function. double rand_float (double a.double b) {return ((double)rand()/RAND_MAX)=(b-a)+a:} We want all the circles to fit an area of...

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