Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
EulerEx1
# Dada a equação # y'(t)=cos(t) # y(-2)=-1 # Estimar y(4) pelo método de Euler. a=-2 b=4 n=100 h=(b-a)/n y=0*(0:n) y[1]=-1 # y(-2)=-1 é o y_0 nas notas. for ( i in 1:n){ y[i+1]=y[i]+h*cos(a+i*h) # y(c+h)=y(c)+hy'(c)+Erro } t=seq(a,b,by=h);t y # Como conhecemos y=f(t), que é f<-function(t){sin(t)-1-sin(-2)} curve(f,a,b,col="blue") points(t,y,col="red")
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Bootstrap Method
TH1
19-08-2020-JacobiSistema
Ass2 q2
AjusteLinearizado
Paired t-test [Access Medical Information]
This is python
G
Ch. 5: Cookie Chip Sampling
Quiz 2
Please log in to post a comment.