OEF Exercise - Relatifs et parenthèses
Relatifs et parenthèses
GNU GPL
Algebra
- H1
Missing
\title{Relatifs et parenthèses}
\language{fr}
\range{-5..5}
\author{Odile Bénassy}
\email{obenassy@free.fr}
\computeanswer{no}
\format{html}
\precision{10000}
\integer{a1 = random(100..999)}
\integer{a2 = random(100..999)}
\integer{a3 = random(100..999)}
\integer{a4 = random(100..999)}
\integer{a5 = random(100..999)}
\integer{a6 = random(100..999)}
\text{s1 = random(-,+)}
\text{s2 = random(-,+)}
\text{s3 = random(-,+)}
\text{s4 = random(-,+)}
\text{s5 = random(-,+)}
\text{s6 = random(-,+)}
\text{o2 = random(-,+)}
\text{o3 = random(-,+)}
\text{o4 = random(-,+)}
\text{o5 = random(-,+)}
\text{o6 = random(-,+)}
\real{x1 = \a1 * 0.01}
\real{x2 = \a2 * 0.01}
\real{x3 = \a3 * 0.01}
\real{x4 = \a4 * 0.01}
\real{x5 = \a5 * 0.01}
\real{x6 = \a6 * 0.01}
\if{\s1=-}{\text{x1 = (-\x1)}}
\if{\s2=-}{\text{x2 = (-\x2)}}
\if{\s3=-}{\text{x3 = (-\x3)}}
\if{\s4=-}{\text{x4 = (-\x4)}}
\if{\s5=-}{\text{x5 = (-\x5)}}
\if{\s6=-}{\text{x6 = (-\x6)}}
\real{\res = \s1 (\a1 * 0.01) \o2 \s2 (\a2 * 0.01) \o3 \s3 (\a3 * 0.01) \o4 \s4 (\a4 * 0.01) \o5 \s5 (\a5 * 0.01) \o6 \s6 (\a6 * 0.01)}
\statement{
<p>Calculer :
<div align="center">
\x1 \o2 \x2 \o3 \x3 \o4 \x4 \o5 \x5 \o6 \x6 = \embed{reply 1,5}
</div>
}
\answer{}{\res}{type=numeric}
2004-06-09 10:46:38
2005-02-18 06:27:34