Problem 2 (40 pts) x" + 3x' – 4x = 0, x(0) = 2, x'(0) = 2. Write a C program to solve the differential equation using Eu
Posted: Sun May 15, 2022 7:59 am
Problem 2 (40 pts) x" + 3x' – 4x = 0, x(0) = 2, x'(0) = 2. Write a C 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 for t, x, and g for the first 10 iterations . g(t) which is defined as 2et