Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <string>
#include <vector>
#include <fstream>
using namespace std;
struct Siswa {
Siswa(){}
@msiahaan
msiahaan / rk_example.py
Created December 1, 2020 06:51
Runge Kutta Implementation Example
def runge_kutta(func, x0, y0, x, h=0.5):
# count number of interation using step size or
# step height h
n = int((x-x0)/h)
# iterate for number of iterations
y = y0
for i in range(1, n+1):
# Apply runge-kutta formula to find the value of y
k1 = h * func(x0, y)
@msiahaan
msiahaan / DB0201EN-Week3-1-4-Analyzing-v5-py.ipynb
Created October 14, 2020 06:34
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@msiahaan
msiahaan / PY0101EN-5.1_Intro_API.ipynb
Created September 25, 2020 12:57
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@msiahaan
msiahaan / PY0101EN-5-2-Numpy2D.ipynb
Created September 24, 2020 09:50
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@msiahaan
msiahaan / PY0101EN-5-1-Numpy1D.ipynb
Created September 23, 2020 04:44
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@msiahaan
msiahaan / PY0101EN-4-2-WriteFile.ipynb
Created September 21, 2020 22:43
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@msiahaan
msiahaan / PY0101EN-3-3-Functions.ipynb
Created September 18, 2020 05:14
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@msiahaan
msiahaan / PY0101EN-3-2-Loops.ipynb
Created September 17, 2020 22:37
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.