Skip to content

Instantly share code, notes, and snippets.

View k0mach1's full-sized avatar
🤔
always thinking

machio k0mach1

🤔
always thinking
View GitHub Profile
### Keybase proof
I hereby claim:
* I am k0mach1 on github.
* I am k0mach1 (https://keybase.io/k0mach1) on keybase.
* I have a public key ASB1xXXoKi_GWh2WtITxd2M755wy740Ch7Ugfryh1csRzQo
To claim this, I am signing this object:
@k0mach1
k0mach1 / monte_carlo.py
Created December 14, 2018 02:27
Monte Calro Simulation Using python
import random
## CONST
T = 60
DT = 0.01
LAMBDA = 2
MU = 1
N_MAX = 20
## CLASS
@k0mach1
k0mach1 / sample.rb
Last active February 28, 2017 01:33
----------------------------------------------------------------------------------------------追加箇所↓
def int_valid?(string)
Integer(string)
return true
rescue ArgumentError
return false
end
----------------------------------------------------------------------------------------------
class Score