# Write a c++ program that can solve a second order differential equation.

**Question description**

Write a c++ program that can solve a second order differential equation.

Y"+4y'+4y=0. Y(0)=0 and y(1)=3

The program must use the shooting method. in combination with any one of the fourth order runge-kutta methods.the program must prompt the user to provide a first guess of the slop of the at solution at X=0

You can select any step size you consider reasonable;proff of sulatiin will be decided on how well the calculated results match the analytical sulation at x=1

as part of the presentation of sesults you must prepare an excal plot of the calculated value and the 'exact' valuse. The analytixcal soluation is y=3xe^(-2x+2)

## Tutor Answer

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors