diff --git a/DMmath/DM23/DM23.typ b/DMmath/DM23/DM23.typ index 483035e..cbf7080 100644 --- a/DMmath/DM23/DM23.typ +++ b/DMmath/DM23/DM23.typ @@ -1,18 +1,29 @@ #import "/template.typ": * #import "/transposition.typ": * -#import "@preview/drafting:0.2.0":* +#import "@preview/drafting:0.2.0": * #import "/tabvar.typ": * -#set heading( - numbering: (..numbers) => { - let n = numbers.pos().len(); - if n == 1 { question.update(1); } - else if n == 2 { [Partie ]; numbering("I", numbers.pos().at(1) -1) ;"." } - else if n == 3 { question.step(); if question.get().last() < 10 {margin-note(side:left, dy: -16.4pt, stroke: none)[#h(14pt)N=° #question.display().]} else {margin-note(side:left, dy: -16.4pt, stroke: none)[#h(8pt)N=° #question.display().]} } - else if n == 4 { margin-note(side:left, dy: -16.5pt, stroke: none)[#h(34pt)#numbering("a.", numbers.pos().at(3)+1) ]} - else if n == 5 { numbering("i.", numbers.pos().at(4)) } - }, -) +#set heading(numbering: (..numbers) => { + let n = numbers.pos().len() + if n == 1 { + question.update(1) + } else if n == 2 { + [Partie ] + numbering("I", numbers.pos().at(1) - 1) + "." + } else if n == 3 { + question.step() + if question.get().last() < 10 { + margin-note(side: left, dy: -16.4pt, stroke: none)[#h(14pt)N=° #question.display().] + } else { + margin-note(side: left, dy: -16.4pt, stroke: none)[#h(8pt)N=° #question.display().] + } + } else if n == 4 { + margin-note(side: left, dy: -16.5pt, stroke: none)[#h(34pt)#numbering("a.", numbers.pos().at(3) + 1) ] + } else if n == 5 { + numbering("i.", numbers.pos().at(4)) + } +}) #set underline(stroke: red + 1pt) #set par(leading: 0.8em) #set page(numbering: (..nums) => nums.pos().map(na).join("/"), number-align: right) @@ -25,23 +36,23 @@ Gaspar Daguet = Problème 2 : une construction rigoureuse des fonctions trigonométriques === \ -Soit $z in CC$ et $N in NN$ alors +Soit $z in CC$ et $N in NN$ alors $ -sum_(n=0)^(N) abs(z^n/n!) = sum_(n=0)^(N) abs(z)^n/n! tend(N,+oo) e^abs(z) + sum_(n=0)^(N) abs(z^n/n!) = sum_(n=0)^(N) abs(z)^n / n! tend(N,+oo) e^abs(z) $ -Donc $sum z^n/n!$ converge absolument +Donc $sum z^n/n!$ converge absolument == Un théorème de dérivation terme à terme\ === \ Soit $z in ZZ$, alors $ -abs(a_(n+1) z^(n+1))/abs(a_n z^n) =abs(z) o(r^(n+1)/r^n) =abs(z) o(r) = o(1) tend(n,+oo) 0 < 1 + abs(a_(n+1) z^(n+1)) / abs(a_n z^n) =abs(z) o(r^(n+1) / r^n) =abs(z) o(r) = o(1) tend(n,+oo) 0 < 1 $ Donc la série de terme générale $a_n z^n$ converge absolument === \ -Soit $r,r’ in RR_+^* tq 0 (x + h)^n$, donc $forall x in RR, f’(x) = n(x + h)^(n-1) $ et $x_0 - h <= abs(x_0) +1$ \ Alors par l’inégalité de Taylor-Lagrange avec $a = x_0 - h et b = x_0$: $ -abs(f(x_0) -f(x_0 - h) - f’(x_0 - h) ) <= h^2 / 2 n(n-1)(abs(x_0)+1 )^(n-2)\ -<=> abs((x_0 + h)^n -x_0^n - h n x_0^(n-1) ) <= h^2 / 2 n(n-1)(abs(x_0)+1 )^(n-2) + abs(f(x_0) -f(x_0 - h) - f’(x_0 - h) ) <= h^2 / 2 n(n-1)(abs(x_0)+1)^(n-2)\ + <=> abs((x_0 + h)^n -x_0^n - h n x_0^(n-1) ) <= h^2 / 2 n(n-1)(abs(x_0)+1)^(n-2) $ ==== \ $ -sum_(n=0)^(+oo) abs((x_0 + h)^n -x_0^n - h n x_0^(n-1) ) <= abs(f(x_0+h) - f(x_0) - h sum_(n=0)^(+oo) n a_n x_0^(n-1)) <= h^2 / 2 sum_(n=0)^(+oo) n(n-1)(abs(x_0)+1 )^(n-2)\ -<=> abs(f(x_0+h) - f(x_0) - h sum_(n=1)^(+oo) n a_n x_0^(n-1)) <= h^2 / 2 sum_(n=2)^(+oo) n(n-1)(abs(x_0)+1 )^(n-2) + sum_(n=0)^(+oo) abs((x_0 + h)^n -x_0^n - h n x_0^(n-1) ) <= abs(f(x_0+h) - f(x_0) - h sum_(n=0)^(+oo) n a_n x_0^(n-1)) <= h^2 / 2 sum_(n=0)^(+oo) n( + n-1 + )(abs(x_0)+1)^(n-2)\ + <=> abs(f(x_0+h) - f(x_0) - h sum_(n=1)^(+oo) n a_n x_0^(n-1)) <= h^2 / 2 sum_(n=2)^(+oo) n(n-1)(abs(x_0)+1)^(n-2) $ ==== \ Pour $h != 0$, alors par la question précédente $ -&#h(16pt)abs(f(x_0 + h) - f(x_0) - h display(sum_(n=1)^(+oo)n a_n x_0^(n-1)) )/abs(h) <= h^2/(2abs(h)) sum_(n=2)^(+oo) abs(a_n)n(n-1)(abs(x_0)+1)^(n-2)\ + &#h(16pt)abs(f(x_0 + h) - f(x_0) - h display(sum_(n=1)^(+oo)n a_n x_0^(n-1)) )/abs(h) <= h^2/(2abs(h)) sum_(n=2)^(+oo) abs(a_n)n(n-1)(abs(x_0)+1)^(n-2)\ &<=> 0<=abs(underbrace((f(x_0 + h) - f(x_0))/h, tend(h, 0) f'(x_0)) - sum_(n=1)^(+oo)n a_n x_0^(n-1)) <= underbrace(abs(h)/2 sum_(n=2)^(+oo) abs(a_n)n(n-1)(abs(x_0)+1)^(n-2), tend(h, 0) 0) $ Donc par théorème des gendarmes $f'(x_0) = display(sum_(n=1)^(+oo))n a_n x_0^(n-1)$ @@ -88,7 +101,7 @@ Donc par théorème des gendarmes $f'(x_0) = display(sum_(n=1)^(+oo))n a_n x_0^( === #h(-16pt) a. \ On a pour spécialement pour tout $n,k in NN$ $ -binom(n,k) = n!/(k!(n-k)!) = (n times (n-1) times dots.c times (n-k+2) times (n-k+1))/(k!) equi() n^k/k! + binom(n,k) = n! / (k!(n-k)!) = (n times (n-1) times dots.c times (n-k+2) times (n-k+1)) / (k!) equi() n^k / k! $ Soit $r,r' in RR^*_+, tq 0 e^(a x)$ est dérivable, de dérivée:\ $ -forall x in RR, x |-> sum_(n=1)^(+oo) a^(n)(x)^(n-1)/(n-1)! = a sum_(n=0)^(+oo) (a x)^(n)/n! = a e^(a x) + forall x in RR, x |-> sum_(n=1)^(+oo) a^(n)(x)^(n-1) / (n-1)! = a sum_(n=0)^(+oo) (a x)^(n) / n! = a e^(a x) $ Soit $ t in RR$ $ -s'(t) = (i e^(i t) + i e^(- i t))/(2i) = #c($t$) = c(t) + s'(t) = (i e^(i t) + i e^(- i t))/(2i) = #c($t$) = c(t) $ Et $ -c'(t) = (i e^(i t) - i e^(-i t))/2 = - #s($t$) = -s(t) + c'(t) = (i e^(i t) - i e^(-i t))/2 = - #s($t$) = -s(t) $#QED === \ Soit $t in RR$ $ -c(t)^2 + s(t)^2 &= (#c($t$))^2 + (#s($t$))^2\ &= 1/4 (cancel(e^(2i t)) +2+ cancel(e^(-2i t)) - cancel(e^(2i t))+ 2 - cancel(e^(-2i t))) = 4/4 = 1 + c(t)^2 + s(t)^2 &= (#c($t$))^2 + (#s($t$))^2\ &= 1 / 4 ( + cancel(e^(2i t)) +2+ cancel(e^(-2i t)) - cancel(e^(2i t))+ 2 - cancel(e^(-2i t)) + ) = 4 / 4 = 1 $ -#undermath[Donc $c(t)^2 + s(t)^2 = 1$] +#undermath[Donc $c(t)^2 + s(t)^2 = 1$] #QED\ Ainsi $c(t)^2 = 1- s(t)^2 <= 1$\ Donc $abs(c(t)) <=1$\ @@ -239,7 +265,7 @@ Donc $g$ est décroissante sur $]1, +oo[$ #QED ==== \ Soit $x in RR$ $ -g(x) = c(x) +x s(1) tend(x, +oo) +oo "car " c(x) "bornée" + g(x) = c(x) +x s(1) tend(x, +oo) +oo "car " c(x) "bornée" $ Ce qui est Absurde car $g$ décroissante\ Donc $c(x)$ s'annule au moins une fois @@ -258,63 +284,63 @@ Ainsi #table( columns: (5em, 20em), align: center, - $x$, $0$ +h(17.97em)+ $p/2$, + $x$, $0$ + h(17.97em) + $p / 2$, [Signe de $s'$], $\ \ +$, - [Variation de $s$], [] + [Variation de $s$], [], ) ] -#move(dx:32.45em, dy: -3.9em, $1$) -#move(dx:13.5em, dy: -4em, $0$) -#line(start :(14.1em,-5.6em), end :(32em,-7.14em)) -#move(dx:31.9em, dy:-8.8em)[#rotate(-7deg)[#sym.triangle.filled]] +#move(dx: 32.45em, dy: -3.9em, $1$) +#move(dx: 13.5em, dy: -4em, $0$) +#line(start: (14.1em, -5.6em), end: (32em, -7.14em)) +#move(dx: 31.9em, dy: -8.8em)[#rotate(-7deg)[#sym.triangle.filled]] #v(-7em) On vient de prouvé que $s$ étais croissante et comme $c' = -s <= 0$, donc $c $ est décroissante\ -de plus $c(0) = 1 et c(p/2) = 0$ par définition de $p$\ +de plus $c(0) = 1 et c(p/2) = 0$ par définition de $p$\ Ainsi #align(center)[ #table( columns: (5em, 20em), align: center, - $x$, $0$ +h(17.97em)+ $p/2$, - [Variation de $c$], [] + $x$, $0$ + h(17.97em) + $p / 2$, + [Variation de $c$], [], ) ] -#move(dx:13.5em, dy: -3.9em, $1$) -#move(dx:32.4em, dy: -4em, $0$) -#line(start :(14.1em,-7.3em), end :(31.7em,-5.6em)) -#move(dx:31.6em, dy:-7.23em)[#rotate(7deg)[#sym.triangle.filled]] +#move(dx: 13.5em, dy: -3.9em, $1$) +#move(dx: 32.4em, dy: -4em, $0$) +#line(start: (14.1em, -7.3em), end: (31.7em, -5.6em)) +#move(dx: 31.6em, dy: -7.23em)[#rotate(7deg)[#sym.triangle.filled]] #v(-7em) #pagebreak() ==== \ Soit $x in RR$ $ -c(x+p/2) = c(x)underbrace(c(p/2), =0) -s(x)underbrace(s(p/2), =1) = -s(x)\ -"Et"\ -s(x+p/2) = c(x)underbrace(s(p/2), =1) +s(x)underbrace(c(p/2), =0) = c(x)\ -"Et"\ -c(x+p) = c((x+p/2)+p/2) = -s(x+p/2) = -c(x)\ -"Et"\ -s(x+p) = s((x+p/2)+p/2) = c(x + p/2) = -s(x)\ -"Et"\ -c(x+(3p)/2) = c((x+p/2)+p) = -c(x+p/2) =s(x)\ -"Et"\ -s(x+(3p)/2) = s((x+p/2)+p) = -s(x+p/2) = -c(x) + c(x+p / 2) = c(x)underbrace(c(p/2), =0) -s(x)underbrace(s(p/2), =1) = -s(x)\ + "Et"\ + s(x+p / 2) = c(x)underbrace(s(p/2), =1) +s(x)underbrace(c(p/2), =0) = c(x)\ + "Et"\ + c(x+p) = c((x+p / 2)+p / 2) = -s(x+p / 2) = -c(x)\ + "Et"\ + s(x+p) = s((x+p / 2)+p / 2) = c(x + p / 2) = -s(x)\ + "Et"\ + c(x+(3p) / 2) = c((x+p / 2)+p) = -c(x+p / 2) =s(x)\ + "Et"\ + s(x+(3p) / 2) = s((x+p / 2)+p) = -s(x+p / 2) = -c(x) $ -Donc $forall x in [0; 2p], forall t in [0;p/2], c(x) = +Donc $forall x in [0; 2p], forall t in [0;p/2], c(x) = cases( c(t) "si " x in [0;p/2], -s(t) "si " x in [p/2; p], -c(t) "si " x in [p;(3p)/2], - s(t) "si " x in [(3p)/2, 2p] -) -et s(x) = + s(t) "si " x in [(3p)/2, 2p] +) +et s(x) = cases( s(t) "si " x in [0;p/2], c(t) "si " x in [p/2; p], -s(t) "si " x in [p;(3p)/2], - -c(t) "si " x in [(3p)/2, 2p] -) + -c(t) "si " x in [(3p)/2, 2p] +) $\ Ainsi, à l'aide de la question précédente, on obtient les tableaux de variation suivant: @@ -330,29 +356,25 @@ Ainsi, à l'aide de la question précédente, on obtient les tableaux de variati // ) #align(center)[ -#tabvar( + #tabvar( init: ( - "variable":$x$, - "label":(([varation de $s$], variation),) - ), - T: ($0$, $p/2$, $p$, $(3p)/2$, $2p$), - content: ( - ((center,$0$),(top,$1$),(center,$0$),(bottom,$-1$), (center, $0$)), + "variable": $x$, + "label": (([varation de $s$], variation),), ), + interval: ($0$, $p / 2$, $p$, $(3p) / 2$, $2p$), + content: (((center, $0$), (top, $1$), (), (bottom, $-1$), (center, $0$)),), ) ] Et #align(center)[ #tabvar( - init:( - "variable":$x$, - "label":(([variation de $c$], variation),) - ), - T: ($0$, $p/2$, $p$, $(3p)/2$, $2p$), - content: ( - ((top, $1$),(center, $0$),(bottom, $-1$),(center, $0$),(top, $1$)), + init: ( + "variable": $x$, + "label": (([variation de $c$], variation),), ), + interval: ($0$, $p / 2$, $p$, $(3p) / 2$, $2p$), + content: (((top, $1$), (), (bottom, $-1$), (), (top, $1$)),), ) ] #QED @@ -362,16 +384,16 @@ Et Soit $x in RR$ Avec ce qui a été fait à la question précédente on a: $ -c(x+2p) = c((x+p)+p) = -c(x+p) = c(x)\ -"Et"\ -s(x+2p) = s((x+p)+p) = -s(x+p) = s(x) + c(x+2p) = c((x+p)+p) = -c(x+p) = c(x)\ + "Et"\ + s(x+2p) = s((x+p)+p) = -s(x+p) = s(x) $ Donc $s et c$ sont $2p$--perdiodiques\ Prouvons que $2p$ est leur plus petite période\ Soit $T in RR tq$ $T$ soit la plus petite période de $s$ et $c$\ -Alors $exists n in NN^*, 2p = n T$, soit $n in NN^*$ un telle $n$\ +Alors $exists n in NN^*, 2p = n T$, soit $n in NN^*$ un telle $n$\ donc $T = (2p)/n$\ -Supposons par l'absudre que $n != 1$, alors +Supposons par l'absudre que $n != 1$, alors - si $n=2$, \ on a: $forall x in RR, s(p/2 + T) =s(p/2+(2p)/2) = s(p/2+p) = -s(p/2) = -1 != 1 =s(p/2)$\ et $1 = c(0) = c(0+T) = c(p) = -1$\ diff --git a/tabvar.pdf b/tabvar.pdf index e795d67..a763920 100644 Binary files a/tabvar.pdf and b/tabvar.pdf differ diff --git a/tabvar.typ b/tabvar.typ index 369b981..58d9f01 100644 --- a/tabvar.typ +++ b/tabvar.typ @@ -3,6 +3,25 @@ #let signe = "Signe" #let variation = "Variation" +#let prochainNonVideSigne(x, i) = { + let k = 0 + let j = i + 1 + while j < x.len() and type(x.at(j)) == array { + k += 1 + j += 1 + } + k +} +#let prochainNonVideVar(x, i) = { + let k = 0 + let j = i + 1 + while j < x.len() and x.at(j).len() == 0 { + k += 1 + j += 1 + } + k +} + #let lastele(x, interval, j, stroke) = { // pour gérer le dernier élément if x.first() == top { @@ -40,7 +59,8 @@ arrow : "->", //what kind of arrow debug: false, //just for development stroke: 1pt + black, //stroke of the entier table exept arrows - stroke-arrow: 0.6pt+black //stroke of arrows + stroke-arrow: 0.6pt+black, //stroke of arrows + lign-0: true //s'il y a des zéro ou non sur les ligne entre les signes ) = { @@ -61,22 +81,36 @@ ), edge((-0.86,0.87),(interval.len()+0.12,0.87), stroke: stroke), // ligne de séparation x du reste edge((0.36,-4),(0.36,init.at("label").len()*3+0.9 + if init.at("label").last().last() == signe{3.5}), stroke: stroke), // ligne de séparation des label, des varations - node((-0.19,0), (init.at("variable")), width: 2cm), for i in range(interval.len()-1){ + node((-0.19,0), (init.at("variable")), width: 2cm), // affichage de la variable + + for i in range(interval.len()-1){ // affichage de l’intervalle node((i+2/3, 0), interval.at(i), width: (2/3)*1cm) }, - node((interval.len()-1/3,0), interval.at(interval.len()-1), width: (2/3)*1cm), + node((interval.len()-1/3,0), interval.at(interval.len()-1), width: (2/3)*1cm),// affichage du dernier élément de l’intervale - ..for j in range(init.at("label").len()){( + ..for j in range(init.at("label").len()){(// affichage des label node((-0.19,2+j*3), bo(init.at("label").at(j).first()), height: calc.max(measure(bo(init.at("label").at(j).first())).height, 45pt)),) }, + ..for j in range(init.at("label").len()){( if init.at("label").at(j).last() == signe{( //tableau de signe - for i in range(1,content.at(j).len()){ - node((i+1.2, 2+(j)*3),content.at(j).at(i)) + + for i in range(1,content.at(j).len()){ //les labels + et - + if type(content.at(j).at(i))== array{} + else{ + let decalage = prochainNonVideSigne(content.at(j), i) + node((i + 1.2 + decalage*0.5, 2+(j)*3),content.at(j).at(i)) + } }, - node((1.05, 2+(j)*3),content.at(j).at(1)), - for i in range(1,interval.len()-1){ // ligne de séparation - edge((i+2/3, 1+(j)*3), (i+2/3,3+(j)*3 + if j == init.at("label").len()-1{4.5}), stroke: stroke.thickness/2 + stroke.paint) + node((1.05 + prochainNonVideSigne(content.at(j), 0)*0.48, 2+(j)*3),content.at(j).first()), + + // ligne de séparation + for i in range(1,interval.len()-1){ + + if type(content.at(j).at(i)) == array{} + else{ + edge((i+2/3, 1+(j)*3), (i+2/3,3+(j)*3 + if j == init.at("label").len()-1{4.5}),label-sep: -7pt, stroke: stroke.thickness/2 + stroke.paint, if lign-0{box(fill: white,outset: 1pt,$0$)}) + } }, if j != init.at("label").len()-1{edge((-0.74,3+(j)*3), (interval.len()+0.1, 3+(j)*3), stroke: stroke)} // ligne sous les tableaux de contente )}, @@ -94,13 +128,15 @@ if content.at(j).at(i).len()>2 and i != 0 and content.at(j).at(i).at(2) == "u"{ // cas de l'ajout d'une ligne indéfine - node((i +2/3 - decalindef, prochainIndef +(j)*3+0.25), content.at(j).at(i).at(3)) + node((i +2/3 - decalindef*1.06, prochainIndef +(j)*3+0.25), content.at(j).at(i).at(3)) //la double ligne de l'indéfine edge((i +2/3 -0.015 ,3*j + if j == 0{0.9} ),(i +2/3 - 0.015 ,3*j+4), stroke: stroke.thickness/2 + stroke.paint) edge((i +2/3 + 0.015,3*j + if j == 0{0.9} ),(i +2/3 + 0.015,3*j+4), stroke: stroke.thickness/2 + stroke.paint) } - else if content.at(j).at(i).len()>2 and content.at(j).at(i).at(1) == "u"{ //traite le premier cas s'il est non défine + + //traite le premier cas s'il est non défine + else if content.at(j).at(i).len()>2 and content.at(j).at(i).at(1) == "u"{ //le node qui contient l'élément if content.at(j).at(i).first() == top{ @@ -121,28 +157,45 @@ } // les nodes contenants les éléments - if content.at(j).at(i).at(if content.at(j).at(i).len()>2{1} else{0}) == top{ - node((i +2/3 + decalindef, 1+(j)*3+0.25), content.at(j).at(i).last()) - proch = 1+(j)*3+0.25 - } - else if content.at(j).at(i).at(if content.at(j).at(i).len()>2{1} else{0}) == center{ - node((i +2/3 + decalindef, 2+(j)*3), content.at(j).at(i).last()) - proch = 2+(j)*3 - } - else if content.at(j).at(i).at(if content.at(j).at(i).len()>2{1} else{0}) == bottom{ - node((i +2/3 + decalindef, 3+(j)*3-0.25), content.at(j).at(i).last()) - proch = 3+(j)*3-0.25 + if content.at(j).at(i).len()!=0{ + if content.at(j).at(i).at(if content.at(j).at(i).len()>2{1} else{0}) == top{ + node((i +2/3 + decalindef*1.06, 1+(j)*3+0.25), content.at(j).at(i).last()) + proch = 1+(j)*3+0.25 + } + else if content.at(j).at(i).at(if content.at(j).at(i).len()>2{1} else{0}) == center{ + node((i +2/3 + decalindef*1.06, 2+(j)*3), content.at(j).at(i).last()) + proch = 2+(j)*3 + } + else if content.at(j).at(i).at(if content.at(j).at(i).len()>2{1} else{0}) == bottom{ + node((i +2/3 + decalindef*1.06, 3+(j)*3-0.25), content.at(j).at(i).last()) + proch = 3+(j)*3-0.25 + } } - // les flèches entre les éléments - if content.at(j).at(i+1).first() == top{ - edge((i +2/3 + decalindef ,proch),(i+5/3 - edgeprochindef ,3*(j)+1+0.25), arrow, stroke: stroke-arrow) + // les flèches entre les éléments s'il n'y a pas d'élément à skip + if content.at(j).at(i+1).len()!=0 and content.at(j).at(i).len()!=0{ + if content.at(j).at(i+1).first() == top{ + edge((i +2/3 + decalindef ,proch),(i+5/3 - edgeprochindef ,3*(j)+1+0.25), arrow, stroke: stroke-arrow) + } + else if content.at(j).at(i+1).first() == bottom{ + edge((i +2/3 + decalindef ,proch),(i+5/3 - edgeprochindef,3*(j)+3-0.25), arrow, stroke: stroke-arrow) + } + else if content.at(j).at(i+1).first() == center{ + edge((i +2/3 + decalindef ,proch),(i+5/3 - edgeprochindef ,3*(j)+2), arrow, stroke: stroke-arrow) + } } - else if content.at(j).at(i+1).first() == bottom{ - edge((i +2/3 + decalindef ,proch),(i+5/3 - edgeprochindef,3*(j)+3-0.25), arrow, stroke: stroke-arrow) - } - else if content.at(j).at(i+1).first() == center{ - edge((i +2/3 + decalindef ,proch),(i+5/3 - edgeprochindef ,3*(j)+2), arrow, stroke: stroke-arrow) + + // élément a skip + if content.at(j).at(i+1).len()==0 and content.at(j).at(i).len()!=0 { + if content.at(j).at(i+prochainNonVideVar(content.at(j), i)+1).first() == top{ + edge((i +2/3 + decalindef ,proch),(i + (prochainNonVideVar(content.at(j), i)+1)+ 1/3 + 0.3 - edgeprochindef ,3*(j)+1+0.25), arrow, stroke: stroke-arrow) + } + else if content.at(j).at(i+prochainNonVideVar(content.at(j), i)+1).first() == bottom{ + edge((i +2/3 + decalindef ,proch),(i + (prochainNonVideVar(content.at(j), i)+1)+ 1/3 + 0.3 - edgeprochindef,3*(j)+3-0.25), arrow, stroke: stroke-arrow) + } + else if content.at(j).at(i+prochainNonVideVar(content.at(j), i)+1).first() == center{ + edge((i +2/3 + decalindef ,proch),(i + (prochainNonVideVar(content.at(j), i)+1)+ 1/3 + 0.3- edgeprochindef ,3*(j)+2), arrow, stroke: stroke-arrow) + } } }, lastele(content.at(j).last(), interval, j, stroke), // pour gérer le dernier élément @@ -168,22 +221,22 @@ content: ( ( (top, "u", $t 101$), - (center, bottom, "u", $c 1111$, $c 1112$), - (top, top, "u", "oui", $b 121$), - (bottom, $b 231$), - (center, $c 241$), - (bottom, "u", $b 251$), + (), + (bottom, top, "u", $-oo$, $sqrt(pi/3)$), + (), + (), + (bottom, $b 251$), ), - ($-$, $-$, $+$, $-$, $-$), + ($-$, $+$, $-$, (), ()), ( - (center, "u", $t 1 02$), - (center, center, "u", $c 33$, $c 112$), - (bottom, $b 122$), - (top, $t 232$), - (bottom, $b 242$), - (bottom, "u", $b 252$), + (bottom, "u", $t 1 02$), + (top, top, "u", $1$), + (bottom, $3$), + (), + (), + (top, "u", $b 252$), ), - ($+$, $-$, $+$, $-$, $+$), + ($+$, $-$, $+$, (), ()), ), arrow: "->", debug: false, @@ -191,6 +244,7 @@ #scale(x: 90%, y: 80%)[ #tabvar( + lign-0: false, init: ( "variable": $x$, "label": ( @@ -210,13 +264,13 @@ (center, $c 241$), (bottom, "u", $b 251$), ), - ($-$, $-$, $+$, $-$, $-$), + ($-$, $-$, $+$, $-$, ()), ( (top, "u", $t 1 02$), (bottom, top, "u", $h$, $c 112$), (bottom, $b 122$), (top, $t 232$), - (center, $c 242$), + (), (bottom, $b 252$), ), ($+$, $-$, $+$, $-$, $+$), @@ -225,4 +279,5 @@ stroke-arrow: blue, debug: false, stroke: red + 3pt, - )] \ No newline at end of file + ) +]