HELP ME PLEASE !!!!!

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

HELP ME PLEASE !!!!!

Post by answerhappygod »

HELP ME PLEASE !!!!!
Help Me Please 1
Help Me Please 1 (120.7 KiB) Viewed 47 times
MATLAB Grader Mason Wakeling CONTENTS Close Courses & Content LMS Integration Documentation & Support Depending on the order of derivative, when we use finite difference method we approximate MATLAB summative assessment dy dx Yi+1 - Yi-1 2h MATLAB Fundamentals - Math Expression and dy z Yi-1 – 2y; + Yi+1 MATLAB Fundamentals - Trig functions dx2 h2 You task is to define a function Finite DifferenceFormula that returns the above approximations depending on the order parameter. MATLAB Fundamentals - Variables and Data Types Your function has the following inputs ypre that represents yi-1 MATLAB Fundamentals - Cylinder Volume yi that represents Yi ynext that represents Yi+1 MATLAB Fundamentals - While loop step that represents h order that represents the order of derivative MATLAB Fundamentals - Sales Promotions The output should be the approximated derivative that depends on the order parameter. X MATLAB Fundamentals - Quality control If the order If the order is 1 it means that you need to return the approximation of dy, if the order is two you need to return the approximation of dạy is anything else you should output false. dx2

Function Reset MATLAB Documentation 1 function output = FiniteDifference Formula (ypre, yi, ynext, step, order) 2 3 end Code to call your function ® Reset ypre = 1.05; 2 yi = 1.2; 3 ynext = 1.37; 4 step = 0.1; 5 order = 1; 6 7 FiniteDifference Formula(ypre, yi, ynext, step, order)

Assessment: Run Pretest Test 1 (Pretest) Test 2 (Pretest) Test 3 (Pretest) Test 4 Test 5 Test 6
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply