You are on page 1of 19

Sanjivani Rural Education Society’s

Sanjivani College Of Engineering, Kopargaon


(An Autonomous Institute, Affiliated To SPPU, Pune) NAAC ‘A’ Grade Accredited,
ISO 9001:2015 Certified

Department of Computer Engineering

Engineering Mathematics -III


CIA Activity
Group 02
Guided By : Prof N.S. Abhale
Group Members
1. Lakare Srushti (83)
2. Lande Sudam (84)
3. Lande Vaishnavi (85)
4. Londhe Aditya (86)
5. Machave Sahil (87)
6. Madhe Ayush (88)
7. Magar Swapnil (89)
8. Mohan Priyanka (91)
9. Markad Vinod (92)
10. More Aditya (93)
11. More Ragini (94)
12. More Sushant (95)
Que1-Type1: Find DD of ø at point (a,b,c) in direction of a1i + b1j + c1k ?

import sympy as smp # type: ignore


dfdx = dfdx.subs([(x,a1),(y,b1),(z,c1)]).evalf()
import math as math
dfdy = dfdy.subs([(x,a1),(y,b1),(z,c1)]).evalf()
x,y,z = smp.symbols('x y z',real=True) dfdz = dfdz.subs([(x,a1),(y,b1),(z,c1)]).evalf()
f = y**2 - x*y*z
print(dfdx,dfdy,dfdz)
a = int(input("Enter i: "))
b = int(input("Enter j: ")) f2d = math.sqrt(a*a + b*b + c*c)
c = int(input("Enter k: ")) print(f2d)
dd1 = dfdx * a
a1 = int(input("Enter i1: ")) dd2 = dfdy * b
b1 = int(input("Enter j1: ")) dd3 = dfdz * c
c1 = int(input("Enter k1: ")) print("dd1+dd2+dd3: ",dd1+dd2+dd3)
dd = (dd1 + dd2 + dd3)/f2d
dfdx=smp.diff(f,x) #first derivative wrt x print ("DD :",dd)
dfdy=smp.diff(f,y) #first derivative wrt y
dfdz=smp.diff(f,z) #first derivative wrt z
Que1 - Type 2: Find DD of ø at point (a,b,c) towards point (a1,b1,c1)?

import sympy as smp # type: ignore dfdx = dfdx.subs([(x,a),(y,b),(z,c)]).evalf()


import math as math dfdy = dfdy.subs([(x,a),(y,b),(z,c)]).evalf()
dfdz = dfdz.subs([(x,a),(y,b),(z,c)]).evalf()
x,y,z = smp.symbols('x y z',real=True)
f = (x**2)*y + (y**3)*z a1 = a1 - a
b1 = b1 - b
a = int(input("Enter i: ")) c1 = c1 - c
b = int(input("Enter j: "))
c = int(input("Enter k: ")) f2d = math.sqrt(a1*a1 + b1*b1 + c1*c1)
print(f2d)
a1 = int(input("Enter i1: ")) dd1 = dfdx * a1
b1 = int(input("Enter j1: ")) dd2 = dfdy * b1
c1 = int(input("Enter k1: ")) dd3 = dfdz * c1
print(dd1+dd2+dd3)
dfdx=smp.diff(f,x) #first derivative wrt x dd = (dd1 + dd2 + dd3)/f2d
dfdy=smp.diff(f,y) #first derivative wrt y print (dd)
dfdz=smp.diff(f,z) #first derivative wrt z
Que1 - Type 3: Find DD of ø at point (a,b,c) along a line equally inclined with a co-
ordinate axis?

import sympy as smp # type: ignore


f2d = math.sqrt(a1*a1 + b1*b1 + c1*c1)
import math as math
print(f2d)
x,y,z = smp.symbols('x y z',real=True) dd1 = dfdx * a1
f = (x**2)*y + (y**3)*z dd2 = dfdy * b1
dd3 = dfdz * c1
a = int(input("Enter i: ")) print(dd1+dd2+dd3)
b = int(input("Enter j: ")) dd = (dd1 + dd2 + dd3)/f2d
c = int(input("Enter k: ")) print (dd)

a1 = int(input("Enter i1: "))


b1 = int(input("Enter j1: "))
c1 = int(input("Enter k1: "))

dfdx=smp.diff(f,x) #first derivative wrt x


