
title=4. Fracción lineal
sol=3
prompt=$m_h(x)

a0=!randint 1,$range
a0=!randitem $a0,-$a0
:redo
!for i in a_,b_,c_,d_
 $i=!randint 1,$range
 $i=!randitem $($i),-$($i)
!next i
!ifval ($c_)*($a0)=-($d_) or ($b_)*($c_)=($a_)*($d_)
 !goto redo
!endif

name=!htmlmath ($a_*f(x)+$b_)/($c_*f(x)+$d_)
name=!replace f by $m_f in $name

parisrc=ser3=($a_*ser1+($b_))/($c_*ser1+($d_))

given=ser1
calcname=<p><center>$m_h(x) = $name&nbsp;.</center> <p>
