Solving a System of 2 ODES with Interval conditions (IVP)
This project was successfully completed by matlab1st for £50 GBP in 2 days.Get free quotes for a project like this
Project Budget£10 - £20 GBP
Completed In2 days
1. The problem statement, all variables and given/known data
I am trying to solve a system of 2 ordinary differential equations using matlab. However, I am not able to get numerical solutions from the code despite having keyed in all possible solutions.
2. Relevant equations
The equations I am given are:
and the boundary conditions are:
3. The attempt at a solution
My code so far:
%Mechanical Properties of Material
%Constants A,B,C,D in the Equations
%Defining the System of 2ODES
syms x(t) y(t)
eqns = [diff(x,t)==A*(x/t)+B*y, diff(y,t)==-C*(x/t^2)-D*y];
cond = [y(1) == 0, y(1.2)==-P];
withSimplifications = dsolve(eqns, cond)
withoutSimplifications = dsolve(eqns, cond, 'IgnoreAnalyticConstraints', false)
[xSol(t), ySol(t)] = dsolve(eqns)
The answer is get is
Warning: Explicit solution could not be found.
> In dsolve (line 201)
In IsotropicThickWallCylinder (line 18)
[ empty sym ]
[ empty sym ]
Would really appreciate some help.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online