# - \usepackage[fontsize=11pt]{scrextend} knitr::opts_chunk$set(echo = TRUE)
library(Ryacas) packageVersion("Ryacas")
\btwocol
k <- ysym("k") s <- sum(1/k^2, "k", 1, Inf) s as_r(s) tex(s)
Also:
integrate()
)lim()
)\vfill\null
\columnbreak
x <- ysym("x"); y <- ysym("y") lhs <- c(3*x*y - y, x) rhs <- c(-5*x, y + 4)
\vspace{-1em}
[
r tex(lhs[[1]])
= r tex(rhs[[1]])
\quad \text{and} \quad
r tex(lhs[[2]])
= r tex(rhs[[2]])
]
sol <- solve(lhs, rhs, c("x", "y")) sol y_rmvars(sol)
\etwocol
if (FALSE) { system2('pdfcrop', c('release-featured-images/v1_1_1.pdf', 'release-featured-images/v1_1_1--cropped.pdf')) system2('convert', c('-flatten', '-density 100', '-quality 75', 'release-featured-images/v1_1_1--cropped.pdf', 'release-featured-images/v1_1_1.png')) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.