Run Code
|
API
|
Code Wall
|
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
Permutations&Combinations
Normal Distribution
AjusteLinearizado-09-01-21
AjusteNaoLinear-alpha-c
T4_EX01_9436451
Monte Carlo Integration
ax² + bx + c = 0 (Solução e gráfico com as raízes)
Adding text to bar plot bars -- elegantly!
14-09-2020QRajustelinear
PROJECT 1:- R AS A CALCULATOR