cg_ass1
cg_ass1
Name-Sayali Kulka|ni
RollNo - 59 - SE Comps A
Linel: P(40, )
r P S-45)
looo
Pe.
D{ le
Pags
m(zmig- ) t
.=66(5o- 40)+s
m( max -X) ty
G(3o- 4o) +!sy2 49-2
40 -s0) t 40
Lime 2 P2(t0,60)
P+(too, o)
Stope lo-G6 w
m(max -21)
=
(JmaxJ)
72
Data
Lo
5 Sort the Rows ot Arays
descending Ordes Des cenaing oyoleY o 2
amd As Cending ovder
Set
?2
lo Sot
I Extract pairS
paivs ofo nters ects fom the Sorted
|2.
Pair pairs of Vaes to ne daiy outine
to ra
corTespondig line seqmeuts
Set
14
Repeat steps to 13 ntil y > ymin
Stop
Date,
9-45° A (x:0,=2,2=|)
y
- Sin4 Bos4s
By 3olving we
get
B 2, y-3, 2-0)
tos 45 Sìn4s 2.
3
Sin 45 COS4 S
z-|:40|
olr), y2, z 1)
tos 4 Sin 4S
2
-sin 4s CoS 4 S
tey
New points after Rotatton dre.
(0850, 2, os2s)
8(1050, 8,-|01)
( 346 2 ,2,-6325)
Sin
Rotati n Matix
COS
Petom
2
7axis oith a
tansfomatioy alory te
A
Seale fattoy of Sy
Rotaton
Scaling Mabix =
Data
Pane
Re flecHon
in is quiraleut to
Refleetton in Yaxis.