Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9524 | czzmrn | 1 | \title{Area di un quadrilatero} |
2 | traduzione di H6/algebra/oefvec2d.en&cmd=new&exo=airequadri |
||
3 | \language{it} |
||
4 | \range{-5..5} |
||
5 | \author{Gang XIAO} |
||
6 | \email{xiao@unice.fr} |
||
7 | \computeanswer{no} |
||
8 | \format{html} |
||
9 | \precision{10000} |
||
10 | |||
11 | modifica |
||
12 | integer{min=5} |
||
13 | \integer{min=2} |
||
14 | modifica |
||
15 | integer{max=13} |
||
16 | \integer{max=5} |
||
17 | \integer{maxaxes=\max+2} |
||
18 | \integer{x1=random(\min..\max)} |
||
19 | \integer{y1=random(\min..\max)} |
||
20 | \integer{x2=random(-\min..-\max)} |
||
21 | \integer{y2=random(\min..\max)} |
||
22 | \integer{x3=random(-\min..-\max)} |
||
23 | \integer{y3=random(-\min..-\max)} |
||
24 | \integer{x4=random(\min..\max)} |
||
25 | \integer{y4=random(-\min..-\max)} |
||
26 | \integer{u1=\x2-\x1} |
||
27 | \integer{v1=\y2-\y1} |
||
28 | \integer{u2=\x3-\x1} |
||
29 | \integer{v2=\y3-\y1} |
||
30 | \integer{u3=\x4-\x1} |
||
31 | \integer{v3=\y4-\y1} |
||
32 | \integer{a1=\u1*\v2-\u2*\v1} |
||
33 | \integer{a2=\u2*\v3-\u3*\v2} |
||
34 | \real{aire=0.5*abs(\a1+\a2)} |
||
35 | \integer{r=random(0,1)} |
||
36 | \text{B=\r=1?\x2,\y2:\x4,\y4} |
||
37 | \text{D=\r=1?\x4,\y4:\x2,\y2} |
||
38 | |||
39 | \statement{Determina l'area del quadrilatero <i>ABCD</i> i cui vertici nel piano cartesiano |
||
40 | hanno coordinate |
||
41 | <p><center> |
||
42 | <i>A</i> = (\x1,\y1) , <i>B</i> = (\B) , |
||
43 | <i>C</i> = (\x3,\y3) , <i>D</i> = (\D) . |
||
44 | <p> |
||
45 | \draw{200,200}{ |
||
46 | xrange -\maxaxes,\maxaxes |
||
47 | yrange -\maxaxes,\maxaxes |
||
48 | arrow -\maxaxes,0,\maxaxes,0,10,grey |
||
49 | arrow 0,-\maxaxes,0,\maxaxes,10,grey |
||
50 | linewidth 2 |
||
51 | polygon red,\x1,\y1,\x2,\y2,\x3,\y3,\x4,\y4 |
||
52 | linewidth 4 |
||
53 | points blue,\x1,\y1,\x2,\y2,\x3,\y3,\x4,\y4 |
||
54 | } |
||
55 | </center> <p> |
||
56 | } |
||
57 | |||
58 | \answer{Area}{\aire} |
||
59 | |||
60 | modifica: elimino questo hint che non è adatto a questo corso |
||
61 | hint{You may cut the quadrilateral into 2 triangles, and compute the area |
||
62 | of each triangle by the vector product.} |
||
63 | inserire il suggerimento che dice: prova a disegnare sulla carta a quadretti |
||
64 | \hint{Prova a disegnare il quadrilatero sulla carta a quadretti (e poi applicare l'idea di p.87 del testo "Per non perdere la bussola").} |