This commit is contained in:
Le_Foucheur committed 2024-05-29 20:46:40 +02:00
1 parent fc33a878b9
commit 8aafb784b0
6 files changed
+42 -35

No files matched your search

Binary file not shown.
+33 -32
View File
@@ -1,6 +1,7 @@
#import "/template.typ": * #import "/template.typ": *
#import "/transposition.typ": * #import "/transposition.typ": *
#import "@preview/drafting:0.2.0":* #import "@preview/drafting:0.2.0":*
#import "/tabvar.typ": *
#set heading( #set heading(
numbering: (..numbers) => { numbering: (..numbers) => {
@@ -316,46 +317,46 @@ cases(
) )
$\ $\
Ainsi, à l'aide de la question précédente, on obtient les tableaux de variation suivant: Ainsi, à l'aide de la question précédente, on obtient les tableaux de variation suivant:
// #tabvar(
// init:(
// "variable": $x$,
// "label": (([variation de $s$], variation))
// ),
// T: ($0$, $p/2$, $p$, $(3p)/2$, $2p$),
// content: (
// ((top, $1$), (center,$0$), (bottom, $-1$), (center, $0$), (top, $1$))
// ),
// )
#align(center)[ #align(center)[
#table( #tabvar(
columns: (5em, 30em), init: (
align: center, "variable":$x$,
$x$, $0$ +h(6.35em)+ $p/2$ + h(6.35em) + $p$ + h(6.35em) + $(3p)/2$ + h(6.35em) + $2p$, "label":(([varation de $s$], variation),)
[Variation de $s$], [] ),
T: ($0$, $p/2$, $p$, $(3p)/2$, $2p$),
content: (
((center,$0$),(top,$1$),(center,$0$),(bottom,$-1$), (center, $0$)),
),
) )
] ]
#move(dx:8.5em, dy: -2.2em, $0$)
#move(dx:15.5em, dy: -5.8em, $1$)
#move(dx:22.5em, dy: -6.8em, $0$)
#move(dx:29em, dy: -7.8em, $-1$)
#move(dx:37.1em, dy: -11.5em, $0$)
#line(start :(9.2em,-11.27em), end :(14.8em,-12.77em))
#move(dx:14.68em, dy:-14.458em)[#rotate(-15deg)[#sym.triangle.filled]]
#line(start :(16.3em,-16em), end :(28.3em,-14.37em))
#move(dx:28.2em, dy:-16em)[#rotate(7deg)[#sym.triangle.filled]]
#line(start :(9.2em+21.5em,-11.27em-6em), end :(14.8em+21.5em,-12.77em-6em))
#move(dx:14.68em+21.5em, dy:-14.458em-6em)[#rotate(-15deg)[#sym.triangle.filled]]
#v(-19em)
Et Et
#align(center)[ #align(center)[
#table( #tabvar(
columns: (5em, 30em), init:(
align: center, "variable":$x$,
$x$, $0$ +h(6.35em)+ $p/2$ + h(6.35em) + $p$ + h(6.35em) + $(3p)/2$ + h(6.35em) + $2p$, "label":(([variation de $c$], variation),)
[Variation de $c$], [] ),
T: ($0$, $p/2$, $p$, $(3p)/2$, $2p$),
content: (
((top, $1$),(center, $0$),(bottom, $-1$),(center, $0$),(top, $1$)),
),
) )
] ]
#move(dx:8.5em, dy: -4em, $1$)
#move(dx:15.5em, dy: -4.97em, $0$)
#move(dx:22em, dy: -6em, $-1$)
#move(dx:29.5em, dy: -8.67em, $0$)
#move(dx:37.1em, dy: -11.5em, $1$)
#line(start :(16.3em-7.3em,-16.07em+3em), end :(28.3em-7.3em,-14.4em+3em))
#move(dx:28.2em-7.3em, dy:-16.03em+3em)[#rotate(7deg)[#sym.triangle.filled]]
#line(start :(28.3em+8.2em,-15.98em), end :(16.3em+7.4em,-14.37em))
#move(dx:28.3em+8.1em, dy:-17.658em)[#rotate(-7deg)[#sym.triangle.filled]]
#v(-5em)
#QED #QED
#pagebreak() #pagebreak()
==== \ ==== \
Soit $x in RR$ Soit $x in RR$
BIN
View File
Binary file not shown.
+2 -3
View File
@@ -5,7 +5,6 @@
#let tabvar( #let tabvar(
//parameter //parameter
aligne: center, //alignement of the table
content: (), //the content content: (), //the content
init: ( init: (
"variable": [], //the variable of the table "variable": [], //the variable of the table
@@ -34,7 +33,7 @@
} }
), ),
), ),
edge((-0.74,1),(T.len()+0.1,1), stroke: stroke), // ligne de séparation x du reste edge((-0.86,0.87),(T.len()+0.13,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 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(T.len()-1){ node((-0.19,0), (init.at("variable")), width: 2cm), for i in range(T.len()-1){
node((i+2/3, 0), T.at(i), width: (2/3)*1cm) node((i+2/3, 0), T.at(i), width: (2/3)*1cm)
@@ -91,7 +90,7 @@
content: ( content: (
((top,$t 101$),(center,$c 111$),(bottom,$b 121$),(bottom,$b 231$),(center,$c 241$), (bottom, $b 251$)), ((top,$t 101$),(center,$c 111$),(bottom,$b 121$),(bottom,$b 231$),(center,$c 241$), (bottom, $b 251$)),
($-$, $-$, $+$,$-$,$-$), ($-$, $-$, $+$,$-$,$-$),
((top,$t 1 02$),(center,$c 112$),(bottom,$b 122$),(top,$t 232$),(center,$c 242$), (bottom, $b 252$)), ((top,$t 1 02$),(center,$c 112$),(bottom,$b 122$),(top,$t 232$),(bottom,$b 242$), (bottom, $b 252$)),
($+$, $-$, $+$, $-$, $+$), ($+$, $-$, $+$, $-$, $+$),
), ),
arrow: "->", arrow: "->",
BIN
View File
Binary file not shown.
+7
View File
@@ -29,6 +29,13 @@
} }
(l,) (l,)
}) })
#let M0(n) = math.mat(..for x in range(n){
let l = ()
for y in range(n){
l.push(0)
}
(l,)
})
#let tend(n, val) = $limits(-->)_(#n -> #val)$ #let tend(n, val) = $limits(-->)_(#n -> #val)$
#let undermath(body, col: red)= { #let undermath(body, col: red)= {
style(styles => { style(styles => {