Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Assignment solution of Mth301

Section In charge : Asmat Batool

STUDENT ID :

SOLUTION :-

Question no. 1:-

Answer:-

Given point in spherical coordinates \( (\rho, \theta, \phi) = (\sqrt{6}, \frac{\pi}{3}, \frac{\pi}{2}) \).

To find the rectangular coordinates \( (x, y, z) \), use the formulas:

\[ x = \rho \sin(\phi) \cos(\theta) \]

\[ y = \rho \sin(\phi) \sin(\theta) \]

\[ z = \rho \cos(\phi) \]

Substitute the values:

\[ x = \sqrt{6} \sin\left(\frac{\pi}{2}\right) \cos\left(\frac{\pi}{3}\right) = \sqrt{6} \cdot 1 \cdot \


frac{1}{2} = \frac{\sqrt{6}}{2} \]

\[ y = \sqrt{6} \sin\left(\frac{\pi}{2}\right) \sin\left(\frac{\pi}{3}\right) = \sqrt{6} \cdot 1 \cdot \frac{\


sqrt{3}}{2} = \frac{3\sqrt{2}}{2} \]

\[ z = \sqrt{6} \cos\left(\frac{\pi}{2}\right) = \sqrt{6} \cdot 0 = 0 \]

So,

 the rectangular coordinates are \( \left(\frac{\sqrt{6}}{2}, \frac{3\sqrt{2}}{2}, 0\right) \).


Question No. 2:-

Answer:-

Given:

\[ w = f(u, v) = \ln(3u + 7v) \]

\[ u(t) = e \]

\[ v(t) = 3t - 2 \]

Using the chain rule:

\[ \frac{dw}{dt} = \frac{\partial w}{\partial u} \frac{du}{dt} + \frac{\partial w}{\partial v} \frac{dv}


{dt} \]

 Calculate the partial derivatives:

\[ \frac{\partial w}{\partial u} = \frac{1}{3u + 7v} \cdot 3 = \frac{3}{3u + 7v} \]

\[ \frac{\partial w}{\partial v} = \frac{1}{3u + 7v} \cdot 7 = \frac{7}{3u + 7v} \]

Substitute into the chain rule:

\[ \frac{dw}{dt} = \frac{3}{3u + 7v} \cdot e + \frac{7}{3u + 7v} \cdot 3 \]

\[ \frac{dw}{dt} = \frac{3}{3(e) + 7(3t-2)} \cdot e + \frac{7}{3(e) + 7(3t-2)} \cdot 3 \]

\[ \frac{dw}{dt} = \frac{3}{3e + 21t - 14} \cdot e + \frac{21}{3e + 21t - 14} \]

So,

\( \frac{dw}{dt} = \frac{3e}{3e + 21t - 14} + \frac{21}{3e + 21t - 14} \).

Question No. 3:-


Answer:-

Given points A(-1, 2, 5) and B(3, 5, 0).

 To find the direction cosines of the line joining these points, we first find the direction vector
of the line AB, then normalize it to find the direction cosines.

Direction vector AB = B - A = (3 - (-1), 5 - 2, 0 - 5) = (4, 3, -5)

The magnitude of this vector is √(4^2 + 3^2 + (-5)^2) = √(16 + 9 + 25) = √50

Direction cosines are the components of the direction vector divided by its magnitude:

Direction cosine in x-direction = 4/√50

Direction cosine in y-direction = 3/√50

Direction cosine in z-direction = -5/√50

 So, the direction cosines of the line joining A(-1, 2, 5) and B(3, 5, 0) are (4/√50, 3/√50, -5/√50).

You might also like