Problem 2 (40 pts) x" + 3x' - 4x = 0, x(0) = 2, = x'(0) = 2. Write a program to solve the differential equation using Eu
Posted: Sat May 14, 2022 6:38 pm
Problem 2 (40 pts) x" + 3x' - 4x = 0, x(0) = 2, = x'(0) = 2. Write a program to solve the differential equation using Euler method. (40 pts) Note: • Hint: General form is f(t.x, y, z) • Use a step size h = 0.0001 in your C program and show the assembler output as a table with columns fort, x, and g for the first 10 iterations g(t) which is defined as 2e