Construction the Game
Step 1
- Construct a point A=(0,0,0)
- Construct a polygon near to point (0,0,0) in third region of cartesian coordinate system. (poly_1, poly_2, poly_3, poly_4)
- Construct a new point on object on the polygon. (B)
- Construct a line through (A,B). f(A,B)
- Construct a circle with center the point A through the point B.
- Construct a point on x-axis. (C)
- Construct a point on another intersection of circle and the line f. (D)
- Construct an angle between (C,A,D). (angle p)
- Construct a distance (A,D). (distance r)
- Define a number as a tan(p). tanp=tan(p)
- Define a number as a sec(p). secp=sec(p)
- Define y=x*tanp- (secp^(2)x^(2))/(20r^(2)) (h)
Step 1
Step 2
- Define x=18. (line l)
- Construct three points on (17,0), (15,0), (13,0). ( C_1,C_2,C_3)
- Construct three circles with center the point C through the point C_1,C_2,C_3. ( circles c_1, c_2, c_3)
- Construct the intersection points of line l and circles c_1, c_2, c_3. ( int_1, int_2, mid_1, mid_2, ext_1, ext_2)
- Create a segment [int_1int_2] (s_i)
- Create a segment [mid_1int_1] (s_m1)
- Create a segment [mid_1ext_1] (s_e1)
- Create a segment [mid_2int_2] (s_m2)
- Create a segment [mid_2ext_2] (s_e1)
- Construct a vector u (B,D). (vector)
Step2 Test Yourself! (You do not need to repeat step 1. You can work on just step2.)
"WHY" QUESTION!
Why do you think that we construct a polygon on Step1?
Step 3
- Define intersect(h,l), intersect(h,s_i), intersect(h,s_m1), intersect(h,s_e1), intersect(h,s_m2), intersect(h,s_e1).
- Create slider “ext” from 1 to 3 with increment 1.
- Create slider “mid” from 4 to 6 with increment 1.
- Create slider “int” from 7 to 9 with increment 1.
- Create slider “den” from 1 to 9 with increment 1.
- Create a text located at s_e1, (text1) formulate fraction (as ext/den) in LateX.
- Create a text located at s_m1, (text2) formulate fraction (as mid/den) in LateX.
- Create a text located at s_i, (text3) formulate fraction (as int/den) in LateX.
Step 4
- Define the same function h on interval -2=<x=<18. (q)
- Construct three point on object q. ( U, V, W)
- Create CheckBox for U,V,W. ( U_1, V_1, W_1 with boolean value u,v,w)
- Create slider “shottot” from 0 to 3 with increment 1.
- Create slider “shot1” from 0 to 3 with increment 1.
- Create slider “shot2” from 0 to 3 with increment 1.
- Create slider “shot3” from 0 to 3 with increment 1.
Step 4 Test Yourself!
Create a table in LateX!!
\begin{tabular}{|l|l|l}
\hline DataSet &Your Shots \\
\ hline text1 & Shot1 \\
\hline text2 & shot2 \\
\hline Text3& Shot3 \\
\hline\end{tabular}
You need to create a text and write those LateX Formula. It will show a table on the screen.
Step 5
- Create a button (THROW). (button1)
- Create a new button (RESET). (button2)
- Create a button (NEXT). (button3)
- Create CheckBox for THROW button. (t_1)
- Create CheckBox for NEXT button. (n_1)
- Write the script of the button (THROW) is as follows:
- Write the script of the button (RESET) is as follows:
- Write the script of the button (NEXT) is as follows:
- For NEXT button, set the condition to show as shottot≠3.
- For Vector vector, set the condition to show as t_1==1.
- For Point B, set the condition to show as t_1==1.
Step 6
- Calculation Part
- Create four texts and create checkboxes for all. (text5,text6,text7,text17)
- Add script THROW and RESET button is as follow:
- Repeat two times this calculation part, create eight texts and create checkboxes for all. (text9,text10,text11,text18/ text12,text13,text14,text19,)
- Add script THROW and RESET button is as follow:
- Create slider “ran” from 12 to 21 with increment 1.(It is maximum range of the question’s nominator.)
- Create slider “ran2” from 9 to 18 with increment 1.(It is minimum range of the question’s nominator.)
- Add script RESET button is as follow:
- Create two sliders to input box. They are range from 9 to 12 and from 1 to 9 respectively.
- Create two input boxes which are for user calculation result.
- Create a new button CHECK.
- Create two texts for the feedback of the result.
- Script this CHECK button is as follows: