0% found this document useful (0 votes)
31 views25 pages

Matlab 1 2 and 3 Chapter

Hi

Uploaded by

Abubakar tasleem
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
31 views25 pages

Matlab 1 2 and 3 Chapter

Hi

Uploaded by

Abubakar tasleem
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 25
——{_ te. 4 ed i 5-1949.5°) sd is -afizs a5°3) 2 pial Same Basa is - = feo wa" 314 een orar 5 *(5/s)— O:d:- a)s[h ba +e a noe ee exp(3:s) +13 + 55x04! Ge a [ai*3) (4/4)5%04 _@:3: 0) 233 US 4 log, SeA0b 6K OF _»y (O34 4S (1/3) (to: 2), «Lop 0(san Ss ete 50) ls (es “|= % 0-35 * pi)" ‘Vestas a). sh A ee a Usctachearnemnere aera Ol: aR + $.9 4198 TS -U\ x9$ 435 “—~g RB’ 7S —uy* 5. a : 6 a. s a 3 6x 10" yu Ses (2.17 10°6 -15-a*10*6)/ (3 6* 0" Ws) @:5: a) Sin(o-dx) + tana? as (®/s) —___>>_ Sin (0: atB Veasle f6). stond (1a) tb) (ran g?cos. Ss" or Sin? a = i ea cos 80 |_| —_— “sponateu) %o cosd. is) "2 fs Sina) 3/ ——____casd(90), \ 3} SS = 0:6 Define ne variable = as_2 = YS, then _——_-evaludle — | ao ets 31 = 162-32 - - Bo: 7 Lee Vs pot 443.1% 249 - 169.32 80.7 —b\ (2-93)? 175 ) bere ze WS 5 a - - i ww (o* ® 93) /(2°9 419.59 (a) _quin Defoe te vorinhle +t gs bo 3.91 un 4 col ie a ei TO pie B-ds - — ERD sl "t) -3 BA" 443 b)_6tP+ ot - 9 : tonal: _ipt= 3-05 1» (o*t" 246th a) (tar) QB: Define. Ye variable xand y= = 65 ond = 3:81 Agen evalol@ 4 fo a) (ere) Peay 2 pb 5 Y=x ee >} =38; _ __ | i = at x94 gay (9/3) ye =H a \ xt ae Ox? x4" ST aa wy re X= 6S) St ed 4 23By eee by d4.a°x"d - x* uta. 3 epldata.Gea)4 (/3)-{ a "4 pare: dafbepe spce 4-65 oe spaectd ds oe fle an a fee (c [bYa=c’d -afh -—{o- nena seneens —— fo oe ke PA [40.5 poe a — BL i» x: 2205 Se ly tus. (sida ‘costa’ el pp RHS = ‘\+d" sind mw) * cosd (x) __-b) = dcosx- Acad =) =Seosx b Sin? cox t——|» x= OO 5 . aca Penedls) XO = Pifas xb- Pi Jes 2 : An A\\* oe a_i Tas axa cael xa) 4 (xa'd =) Sina) p__ bp The O*xbeos (xb) » (xt ___»Ts Ja-Ib te Ms Ag a : Paw) Bel « asind (Io'sind (Gam) |c) —_——sfilps_asind (a*eind (gam) fe} —___ | 2 Gam.Bets Alp lh pri. 1905/9 5 1a2d-d8/a;h=d4 =. ——— a Wri sy = — paz O71 b= 45 3 es BT 3 __j oe p=acosd ({-0" d+" aQsc*d\/ (a* Fc ____sBet = amad(-b'd+0'a4c’2)/(9"ar*ey\ ae 3 Gram» acosd ((- cD 20°9ac*d)(S%atb) _ Total = Alp+ Ret + Gam Pee ener ee ee (ee i Bece Dit ce mre Daye on {2} Hoe anf ae »Gs IBO-A-B weet papel ssind(8) sind 8) ed (6) fsicaa)) Ay sce oa | ind (A) Ss Part | > sx! eek OE & A oe aco) Lone, Mo: wAs[-) -1.5 -3]; » B= f-o-5 Gea p= {a 6-1} 5 = syte cart (eum(@-A). say > oi = PAd* A (2) +A)? Bla) + BIL) PO) = PO)" AU + A@) * Buds Bey? Pw) 5 ____ 5a. P(d)" A) + AG)” 86). BO)” P@)— _____( (3) hays a8) * Base B(s)* P@) 3 — sy S3= PW)? AC) + AU) * BB) « Ba) * P= ———_P( Pls)” AW+aGracns BEL PAS SS Ss sartlaAa + sa°o+ 53\) 2 5 S DOrs-2¥ Shr } . A . 4. sde(o-76 5:9 o-7 5 Wel 3 60 dia) fan (A0* 2/1) 5 cosd (5) 5 0-16] 5s |p re S44 2 SB 5 penfaf say acy ty vtec} VR enn Dit: eessnenrsnee hbase Ss pe nen reel nc igs 2.f, sfc} Fa DACs ie “as ro asd Lt qe 4:3] ~ Nnspace (68, 19_,2) ym 2 (6.4 10-8 510} AO. sy N= nepare ts 93,7) Mo wy Time = oO: 30 _1a.)Fous = geal | Day:— Da “16 (029) 281 “1s py Re (-4 338 Ws 230 jail pve 4s -3 294 9 L syywte ts 4 31g EL pale, v | _\8- pe Te [6:5: 12a, i ypb2 {9129+ 33)4 Se a yA aHH : 523i, bess “24 b19 ; sce [8 ay _ >> D= {A58 4 | D0-yVA= FA. 5. Si ¥9 sp VB2 LVAU5) val 319)\ Ea: i gieaf2s 3. 20)y, Seed wpwcodd ve ([4 + 1D: 213), eee Gaberae| Pees, ath “93: 5 ND= = foo 24 nny 55 VINE = 450 Be “Wa vote {nfa5) VE(4 23) en 2 Net mar (S20 - faa 2 erm) : O4- sy me acaliy -\i45 Unspace(o,— Si say Tip bbaqe sd) gel 26. 9C-<[Vinspace (66,5) 5 Vinspael a, 85) E Be >0= [ones (354)5_ §.-a:9 | __ Dal a eae | 30 +pGo= fones (3,5) 5 zeras(s)_cnes(3s2.)) Biya. ff. 8 -10 aly —» be fa 14 -9 S14 poo{-3 5 0 6 17) 4 sp b= fa (1:3) b( 1:3) c(41:3)) »fs (als.5) (3:5 \_<(S35)) 39. 302 [5) 8 =| 9 a4 spbe {41 : = 34 Se fs 56 0 6 | 13 s>Maosf[cib3 0] a 33: wod- [6 | 4 O 9 yes fs 5.9 0) Coe Uo TO er VA U5 %iyusfo 4-5 6 5 -1 a} Eanes -4y oo 195) sy As (u(9 25) 5 4{4 54) uff 1} hy fs fife), zesos (Usd) u{{1 3 51 =———>Vb= (3544) , i sy Nes {Mla 2) M -a)] i in BB 5M +5 251,36) 4 515 ~S2 aGefo 20-10-75 Jo 1:4 50:0 +9 3 in Woy oiseetoae eee L “ema a(t 8 4}, tu 2 £3). - > Mbe= aie A 23\, fo 4 6} it * yk-[0-95 10-95 :].15;9: Fy Hs ~——i.__95:5 + a oeoneereee Ga-fesakG,5) + ka,fse}}s— 5 kK (S52) ao : a ~———s Gb= k{ 19} arn 6\\ Hess Se eeriy four a a | - s»S= CS L oe ee ; > 6 is Tory D5 bt tg tg gg Li & & rs 16 20 QY 4 2 6 10 { 2 al : 4 3 18, : J 20 230, 3, Yo: T= reshape {o- : 2. BW 20 26 y \o__\o oo a’ oN 6 \_ AR 30 pt > awa is i : ‘Dg a4 a8 ) | r—o—tfeetilsu) tla, 2) \ - = f —_ — | rv. — 30 => pte (3:5,3:5)-TUN Bo + = 93 \ +3) | | ay es i. | 4 ° °o | (°8 o fo L I 10 ° forte. o 8 L | lb 0 6 2 By ee 8 jo r Soe _O o 6 Id WR an ae whet BE 223] ¥ ie ee Si eee eee ee ie | 3. ¥§ 7 [ee oe seein ae aioe an wee mee fee 24 2+) =v So > Ve ne He. il ; dy A as ss av Gfo:5 6:6}) =f} Ne ican. secon w.d + Si odes} 2. p——_f 5+ ve Yoo | 0 + 1000 5 | js Ca] atpi \y). “Ula) 3 S624" ptr. “O54 - oleae _ result (:\)2 round Lr? to’ | oe | Ss veeult GON2 Vy eed result (Basmals oe td F. ple 10000 4 n= 30; ve 0-064 safo: 5 250], spe (ier /12) 4 BeLY(cl(1a*n\ Cc “uata\\./c FU" \ \ —\\4 Table = {xi BY _& »vu=(-5-6 Sys ——_-splengh sax (sumalure\\ ____ Q. ust Role) -3} - 2 lustart (sumlu-Fu\\ ——_on = vf / ——seLun = soy t (surf n* un \\ a be: Lowe tsa 6:89 a eee ann A aaere 1 15 (sum (u4.*# U2 fe a +O Sayet(sumn{ 4-00 956: OO. ST-00 _ Woo ono 00 3 Kas = oe Yoo \6 -00 4-00 D+ sve lS -1 34 su =[6 4 jasa a 4 EF * ae et oq el ee i —___ 199.9000 1-09 O10 Day,-——__— a wf — Anse. o 15+ sv-f\ 3. Ss 7}; yas 3*v =ae 34 8 A » bey. *0) abe 1.9 95 49 cay. [Vv ssc= \ | |i it 14. dd. 6*v. |v ed 6 6 6 6 weve{5 4 3 97; ae 4+f (ve) 20.100 0.150 0.1661 oa »beby.*VY = b= 3lo5 956 97 4 _ eave fsqrt WS ce 2.2361 8.0000 118g, 4 9 — Sdeyrd|VeAV ayd- 00980 _p.obas 23333 ‘saan, Br yxsfos 10:5 + 9-5 ]5 y= fo.’ roBr 4s. em AOE K die poithaata + Q=x). 74 sp Rev "ea tenga eae He OS ** . AE B- Is sy a 5 No = 360 5 Me W102 15 eran [A na | 7) ha wt Hsin 9-2/9) 89-— >> n= 120g ssan= 1+ [nA Ha ss Sa, = vm (an) phi. BD 16 — n= 4:50 5 : qs 1:/ n.d 5 1 Sb = sur on) = - Ee Lo ope MADE | Os naa. “ng Ss sb = sunlan) rns 1250 3 syns 1 fafa.tn = SSC = sorclan) oat eee a a ° \ san = O-n. / FX torial (10 5 _ f ed _ al sd 3.0 0: \5 3 pons O.*n. /Etctariall (a 5 S-So= Sure {an} — I Er 1 i |

You might also like