You are on page 1of 7

LAVISH BAGGA

18105128
ASSIGNMENT 2
Engineering Analysis and Design
Ques1:

Soln1:

From the above solution, we figure out that:


For x = -2, we get y = -28
For x = -1.5, we get y = -14.9791
For x = -1, we get y = -6.2426
For x = -0.5, we get y = -1.8109
For x = 0, we get y = 0
For x = 0.5, we get y = 2.0821
For x = 1, we get y = 8
For x = 1.5, we get y = 22.3759
For x = 2, we get y = 50.2492

1|Page
LAVISH BAGGA
18105128
Ques2:

Soln2:

From the above solution, we figure out that The length of given vector comes out to be
15.2971 .The unit vector in the direction of u (given vector) comes out to be
0.2615i + 0.8498j + -0.4576k.

2|Page
LAVISH BAGGA
18105128

Ques3:

Soln3:

3|Page
LAVISH BAGGA
18105128

Ques4:

Soln4:

4|Page
LAVISH BAGGA
18105128

Ques5:

Soln5:

From the above figure, we observe that When we take the last term as 5, the summation
converges to 4.4. But as we take the last term upto 40 (as shown in the last example), we
can clearly see that the summation converges to 6.
5|Page
LAVISH BAGGA
18105128

Ques6:

Soln6:

From the above figures, we observe that:


For the given magic square formed through the in-built function magic in MATLAB, the
sum of all rows, columns, and both the diagonals equals to 65.
Hence, verified.

6|Page
LAVISH BAGGA
18105128

Ques7:

Soln7:

7|Page

You might also like