Concept explainers
To enter the program and run it for several times for large values of D like
Explanation of Solution
Given:
Break a stick into three pieces to get the probability that you can join the pieces end-to-end to form a triangle. If the sum of the length of any two pieces is less than or equal to that of the third, a triangle can’t be form. This is known as Triangle Inequality. By an experiment your class can estimate the probability that three pieces of broken stick will form a triangle.
Calculation:
Let D, N, I, X, Y, R, S and T variables used in program. Where D stands for number of sticks you have to break, N stands for first end of stick that is 0, I stands for variable of for loop assign from 1 to D, X and Y are stand for the length of points distance from initial point that is 0, R assigned as X, S assigned as Y − R and T assigned for 1 − R − S. Consider the program below
Program:
'Print this statement "SIMULATION-BREAKING STICKS TO MAKE TRIANGLES" on output screen.
10 PRINT "SIMULATION-BREAKING STICKS TO MAKE TRIANGLES"
'PRINT use to create blank line.
20 PRINT
30 PRINT "HOW MANY STICKS DO YOU WANT TO BREAK”;
40 INPUT D
50 LET N=0
60 FOR I=1 to D
70 LET X=RND(1)
80 LET Y=RND(1)
90 IF X>=Y THEN 70
100 LET R=X
110 LET S=Y.R
120 LET T=1.R.S
130 IF R+S<=THEN 170
140 IF S+T<=R THEN 170
150 IF R+T<=S THEN 170
160 LET N=N+1
170 NEXT I
180 LET P =N/D
190 PRINT
200 PRINT “THE EXPERIMENTAL PROBABILITY THAT”
210 PRINT “A BROKEN STICK CAN FORM A TRIANGLE IS”, P
220 END
Sample Output:
SIMULATION-BREAKING STICKS TO MAKE TRIANGLES
HOW MANY STICKS DO YOU WANT TO BREAK ?100
THE EXPERIMENTAL PROBABILITY THAT
A BROKEN STICKS CAN FORM A TRIANGLE IS 0.28
Output Explanation:
SIMULATION-BREAKING STICKS TO MAKE TRIANGLES
Enter number of sticks as 100 which you want to break that is value of variable D
HOW MANY STICKS DO YOU WANT TO BREAK ?100
THE EXPERIMENTAL PROBABILITY THAT
Than you get experimental probability is equal to 0.28
A BROKEN STICKS CAN FORM A TRIANGLE IS 0.28
The probability is less than
SIMULATION-BREAKING STICKS TO MAKE TRIANGLES
HOW MANY STICKS DO YOU WANT TO BREAK ?400
THE EXPERIMENTAL PROBABILITY THAT
A BROKEN STICKS CAN FORM A TRIANGLE IS 0.2275
Output Explanation:
SIMULATION-BREAKING STICKS TO MAKE TRIANGLES
Enter number of sticks as 400 which you want to break that is value of variable D
HOW MANY STICKS DO YOU WANT TO BREAK ?400
THE EXPERIMENTAL PROBABILITY THAT
Than you get experimental probability is equal to 0.2275
A BROKEN STICKS CAN FORM A TRIANGLE IS 0.2275
The probability is less than
SIMULATION-BREAKING STICKS TO MAKE TRIANGLES
HOW MANY STICKS DO YOU WANT TO BREAK ?800
THE EXPERIMENTAL PROBABILITY THAT
A BROKEN STICKS CAN FORM A TRIANGLE IS 0.26375
Output Explanation:
SIMULATION-BREAKING STICKS TO MAKE TRIANGLES
Enter number of sticks as 800 which you want to break that is value of variable D
HOW MANY STICKS DO YOU WANT TO BREAK ?800
THE EXPERIMENTAL PROBABILITY THAT
Than you get experimental probability is equal to 0.26375
A BROKEN STICKS CAN FORM A TRIANGLE IS 0.26375
The probability is less than
Chapter 6 Solutions
McDougal Littell Jurgensen Geometry: Student Edition Geometry
Additional Math Textbook Solutions
Pre-Algebra Student Edition
Elementary Statistics (13th Edition)
Thinking Mathematically (6th Edition)
Calculus: Early Transcendentals (2nd Edition)
Precalculus
University Calculus: Early Transcendentals (4th Edition)
- 3) roadway Calculate the overall length of the conduit run sketched below. 2' Radius 8' 122-62 Sin 30° = 6/H 1309 16.4%. 12' H= 6/s in 30° Year 2 Exercise Book Page 4 10 10 10 fx-300MS S-V.PA Topic 1arrow_forwardWhat is a? And b?arrow_forwardMinistry of Higher Education & Scientific Research Babylon University College of Engineering - Al musayab Automobile Department Subject :Engineering Analysis Time: 2 hour Date:27-11-2022 کورس اول تحليلات تعمیر ) 1st month exam / 1st semester (2022-2023)/11/27 Note: Answer all questions,all questions have same degree. Q1/: Find the following for three only. 1- 4s C-1 (+2-3)2 (219) 3.0 (6+1)) (+3+5) (82+28-3),2- ,3- 2-1 4- Q2/:Determine the Laplace transform of the function t sint. Q3/: Find the Laplace transform of 1, 0≤t<2, -2t+1, 2≤t<3, f(t) = 3t, t-1, 3≤t 5, t≥ 5 Q4: Find the Fourier series corresponding to the function 0 -5arrow_forward3. Construct a triangle in the Poincare plane with all sides equal to ln(2). (Hint: Use the fact that, the circle with center (0,a) and radius ln(r), r>1 in the Poincaré plane is equal to the point set { (x,y) : x^2+(y-1/2(r+1/r)a)^2=1/4(r-1/r)^2a^2 }arrow_forwardn. g. = neutral geometry <ABC = angle ABC \leq = less or equal than sqrt{x} = square root of x cLr = the line in the Poincaré plane defined by the equation (x-c)^2+y^2=r^2 1. Find the bisector of the angle <ABC in the Poincaré plane, where A=(0,5), B=(0,3) and C=(2,\sqrt{21})arrow_forward2. Let l=2L\sqrt{5} and P=(1,2) in the Poincaré plane. Find the uniqe line l' through P such that l' is orthogonal to l.arrow_forwardLet A, B and C be three points in neutral geometry, lying on a circle with center D. If D is in the interior of the triangle ABC, then show that m(<ABC) \leq 1/2m(<ADC).arrow_forwardиз Review the deck below and determine its total square footage (add its deck and backsplash square footage together to get the result). Type your answer in the entry box and click Submit. 126 1/2" 5" backsplash A 158" CL 79" B 26" Type your answer here.arrow_forwardIn the graph below triangle I'J'K' is the image of triangle UK after a dilation. 104Y 9 CO 8 7 6 5 I 4 3 2 J -10 -9 -8 -7 -6 -5 -4 -3 -21 1 2 3 4 5 6 7 8 9 10 2 K -3 -4 K' 5 -6 What is the center of dilation? (0.0) (-5. 2) (-8. 11 (9.-3) 6- 10arrow_forwardSelect all that apply. 104 8 6 4 2 U U' -10 -8 -6 4 -2 2 4 6 10 -2 V' W' -4 -6 -8 -10 W V Select 2 correct answerts! The side lengths are equal in measure. The scale factor is 1/5. The figure has been enlarged in size. The center of dilation is (0.0) 8 10 Xarrow_forwardIn the graph below triangle I'J'K' is the image of triangle UK after a dilation. 104Y 9 CO 8 7 6 5 I 4 3 2 J -10 -9 -8 -7 -6 -5 -4 -3 -21 1 2 3 4 5 6 7 8 9 10 2 K -3 -4 K' 5 -6 What is the center of dilation? (0.0) (-5. 2) (-8. 11 (9.-3) 6- 10arrow_forwardQll consider the problem -abu+bou+cu=f., u=0 ondor I prove atu, ul conts. @ if Blu,v) = (b. 14, U) + ((4,0) prove that B244) = ((c- — ob)4;4) ③if c±vbo prove that acuius v. elliptic.arrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
- Elementary Geometry For College Students, 7eGeometryISBN:9781337614085Author:Alexander, Daniel C.; Koeberlein, Geralyn M.Publisher:Cengage,Elementary Geometry for College StudentsGeometryISBN:9781285195698Author:Daniel C. Alexander, Geralyn M. KoeberleinPublisher:Cengage Learning