input gdd; input gdd-rep; input gdd-lbl; input gdd-tra; input svgnames; lblPreambule := "\usepackage[frenchb]{babel}" & "\usepackage[garamond]{mathdesign}" & "\usepackage{amsmath}"; input gdd-fct; input gdd-plt; labeloffset := 6; gddU:=1.2cm; vardef f(expr t) = t/sqrt(1+t*t) enddef; vardef g(expr t) = t*(1+f(t)) enddef; vardef h(expr t) = -t*(1+f(t)) enddef; def avecCrayon(expr t,c) = withpen pencircle scaled t withcolor c enddef; beginfig(1); Repere(6,10,3,5,2,2); Axes; Debut; Graduations; Unites(1); trace Droite((1,-2),(1,2)) withcolor MidnightBlue; trace (-1,0)..Courbe(f,g,-18,18,200) avecCrayon(1.5,DarkSalmon); trace (-1,0)..Courbe(f,h,-18,18,200) avecCrayon(1.5,DarkSalmon); pointe Point(0,0); Fin; endfig; end