22 lines
1.0 KiB
Typst
22 lines
1.0 KiB
Typst
#import "styles.typ": *
|
|
|
|
#let sinTable = [
|
|
#table(
|
|
inset: 1.5mm,
|
|
stroke: (thickness: 0.2mm),
|
|
columns: 4,
|
|
table.header(
|
|
[x], [deg], [cos(x)], [sin(x)]
|
|
),
|
|
[$0$], [$0°$], hlMath([$1$], color: hlGreen), hlMath([$0$]),
|
|
[$pi/6$], [$30°$], hlMath([$sqrt(3)/2$], color: hlGreen), hlMath([$1/2$], color: hlGreen),
|
|
[$pi/4$], [$45°$], hlMath([$sqrt(2)/2$], color: hlGreen), hlMath([$sqrt(2)/2$], color: hlGreen),
|
|
[$pi/3$], [$60°$], hlMath([$1/2$], color: hlGreen), hlMath([$sqrt(3)/2$], color: hlGreen),
|
|
[$pi/2$], [$90°$], hlMath([$0$]), hlMath([$1$], color: hlGreen),
|
|
[$2/3pi$], [$120°$], hlMath([$-1/2$], color: hlRed), hlMath([$sqrt(3)/2$], color: hlGreen),
|
|
[$3/4pi$], [$135°$], hlMath([$-sqrt(2)/2$], color: hlRed), hlMath([$sqrt(2)/2$], color: hlGreen),
|
|
[$5/6pi$], [$150°$], hlMath([$-sqrt(3)/2$], color: hlRed), hlMath([$1/2$], color: hlGreen),
|
|
[$pi$], [$180°$], hlMath([$-1$], color: hlRed), hlMath([$0$]),
|
|
[$3/2pi$], [$270°$], hlMath([$0$]), hlMath([$-1$], color: hlRed)
|
|
)
|
|
] |