Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
24 views
1 page
Runge Kutta
Uploaded by
2018 01097
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Download
Save
Save runge_kutta (1) For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
24 views
1 page
Runge Kutta
Uploaded by
2018 01097
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save runge_kutta (1) For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 1
Search
Fullscreen
Runge Kutta Method
In[328]:= f[x_, y_] := 2 x + y
x[0] = 0; y[0] = 1;
h = 0.2; x[n] = x[0] + n h;
Forn = 0, n ≤ 2, n++,
k1 = h f[x[n], y[n]];
1 1
k2 = h fx[n] + h, y[n] + k1;
2 2
1 1
k3 = h fx[n] + h, y[n] + k2;
2 2
k4 = h f[x[n] + h, y[n] + k3];
k1 + 2 k2 + 2 k3 + k4
k[n] = ;
6
y[n + 1] = y[n] + k;
Print["y(", x[n + 1], ")= ", y[n + 1]] // Quiet
y(0.2)= 1.2642
y(0.4)= 1.5284
y(0.6)= 1.7926
In[340]:= f[x_, y_] := 2 x + y
x[0] = 0; y[0] = 1;
h = 0.2; x[n] = x[0] + n h
Forn = 0, n ≤ 2, n++,
k1 = h f[x[n], y[n]];
1 1
k2 = h fx[n] + h, y[n] + k1;
2 2
1 1
k3 = h fx[n] + h, y[n] + k2;
2 2
k4 = h f[x[n] + h, y[n] + k3];
k1 + 2 k2 + 2 k3 + k4
k[n] = ;
6
y[n + 1] = y[n] + k;
Print["y(", x[n + 1], ")= ", y[n + 1]] // Quiet
Out[342]= 0.6
y(0.2)= 1.2642
y(0.4)= 1.5284
y(0.6)= 1.7926
You might also like
Dca2101 Computer Oriented Numerical Methods
PDF
No ratings yet
Dca2101 Computer Oriented Numerical Methods
7 pages
APM3711 ASS 2 Solution 202
PDF
No ratings yet
APM3711 ASS 2 Solution 202
17 pages
Worksheet - Introduction To Dynamics (Forte and Piano)
PDF
No ratings yet
Worksheet - Introduction To Dynamics (Forte and Piano)
2 pages
Lect 3 Nonlin ODE
PDF
No ratings yet
Lect 3 Nonlin ODE
13 pages
Second Order Runge-Kutta Method
PDF
No ratings yet
Second Order Runge-Kutta Method
14 pages
Runge Kutta Method. 1
PDF
No ratings yet
Runge Kutta Method. 1
20 pages
Runge Kutta Method
PDF
No ratings yet
Runge Kutta Method
3 pages
Numerical Analysis
PDF
No ratings yet
Numerical Analysis
13 pages
Numerical Solution of Initial-Value Problems 4.3 Runge-Kutta Method
PDF
No ratings yet
Numerical Solution of Initial-Value Problems 4.3 Runge-Kutta Method
9 pages
NM Unit Iv Partiii Runge Kutta Method
PDF
No ratings yet
NM Unit Iv Partiii Runge Kutta Method
10 pages
NM Coppy Final
PDF
No ratings yet
NM Coppy Final
1 page
RK2 Method
PDF
No ratings yet
RK2 Method
4 pages
Runge Edited
PDF
No ratings yet
Runge Edited
5 pages
Ch4 3
PDF
No ratings yet
Ch4 3
8 pages
Euler Method
PDF
No ratings yet
Euler Method
2 pages
Numerical Analysis: LECTURER: Prof. SUN Heming
PDF
0% (1)
Numerical Analysis: LECTURER: Prof. SUN Heming
16 pages
Larioque 3 BNumsolfinalproject
PDF
No ratings yet
Larioque 3 BNumsolfinalproject
19 pages
RK 2nd NOTES
PDF
No ratings yet
RK 2nd NOTES
7 pages
C8
PDF
No ratings yet
C8
25 pages
Numerical Solution of ODE
PDF
No ratings yet
Numerical Solution of ODE
9 pages
19MA211 SNM Record
PDF
No ratings yet
19MA211 SNM Record
13 pages
WS 28
PDF
No ratings yet
WS 28
1 page
2019 04 30 OctaveNB
PDF
No ratings yet
2019 04 30 OctaveNB
6 pages
Initial Value Problem Presentation-1
PDF
No ratings yet
Initial Value Problem Presentation-1
29 pages
Program-4th-Year (Group B)
PDF
No ratings yet
Program-4th-Year (Group B)
22 pages
Runge Kutta 2nd Order
PDF
No ratings yet
Runge Kutta 2nd Order
16 pages
RK4 Numerical 1
PDF
No ratings yet
RK4 Numerical 1
2 pages
Maths LAB Programs BMATS201
PDF
No ratings yet
Maths LAB Programs BMATS201
10 pages
Mathematics Using Python-Important Programs-CSE Stream
PDF
No ratings yet
Mathematics Using Python-Important Programs-CSE Stream
4 pages
Scilab 1
PDF
No ratings yet
Scilab 1
14 pages
Numerical Analysis 2
PDF
No ratings yet
Numerical Analysis 2
52 pages
Statistics 7.18.34 PM
PDF
No ratings yet
Statistics 7.18.34 PM
2 pages
Assignment 6.3: Z 1, Z 3, Z 3 y (X) X + X
PDF
No ratings yet
Assignment 6.3: Z 1, Z 3, Z 3 y (X) X + X
13 pages
Ch4 3
PDF
No ratings yet
Ch4 3
8 pages
Hamza Shafiq
PDF
No ratings yet
Hamza Shafiq
7 pages
Numerical Methods Worked Out Problems
PDF
No ratings yet
Numerical Methods Worked Out Problems
4 pages
Ch4 3
PDF
No ratings yet
Ch4 3
8 pages
Chapter 4 Ffffffeerrrezzerzrzerzdfggdgddgdfgdfddgfdefzeffr Efessffdssdrfsrfe
PDF
No ratings yet
Chapter 4 Ffffffeerrrezzerzrzerzdfggdgddgdfgdfddgfdefzeffr Efessffdssdrfsrfe
8 pages
Chapter 4 Eerrrezzerzrzerzdfggdgddgdfgdfddgfdefzeffrefer Fsrfe
PDF
No ratings yet
Chapter 4 Eerrrezzerzrzerzdfggdgddgdfgdfddgfdefzeffrefer Fsrfe
8 pages
Chapter 4 Dfggdgddgdfgdfddgfdefzeffreferfsrfe: Numerical Solution of Initial-Value Problems 4.3 Runge-Kutta Method
PDF
No ratings yet
Chapter 4 Dfggdgddgdfgdfddgfdefzeffreferfsrfe: Numerical Solution of Initial-Value Problems 4.3 Runge-Kutta Method
8 pages
Ch4 3
PDF
No ratings yet
Ch4 3
8 pages
Đ Xuân Trư ng-IEIESB21003-Lab4
PDF
No ratings yet
Đ Xuân Trư ng-IEIESB21003-Lab4
8 pages
12 Runga-Kutta Methods
PDF
No ratings yet
12 Runga-Kutta Methods
2 pages
Mathematics Lab
PDF
No ratings yet
Mathematics Lab
6 pages
T, y (T), y T y 0 y (T+H) y (T) H y (T+H) y (T) H T, y (T) U (T+H) U (T) H F T, U (T)
PDF
No ratings yet
T, y (T), y T y 0 y (T+H) y (T) H y (T+H) y (T) H T, y (T) U (T+H) U (T) H F T, U (T)
11 pages
Numerical
PDF
No ratings yet
Numerical
12 pages
Name: BAGARAGAZA Romuald Student Number: M2014028 Assagnment 4 Numerical Analysis
PDF
No ratings yet
Name: BAGARAGAZA Romuald Student Number: M2014028 Assagnment 4 Numerical Analysis
3 pages
MA1002 - Subjective Questions Module 3
PDF
No ratings yet
MA1002 - Subjective Questions Module 3
4 pages
ST - Joseph's College of Engineering: 0, y 1, H 0.1 and y Xy1
PDF
No ratings yet
ST - Joseph's College of Engineering: 0, y 1, H 0.1 and y Xy1
17 pages
Lecture 9 Hafez
PDF
No ratings yet
Lecture 9 Hafez
9 pages
Psol 10
PDF
No ratings yet
Psol 10
5 pages
Applications F (X) 0
PDF
No ratings yet
Applications F (X) 0
4 pages
Q1 Gauss-Seidel Method Program
PDF
No ratings yet
Q1 Gauss-Seidel Method Program
8 pages
%euler Method
PDF
No ratings yet
%euler Method
1 page
3.4 Numerical Solution of Differential Equations
PDF
No ratings yet
3.4 Numerical Solution of Differential Equations
21 pages
Runge-Kutta Method (May 2020) : Santiago Rojas Alfonso COD 69637 Jhon Alejandro Cardona Giraldo COD 70390
PDF
No ratings yet
Runge-Kutta Method (May 2020) : Santiago Rojas Alfonso COD 69637 Jhon Alejandro Cardona Giraldo COD 70390
2 pages
Initial Value Problems For ODEs
PDF
No ratings yet
Initial Value Problems For ODEs
38 pages
Bisec
PDF
No ratings yet
Bisec
7 pages
Numerical Analysis For Engineer - 1
PDF
No ratings yet
Numerical Analysis For Engineer - 1
18 pages
Numerical & Statistical Computations V1
PDF
100% (1)
Numerical & Statistical Computations V1
10 pages
Scilab 1.1
PDF
No ratings yet
Scilab 1.1
5 pages
SOE121-Will Graham Introduces The Fall of Man
PDF
No ratings yet
SOE121-Will Graham Introduces The Fall of Man
20 pages
SOE113 TheContentOfTheGospel
PDF
No ratings yet
SOE113 TheContentOfTheGospel
11 pages
FINAL ABRSM G1 L2 Answer Key 1 2
PDF
No ratings yet
FINAL ABRSM G1 L2 Answer Key 1 2
1 page
Happy-Birthday-Full-Version-Stave Notation
PDF
No ratings yet
Happy-Birthday-Full-Version-Stave Notation
2 pages
Fundamentals OF Investment: As Per CBCS Syllabus
PDF
No ratings yet
Fundamentals OF Investment: As Per CBCS Syllabus
31 pages
Tone Worksheet
PDF
No ratings yet
Tone Worksheet
1 page
Worksheet - Staccato and Legato
PDF
No ratings yet
Worksheet - Staccato and Legato
2 pages
Worksheet - Pedaling
PDF
No ratings yet
Worksheet - Pedaling
3 pages
Programming in Python: 1.1 Getting Started With Python
PDF
No ratings yet
Programming in Python: 1.1 Getting Started With Python
41 pages
Bach - Notebook For Anna Magdalena Bach (Complete) (PDF - TXT)
PDF
No ratings yet
Bach - Notebook For Anna Magdalena Bach (Complete) (PDF - TXT)
23 pages