Question

(* Problem 3 *) (* Consider differential equations of the form a(x) + b(x)dy /dx=0 *)...

(* Problem 3 *)

(* Consider differential equations of the form a(x) + b(x)dy /dx=0 *) \

(* Use mathematica to determin if they are in Exact form or not. If they are, use CountourPlot to graph the different solution curves 3.a 3x^2+y + (x+3y^2)dy /dx=0 3.b cos(x) + sin(x) dy /dx=0 3.c y e^xy+ x e^xydy/dx=0

Homework Answers

Answer #1

3a. Please find attached code.. Here in code a = a1-a2 if it is zero contour plot is done manualy. It is not working in if/while loop in mathematica. c is arbitrary constant, choose different values and check.

m=3x^2+y;
n=x+3y^2;
a1 = D[m,y];
a2=D[n,x];
a=a1-a2;
M1=Integrate[m,x];
n1=3y^2;
N1 = Integrate[n1,y]
Ans= M1+N1 -c;
c=3;
ContourPlot[Ans, {x, -10, 10}, {y, -10, 10}] ;

3b. a is not zero, hence it is not exact.

m=cos[x];
n=sin[x];
a1 = D[m,y];
a2=D[n,x];
a=a1-a2

3c.

m=y exp[xy];
n=x exp[xy];
a1 = D[m,y];
a2=D[n,x];
a=a1-a2;
M1=Integrate[m,x];
n1= 0; 
N1 = Integrate[n1,y];
Ans= M1+N1 -c
c=0;
ContourPlot[Ans, {x, -10, 10}, {y, -10, 10}] ;
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
i)Please state if the following equations are exact or not: (a) (sin(xy) − xy cos(xy))dx +...
i)Please state if the following equations are exact or not: (a) (sin(xy) − xy cos(xy))dx + x^2 cos(xy)dy = 0 (b) (x^3 + xy^2 )dx + (x^2 y + y^3 )dy = 0 ii) Determine if the following equation is exact, and if it is exact, find its complete integral in the form g(x, y) = C: (3(x)^2 + 2(y)^2 )dx + (4xy + 6(y)^2 )dy = 0
Use the method for solving homogeneous equations to solve the following differential equation. (9x^2-y^2)dx+(xy-x^3y^-1)dy=0 solution is...
Use the method for solving homogeneous equations to solve the following differential equation. (9x^2-y^2)dx+(xy-x^3y^-1)dy=0 solution is F(x,y)=C, Where C= ?
Exercise 178 Further problems on equations of the form dy dx=f(x). In Problems 1 to 5,...
Exercise 178 Further problems on equations of the form dy dx=f(x). In Problems 1 to 5, solve the differential equations. 1.dy/ dx = cos4x−2x 2. 2xdy/dx =3−x3       3.dy/dx +x=3, given y=2 when x=1 4. 3d/ dθ +sin θ=0, given y=2/3when θ=π 3 5.1/ex +2=x−3dy/dxgiveny= y=1 when x=0. 6. The gradient of a curve is given by: dy dx + x2 2 =3x engineering mathematics
Consider the following differential equation: dy/dx = −(3xy+y^2)/x^2+xy (a) Rewrite this equation into the form M(x,...
Consider the following differential equation: dy/dx = −(3xy+y^2)/x^2+xy (a) Rewrite this equation into the form M(x, y)dx + N(x, y)dy = 0. Determine if this equation is exact; (b) Multiply x on both sides of the equation, is the new equation exact? (c) Solve the equation based on Part (a) and Part (b).
Homogenous Differential Equations: dy/dx = y - 4x / x-y dy/dx = - (4x +3y /...
Homogenous Differential Equations: dy/dx = y - 4x / x-y dy/dx = - (4x +3y / 2x+y)
Solve the following differential equations. a.) dy/dx+2xy=x, y(0)=2 b.) ?^2(dy/dx)−?y=−y^2
Solve the following differential equations. a.) dy/dx+2xy=x, y(0)=2 b.) ?^2(dy/dx)−?y=−y^2
Homogeneous Differential Equations: dy/dx = xy/x^(2) - y^(2) dy/dx = x^2 + y^2 / 2xy
Homogeneous Differential Equations: dy/dx = xy/x^(2) - y^(2) dy/dx = x^2 + y^2 / 2xy
Solve the following Differential equations a) x sin y dx + (x^2 + 1) cos y...
Solve the following Differential equations a) x sin y dx + (x^2 + 1) cos y dy = 0
Solve the given differential equations: a) dy/dx=(x+1)^2 b) (x+1)dy/dx-xy=x^2+x
Solve the given differential equations: a) dy/dx=(x+1)^2 b) (x+1)dy/dx-xy=x^2+x
(61). (Bernoulli’s Equation): Find the general solution of the following first-order differential equations:(a) x(dy/dx)+y= y^2+ln(x) (b)...
(61). (Bernoulli’s Equation): Find the general solution of the following first-order differential equations:(a) x(dy/dx)+y= y^2+ln(x) (b) (1/y^2)(dy/dx)+(1/xy)=1