Question: Need a PYTHON for problem 3.2 3.2 Finite Difference Method for ODES You are required to implement a MATLAB / Octave function or Python definition

Need a PYTHON for problem 3.2

Need a PYTHON for problem 3.2 3.2 Finite Difference Method for ODES

3.2 Finite Difference Method for ODES You are required to implement a MATLAB / Octave function or Python definition to solve ODES using finite difference method. If you use MATLAB/Octave The, the function should have the following declaration: function [x, u] = fdode( a, b, n, f, alpha, beta ) And for Python: def fdode( a, b, n, f, alpha, beta ): Where a and b are the extrema, n is the number of sub-intervals, f is the function on the RHS. alpha and beta are the left and right boundary condition values, respectively. 3 EG6160 Computer Modelling and Techniques 2020/2021 Coursework Portfolio 1 3.2.1 Verification Use the function/definition you developed for solving ODEs using Finite difference method to solve the following problem. A cable of negligible weight is put across the tops of the two pylons of 50 m at positions Om and 60 m. Five weights of 1.5 kg are attached to the wire at 10 m apart. Subdividing the interval [0,60) into 6 subintervals, compute the shape of the wire under the action of gravity using the model -5 0"(x) = f(x) where u is the displacement of the cable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!