dfdy=smp.diff(f,y) #first derivative wrt y
dfdz=smp.diff(f,z) #first derivative wrt z
Question 02

Suppose that over a certain region of space the electric potential V is given by
the following equation: -
V=2x2 - 5xy + xyz
a) Find the rate of change of potential at Q (2,3,5) in the direction of the vector
a= +–
b) In which direction does V change most rapidly at point Q?
c) What is the maximum rate of change at point Q?
Solution

Given: - The electric potential is given


by,
V = 2x2 - 5xy + xyz = (4x - 5y + yz) + (-5y + xz) + 6
a) Firstly, find the partial derivatives, At point Q (2,3,5)
= Vx = 4x - 5y + yz = (8 - 15 + 15) + (-15 + 10) + 6
= Vy = - 5x + xz = 8 + (-5) + 6
= Vz = xy ==8-5 +6
Thus, the gradient of V at point Q
(2,3,5)
To find the directional derivative, the unit vector in the direction of a = + -
= =
Thus,
D.D = 𝞩 V
= (8 - 5 + 6)
= = =-
= -1.73
Thus, the rate of change of potential at point Q (2,3,5) in the direction of
a = + - is -or -1.73
b) In which direction does V change most rapidly at point Q?
Property: -
Directional derivative is maximum in the direction of 𝞩 V.
The most rapid change of V = 2x2 - 5xy + xyz at point Q (2,3,5) occurs in the direction of
𝞩V
𝞩V=8 -5+6
c) What is the maximum rate of change at point Q?
Property: -
|𝞩 V| is maximum magnitude of directional derivative.
The maximum rate of change at point Q (2,3,5) is,
|𝞩 V| =
=
=
=5
= 11.18
Thus, the maximum rate of change at Q (2,3,5) is 11.18 or 5 .
Question 03

You are a member of a group of 10 students. A bowl contains 10 balls, 2


black and 8 red. Each student is to take one ball from the bowl without
replacement. Students who take the black ball are guaranteed identical
prizes. If you have a choice of drawing, which position would you
choose?
Position 3:

If the first two students did not draw a black ball,


Solution there would be 8 balls left in the bowl, with 1
black ball and 7 red balls. The probability of
drawing a black ball in the third position, given
Position 1: that the first two positions did not draw a black
ball, is 1/8.
The probability of drawing a black ball in the
first position is 2/10 since there are 2 black Position 4:
balls out of 10 total balls remaining.
Following the same reasoning, the probability of
Position 2: drawing a black ball in the fourth position is 1/7.

If the first student did draw a black ball, there Position 5:


would be 9 balls left in the bowl, with 1 black
The probability of drawing a black ball in the fifth
ball and 8 red balls. Therefore, the probability
position is 1/6.
of drawing a black ball in the second position,
given that the first position did draw a black Position 6:
ball, is 1/9.
The probability of drawing a black ball in the
sixth position is 1/5.
Position 7:
Position 3: 1/8=0.125
The probability of drawing a black ball
in the seventh position is 1/4. Position 4: 1/7=0.1429

Position 8: The probability of drawing a Position 5: 1/6=0.1667


black ball in the eighth position is 1/3.
Position 6: 1/5=0.2
Position 9: The probability of drawing a
Position 7: 1/4 = 0.25
black ball in the ninth position is 1/2.
Position B: 1/3 =0.3333
Position 10:
Position 9: 1/2=0.5
Finally, the probability of drawing a
black ball in the tenth position is 1/1 or Position 10:1/1=1.0
simply 1.
As we can see, Position 10 has the highest
Now, let's compare the probabilities: probability of drawing a black ball, which is 1
Therefore, if we have a choice of drawing, it
Position 1: 2/10-1/5=0.2
would be optimal to choose Position 10
Position 2: 1/9=0.1111
Question 04

Take a photo of C shape curve in college premises and


find area under that curve.
SOLUTION:
Here we have line x=80 ,
у²=320x
Therefore y=8√5 ,Lies in First Quadrant.

80 8√5√x
∫ [yx]
0 X

=[ 8√5 x /(5/2)-x
Conclusion:
In this activity ,we have covered with
various concept of engineering mathematics like,

• Finding directional derivatives


• Line integrations
• Programing applications of it
• Concepts of probability
• Finding areas bounded by c curve and its real life
application.
References:
Thank You…

You might also like