This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PFont f; | |
int state[] = new int[10]; | |
int col[] = {255,127,1}; | |
int des[] = new int[10]; | |
Table table; | |
int f(int z){ | |
if(19 < z && z < 380){ | |
return (z-20)/120; | |
} | |
else return -1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[11pt]{report} | |
\usepackage[left=25mm,right=25mm,top=30mm,bottom=30mm]{geometry} | |
\usepackage{amsmath} % math | |
\usepackage{amssymb} % math | |
\usepackage[hidelinks]{hyperref} | |
\usepackage{titlesec} | |
\usepackage{amsthm} | |
\usepackage{lipsum} | |
\usepackage{thmtools} | |
\usepackage{comment} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\addvspace {10\p@ } | |
\contentsline {theorem}{\numberline {1.1.1}Theorem}{3}{theorem.1.1.1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<math.h> | |
#define h 0.04 | |
double a = 1; // alpha : (eB_0)/m | |
double e = 0.6666; // collison coefficient | |
double f1(double x,double y,double xv,double yv){ // dx/dt | |
return xv; | |
} | |
double f2(double x,double y,double xv,double yv){ // dy/dt | |
return yv; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{shadows} | |
\definecolor{KOIyellow}{RGB}{255,204,51} | |
\definecolor{KOIred}{RGB}{255,0,51} | |
\definecolor{KOIgreen}{RGB}{0,204,51} | |
\begin{document} | |
\begin{tikzpicture} | |
\draw[white] (0,0) -- (4.5,0) -- (4.5,2.7); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo off; | |
h = 0.02; % RK4 time step | |
n = 1000; % number of random test particles | |
maxR = 10; | |
function A = calc(X) | |
rval = norm([X(1); X(2)]).^(-3); % r^(-3) | |
W = [ | |
0 0 1 0; | |
0 0 0 1; | |
rval 0 0 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% !TeX program = xelatex | |
% TeXlive 2016, mactex 2016 기준 | |
\documentclass[12pt]{article} | |
\usepackage[% | |
left=51.9mm,% | |
right=71.0mm,% | |
top=12.5mm,% | |
bottom=25.4mm,% | |
headheight=0mm,% | |
headsep=0mm,% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{standalone} | |
\usepackage{tikz,pgffor} | |
\usetikzlibrary{spy} | |
\begin{document} | |
\begin{tikzpicture} | |
[spy using overlays={circle, magnification=1.0,size=150}] | |
\fill[color=black] (0,0) rectangle (10,10); | |
\filldraw[fill=white, draw=black] (5,5) circle [radius=5]; | |
\foreach \i in {5,15,...,355}{ | |
\fill[black] (5,5) -- ( {5+5*cos(\i)} , {5+5*sin(\i)} ) arc [start angle = \i, end angle = \i+5, radius = 5] -- (5,5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{standalone} | |
\usepackage{kotex} | |
\makeatletter | |
\DeclareRobustCommand{\stdLaTeXbDay}{생\kern-.36em | |
{% | |
\sbox\z@ T% | |
\vbox to\ht0{\hbox{$\m@th$% | |
\csname S@\f@size\endcsname | |
\fontsize\sf@size\z@ | |
\math@fontsfalse\selectfont |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\newcount\x | |
\newcount\i | |
\def\collatz#1{ | |
\x #1 \relax | |
\calccollatz | |
} | |
\def\calccollatz{ | |
\ifnum\x=1 | |
\the\x |
OlderNewer