comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

vi, vim で行番号を指定して移動する方法

「行番号の数字を入力」→「G」(=shift+g)キーを押す で移動できる。 詳細:https://vim.jp.net/stepuptonovice_movecursor_linenumber.ht …

no image

matplotlib で、縦横の線(グリッド)を描く方法

pyplot grid で縦横線(罫線のようなもの)を引くことができる。 例 from matplotlib import pyplot as plt data_x = [25,26,27] …

no image

python3 で文字列を入力させて受け取る方法

C言語で scanf のようなものを作るには、python では input() で実現できる。 例 print(‘xの値を入力してください’) x = input() print(‘xの値は ‘ + …

no image

tex で数式の場所を右揃え・左揃えにする

align 環境のもとで、& をつけると右揃えや左揃えにすることができる。改行には \\ 記号を使う。 例 \begin{align*} f(x) = x^2 + 2x + 1 &\\ …

no image

加速度 m/s^2 の読み方

加速度 ${\rm m/s^2}$ は、「メートル毎秒毎秒」と読む。 翻訳 英語 meters per second per second または metre per second squared 中 …