Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 10th, 2018
94
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
MatLab
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
[
x,y
]
=odesolver
(
f,t0,t1,y0,steps
)
h=
(
t1-t0
)
/steps;
x=
[
t0
zeros
(
1
,steps
)
]
;
y=
[
y0
zeros
(
1
,steps
)
]
;
for
k=
1
:n
x
(
k+
1
)
=x
(
k
)
+h;
y
(
k+
1
)
=y
(
k
)
+h*f
(
x
(
k
)
,y
(
k
)
)
;
end
;
end
;
Add Comment
Please,
Sign In
to add comment
Public Pastes
GPS Display rev_03
Arduino | 2 min ago | 2.52 KB
GPS Tracker rev_02
Arduino | 5 min ago | 2.28 KB
Untitled
HTML | 9 min ago | 1.65 KB
Untitled
C++ | 11 min ago | 0.66 KB
GPS Display rev_01
Arduino | 11 min ago | 2.28 KB
Untitled
C++ | 25 min ago | 0.42 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 29 min ago | 0.39 KB
azure mod lite pre config
Lua | 53 min ago | 26.75 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!