please can someone help me !!!!!!
MATLAB Grader = CONTENTS Close Courses & Content LMS Integration Documentation & Support - > MATLAB formative assessment 2 Intermediate MATLAB - Runge-Kutta method O solutions submitted (max: Unlimited) > MATLab formative assessment 3 To solve ODEs of the form dy = f(x, y) given y(xo) = yo = V MATLAB summative assessment dx we use Runge-Kutta method. In thius method we iterate the following scheme MATLAB Fundamentals - Math Expression Vi+1 = y + 3 (ki +2k2, +2k3 +ka) MATLAB Fundamentals - Trig functions Xi+1 = x; +h where h is the step size, MATLAB Fundamentals - Variables and Data Types and kj, k2, kz, k4 are slopes given by MATLAB Fundamentals - Cylinder Volume kı = hf (x;, Y:) kz = hf (x; +0.5h, yı +0.5k) kz = hf (x;+ 0.5h, yi +0.5k) k4 = hf (x; +h, yi + k3). MATLAB Fundamentals - While loop MATLAB Fundamentals - Sales Promotions
You task is to define kj, k2, kz and kų for given h, xo, y, and f. These 4 k values should be assigned to variables named k1, k2, k3 and k4 respectively. Then put all 4 values in order into a length-4 array called kslopes. Here we only do one iteration of Runge-Kutta and get the slopes. Use the following values Xe =0 yo = 1.0 h = 0.1 f(x, y) = y(x +4")
Script ? C Reset MATLAB Documentation 1 Run Script
Assessment: Run Pretest Submit > Testing Initial conditions (Pretest) Testing k1 (Pretest) Testing k2 Testing k3 Testing k4 Testing all slopes
please can someone help me !!!!!!
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
please can someone help me !!!!!!
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!