# Solving a System of 2 ODES with Interval conditions (IVP)

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:

dx/dt=A(x/t)+By

dy/dt=C(x/t^2)+D(y/t)

and the boundary conditions are:

y(1)=0; y(1.2)=-100E6

3. The attempt at a solution

My code so far:

%Mechanical Properties of Material

E=200e9;

nu=0.3;

P=100E6;

%Constants A,B,C,D in the Equations

a11= (1/E);

a12= (-nu/E);

a33= (1/E);

A= (a12)/(a11+a12);

B= ((a33)-((2*a12^2)/(a11+a12)));

C= (a11)/(a11^2-a12^2);

D= (2*a12+a11)/(a11+a12);

%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)

Warning: Explicit solution could not be found.

> In dsolve (line 201)

In IsotropicThickWallCylinder (line 18)

xSol(t) =

[ empty sym ]

ySol(t) =

[ empty sym ]

Would really appreciate some help.

( 4 reviews ) Cardiff, United Kingdom

Project ID: #12240206

## Awarded to:

matlab1st

You are going totally wrong way: 1. You cannot categorize this problem as an IVP. 2. As the equations are not linear, hardly you get the solution following straightforward ways when using symbolic toolbox. I can More

£50 GBP in 2 days
(27 Reviews)
5.0

## 8 freelancers are bidding on average £40 for this job

VolKa

Hi. I think I will be able to do this. Regards.......................................................

£30 GBP in 1 day
(152 Reviews)
6.3
Valuesolutions

Hello, how are you? I hope you have a bright day/evening from your side. I have read the details provided, but please contact me so that we can discuss more on the project. I believe I have the required skills in this More

£84 GBP in 3 days
(21 Reviews)
4.8
mzdesmag

Knowledge Pro innovative is dedicated to brings to Industries, Small-Business and people like you a good service, we provide complete solution on Engineering, energy, circuit design, statistics, statistical analysis, More

£11 GBP in 1 day
(5 Reviews)
3.7
Amazigh1989

hello, So you want to solve a system of defirential equation, the unknowns are x and y that vary with respect to t. you given the value of y in t=1 an t=1.2 as if you have a boundary problem, my first question is what More

£50 GBP in 2 days
(16 Reviews)
3.9
TheLKteam

Hi, I've been working on matlab for several years and would like to work on your project. I'm looking forward to hearing from you.

£50 GBP in 1 day
(4 Reviews)
3.2
£23 GBP in 1 day
(1 Review)
1.0
Aakashjezz2000

Hello, I would like to work on this project as I am working on Matlab for my master thesis. Regards, Aakash

£23 GBP in 1 day
(0 Reviews)
0.0