Professional Documents
Culture Documents
DAAassignment 1
DAAassignment 1
NAMELAhayanPat Assiqnmer
AA&
Desiqn Analysis o Alqortavs
isalcptn
011Whis p_o0eh_o.apoit kpa
desiqn ttchnlp(le Litouthe Comtesi
all alqithm mugt Soti
4
Ans Als0ithan isaAt sd_ot instruohs
Used fo acconhpls Darticlay tusk
t takes Some vae 6r Sl Of valusA
Sinb Cncd procduteA Spml a l L O
S _vaua as otputs OlpuS.
Kando2e A
Backhackis, AMaa.
(xitgoia,o Aa
Jnp Hmay éR 2020 ormo
2 0uip Aleckte on opuw m
3 PAamss 2kion, sdada beckaru
Stp should
S Hatwnsss tada tep
sane n be cdaRJ
oednes proclu ce an revad f o r r e t
loudp d Ror
do s ad
forTe
en eeli y appliCowblo to inpuI parbelul
ad
po blanm hoonpous
2Usting Subs tituticn meth Soluo e
NLITance tlosra
1 Tn)ICn-2)n _n z0
Th Ch-21tn2
TCn-2)= 1Ch-u+Ch-2) 1 22
T(n-y) -T(n-614:Ch-u)E 3
putina2ini.
I)Cn-u (n-2)2th
Tn (n-4)+Cn-)h-2)2th? r
Tth) Ch-2k}h-(2Ju-2)])
-2) +?
2k=0D
1(n Th-24 h-
n-2)2tn
TCh)ICo)+z'44H6+...+Cn-)+
14341,(n-
1 thLIÉ2+32 Cn-thY
23 n)=lth-2)4l0qqn h o
Ttn)TCn-4)tloqn-2)Hea
+loen
=h
J
Hlq 2.() 4 toq 22 loq2341q -)
hl24: 16ql
2hlu
81 1hl21 (n/2)n2 1 h
n
T(nE 2
2
T 21 3
2
6
T()2(p
2 2 T/h 14n2 42
2
2
2h
61/n
2Tft th2 7
T TalH21
n0+h/1-L
h th22
0(n
5 sinmaste_mhecd Solue H lolowe
T): TLh3th
1 :3 4n)=n
Tn)
Utn)
deptk on h n).
U)
hnHch)
n h3
h Cn)H)
ba
nlou
hleqh
h°b4hl
o1bg,h
Tth3Th thlpdn
q 3 b zh e )ah loq
Ttn).= h. UC
.2.
More ew, aqe n
r n a i ty he ld's o
4
Case
Tn)elt ) )
ue allouino
eiam do0 mcthed
Tn)Thls)+Tlunls+a
TCn
ItnlG
T T
S T/2
2
5
Love o
4n/5 Lemel
n
5
Tost o lau =h
Cos Eo Leu tuh h
B
tost_otleul 2z h t h n ttèu_h
Conn eiee
Cau b apI
Peprulaafee.
UsetoFnd MS
They inch,da"
1 Kysa's _alob
22 MfM's alD
Step 2
2fak.e edath ta upiadand uRe to
ConneHe vezticed ot/,4raphe
Iadde MadM dgH no
AMlast ueic
Stp3
KLep_ adom i l _ a l
Co hnecd O _a_ MSI iS_obrained,
2 Poi m'S
Is a
It fs 4 4sTst.
ap u
ndtotto
Sp
n ovCheoSe C Ueilenc,
2 T h vete Gonnected caree
nau
geletg
Conine L.
tino all the edau ha
tep
obaindcl. N
lhat, ave he naradlpistics. ,o
VSuftTTPOam, bplaim uwth
suitkble exanmplesl
ns he {peat ehamatigics ot qrd
aMandi ly
2 You uflaka te max. uta
eLOM in me_a lonsK aVapp%
6 ana p le
Knqy Ser
weiali
lo0-3
3-3 2 o
o0t50 o S
Auplons fA e incheo
r
Cn)
P JPC2)
n)=1H). J)-0leoeco)
2 Chi2) 2^(nl2).
nn(o) x o (nl2).
wi cln cleanly shoud zt4
pcaupe ul_(am wo e
Puh) h 2n h}n1o(l414
whio shenns f