!set titb=Leer la abscisa de un punto dado
!set keyw=
!set datm=20030408
!set prev=
!set next=croissance
!set upbl=tocdroite
!set dat1=19000101
!set dat2=24000101


!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
!exit

:content

!read primitives.phtml 1, reload, <img src="gifs/doc/etoile.gif" alt="recargar" 	width="20" height="20"> 

<div class="defn">
<span class="definition">Recta graduada o eje graduado&#58;</span> 
Un <span class="defn">eje graduado</span> es una recta que tiene un 
<span class="defn">origen</span> y una <span class="defn">unidad</span>&nbsp;&#58; 

!set m_m=$[rint(5)]


!set m_a=0 


!set m_dessin= 

 
!for m_i=0 to $m_m-1 


!ifval $m_i>0 
!set m_a= (+$m_i) 
!else
!set m_a=($m_i) 
!endif


!ifval $m_i=0  
!set m_a=$[rint( 0)]
!endif


!set m_s=$[rint($m_i)]


!set m_dessin=$m_dessin	text  blue, $m_s,-1,  medium,$m_a 

!next

<p>

!set tmp0=!randint 1, $m_m-1

!set m_b=$[rint($(tmp0))]

<center>
!read primitives.phtml 2, draw, 600,70, xrange -\m-0.1,\m+0.1	yrange -3,3.2	hline black,0,0	arrow  2.5,0,\m,0,10,black	arrow  0,-1.2,1,-1.2,10,green	arrow  1,-1.2,0,-1.2,10,green	text green, 0.2,-1.5, medium, unidad	parallel  0,-0.8,0,0.4,1/2,0, 40, blue	parallel  0,-0.3,0,0.3,1/10,0, 200, blue	parallel 0,-0.8,0,0.6,1,0, 40, red	\dessin	text orange, 0,2, medium, O	text orange, -0.2,3, medium, origen	text black, \b,2, medium, A	 

</center>
</div>

!ifval $m_b>0 
!set m_b=+$m_b 
!endif

<p>
<div class="defn">
Identificamos cada punto del eje por su <span class="defn">abscisa</span>&#58; 
la abscisa de 
!insmath A
 es 
!insmath (\b)
, lo que se escribe como 
!insmath A(\b)
.
 <p>
Para poder identificar los puntos situados a la izquierda de 
!insmath O
, se 
utilizan nuevos números llamados <span class="defn">números negativos.</span> 
Los números a la derecha de 
!insmath O
 son 
<span class="defn">números positivos.</span> 

!set tmp0=!randint 1, $m_m-1

!set m_c=$[rint(-$(tmp0))]

 
!for m_i=-$m_m to 0 


!ifval $m_i>0 
!set m_a= (+$m_i) 
!else
!set m_a=($m_i) 
!endif


!ifval $m_i=0  
!set m_a=$[rint( 0)]
!endif


!set m_s=$[rint($m_i)]


!set m_dessin=$m_dessin	text  blue, $m_s,-1,  medium,$m_a 

!next

<center>
!read primitives.phtml 3, draw, 600,70, xrange -\m-0.1,\m+0.1	yrange -3,3.2	hline black,0,0	arrow  2.5,0,\m,0,10,black	arrow  0,-1.2,1,-1.2,10,green	arrow  1,-1.2,0,-1.2,10,green	text green, 0.2,-1.5, medium, unidad	parallel  -\m,-0.8,-\m,0.4,1/2,0, 40, blue	parallel  -\m,-0.3,-\m,0.3,1/10,0, 200, blue	parallel  -\m,-0.8,-\m,0.6,1,0, 40, red	\dessin	text orange, 0,2, medium, O	text orange, -0.2,3, medium, origen	text black, \c,2, medium, B	 

</center>
La abscisa de 
!insmath B
 es 
!insmath (\c)
. 
</div>
<p>
<div class="exercice">

!read primitives.phtml 4, exercise, lang=es&cmd=new&cnt_date=4&module=H1/algebra/oefrelatif.es	&exo=relatrule	, Leer la abscisa de unos puntos 

</div>

