Skip to content

Instantly share code, notes, and snippets.

View teeGraco's full-sized avatar

Yusuke Brian teeGraco

  • Tokyo, Japan
View GitHub Profile
@teeGraco
teeGraco / blog.txt
Created April 4, 2019 03:46
MathJax_multibite
<!- Before -->
[tex:( 3 ) 不等式|2x+1|\leqq aを満たす整数\ x\ の個数を\ N\ とする.a=3\ のとき,N=\fbox{ カ }\ である.また,a\ が4,5,6,...と増加するとき,N\ が初めて\fbox{ カ }より大きくなるのは,a=\fbox{ キ }のときである.]
<!- After -->
( 3 ) 不等式$|2x+1|\leqq a$を満たす整数$x$の個数を$N$とする.$a=3$のとき,$N=\fbox{ カ }$である.また,$a$が$4,5,6,...$と増加するとき,$N$が初めて$\fbox{ カ }$より大きくなるのは,$a=\fbox{ キ }$のときである.
@teeGraco
teeGraco / mathjax_config.js
Created March 24, 2019 12:19
MathJax_config_file
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']], //インライン数式を可能にする.
processEscapes: true
},
"HTML-CSS": {
availableFonts: ["TeX"],
undefinedFamily: "'Raleway', Helvetica, Arial, sans-serif", //フォントをsans-serifに変更.
StateVector NumInt(StateVector S, StateVector S_dot, float h, float t, StateVector F())
{
StateVector K1, K2, K3, K4
StateVector S_new
K1 = S_dot
K2 = F(S + h/2 + K1, t + h/2)
K3 = F(S + h/2 + K2, t + h/2)
K4 = F(S + h + K3, t + h)