Write a program to solve and plot the solution of differential equation
dy/dx=-(x²-y)/y-x at initial condition y(1) = 2
Program-2
/* program to solve and plot the solution of exact differential equation*/
kill(all);
eq:'diff(y,x)=-(x²-y)/(y²-x);
gsol:ode2(eq,y,x);
psol:ic1(gsol,x=1,y=2);
us:rhs(psol);
plot2d(us,[x,-5,5],[y,-5,5]);
Write the Output obtained by execution:
Find Z[n(n – 1) (n – 2)].
Solve the given problem by means of an eigenfunction expansion.
y"+2y= −x, y(0)=0, y'(1)=0
The velocity distribution in a two dimensional steady flow field is xy plan is v=(Ax-B)i+(C-Ay)j,A=2s-1,B=5ms-1,C=3ms-1. The coordinates are measured in meters and body force distributing is gx=-gk.Does the velocity field represent an incompressible fluid?Find the stagnation point of the flow field. Obtain expression for the pressures gradient in the flow field. Evaluate the difference at(x,y)=(1,3) and origin if density is 1.2kg/m3
A string is stretched and fixed between two points (0,0) and (l,0). Motion is initiated by displacing the string in the form ( ) and released from rest at time t=o. Find the displacement of any point on the string at any time t.