Problem 2 (40 pts) x" + 3x - 4x = 0, x(0) = 2, x'O) = 2. Write a C program to solve the differential equation using Eule
Posted: Sun May 15, 2022 8:27 am
Problem 2 (40 pts) x" + 3x - 4x = 0, x(0) = 2, x'O) = 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 program and show the assembler output as a table with columns for t, x, and g for the first 10 iterations . g() which is defined as 2e