BCA 406 Solution-2022
BCA 406 Solution-2022
Q3.
∇f=(∂f/∂x,∂f/∂y,∂f/∂z)
f(x,y,z)=3x2y−y3z2
∂f∂x=6xy
∂f∂y=3x2−3y2z2
∂f∂z=−2y3z
∇f(x,y,z)=(6xy,3x2−3y2z2,−2y3z)
∇f(1,−2,−1)=(−12,−9,−16)
Q4.
o solve the differential equation dy/dx = sin(x + y), we can use the method of separating
variables. Here's how you can do it:
1. Rearrange the equation to isolate the y terms on one side and the x terms on the other side: dy/dx
= sin(x + y) dy = sin(x + y) dx
2. Divide both sides of the equation by sin(x + y): dy/sin(x + y) = dx
3. Introduce a substitution to simplify the equation. Let's use u = x + y, which means du/dx = 1 +
dy/dx: dy/sin(u) = dx
4. Rewrite the equation in terms of u: dy = sin(u) dx
5. Now, integrate both sides of the equation with respect to their respective variables: ∫dy = ∫sin(u)
dx
6. Integrating both sides gives: y = -cos(u) + C1 + C2x
7. Replace u with x + y: y = -cos(x + y) + C1 + C2x
Therefore, the solution to the differential equation dy/dx = sin(x + y) is given by y = -cos(x + y)
+ C1 + C2x, where C1 and C2 are arbitrary constants.
5.Given : Expression
To find : Solve for differential equation?
Solution :
………..(1)
Let, x+y=u
Differentiate with respect to x,
.........(2)
From equation (1) and (2),
Q8.
To solve the equation grad r^(-3) = -3r^(-5), where r = xi + yj + zk, we need to compute
the gradient of the left-hand side and equate it to the right-hand side.
f(r) = r^(-3)
∂f/∂x = -3r^(-4) * (∂r/∂x) = -3(x^2 + y^2 + z^2)^(-4/2) * 1 = -3(x^2 + y^2 + z^2)^(-2) * x ∂f/∂y
= -3r^(-4) * (∂r/∂y) = -3(x^2 + y^2 + z^2)^(-4/2) * 1 = -3(x^2 + y^2 + z^2)^(-2) * y ∂f/∂z = -
3r^(-4) * (∂r/∂z) = -3(x^2 + y^2 + z^2)^(-4/2) * 1 = -3(x^2 + y^2 + z^2)^(-2) * z
∂f/∂x = -3(x^2 + y^2 + z^2)^(-2) * x ∂f/∂y = -3(x^2 + y^2 + z^2)^(-2) * y ∂f/∂z = -3(x^2 + y^2 +
z^2)^(-2) * z
Simplifying, we have:
(x^2 + y^2 + z^2)^(-2) * x i + (x^2 + y^2 + z^2)^(-2) * y j + (x^2 + y^2 + z^2)^(-2) * z k = (x^2
+ y^2 + z^2)^(-5/2) * xi + (x^2 + y^2 + z^2)^(-5/2) * yj + (x^2 + y^2 + z^2)^(-5/2) * zk