Muhammad al-xozazmiy nomidagi toshkent axborot texnologiyalari universiteti telekommunikatsiya texnologiyalari fakulteti algoritmlarni loyihalash


Download 28.28 Kb.
Sana18.06.2022
Hajmi28.28 Kb.
#764844
Bog'liq
lab3-----task
t a r i x sh u n o s l i k fanidan amaliy mashgulotlari uchun u s l u b i y k o r s a t m a (1), oziqlanish va moddalar almashinuvi, лекция-5, 1, Korrupsiyaga qarshi kurashishning g'oyaviy va huquqiy asoslari, Korrupsiyaga qarshi kurashishning g'oyaviy va huquqiy asoslari, Korrupsiyaga qarshi kurashishning g'oyaviy va huquqiy asoslari, Oylik maosh hisoblash, Mavzu Mehnat haqi bo’yicha xodimlar bilan hisob kitob va ularni, the essay 500, amaliy sih, hosila, elektronika 2-must, Futbol - sport o'yini. Texnik va taktik tayyorgarlik. Futbol o'yini qoidalar, Futbol - sport o'yini. Texnik va taktik tayyorgarlik. Futbol o'yini qoidalar


OʻZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI
MUHAMMAD AL-XOZAZMIY NOMIDAGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI

TELEKOMMUNIKATSIYA TEXNOLOGIYALARI FAKULTETI
ALGORITMLARNI LOYIHALASH fanidan
3-LABARATORIYA ISHI


Bajardi: Abdullayev Suhrobjon
Tekshirdi: Turg‘unov Abror
TOSHKENT – 2022

f(x) = 3·x+2, [-pi;pi]

Разложение в ряд Фурье на интервале(-T;T) имеет вид:




Для наших данных:
T = 2·π

 =  =  =  = 
 =  =  =  =  = 0
 =  =  =  =  = -6*
Окончательно, получаем:

Примечание:
cos(πn) = (-1)n
cos(2πn) = 1
sin(πn) = 0




Kodi:

// Online Javascript Editor for free


// Write, Edit and Run your Javascript code using JS Online Compiler
console.log("Labaratory 3 based on Fure sequences")
let x,i,Fx,s;

const a=-Math.PI;


const b=Math.PI;
const n=10;
const h=0.1;

for(let x=a;x
s=0;
for(i=1;i<=n;i++) {
s=s+(-6*(Math.pow(-1,i)/i)*Math.sin(i*x))
}
Fx=2+s*1;
console.log(x,Fx)
}


Result:

node /tmp/tgyym9HOcx.js


Labaratory 3 based on Fure sequences
-3.141592653589793 1.9999999999999927
-3.041592653589793 -3.6274337266438117
-2.941592653589793 -7.296555972000686
-2.841592653589793 -8.218685776409071
-2.7415926535897928 -7.112893962304099
-2.6415926535897927 -5.523874361071577
-2.5415926535897926 -4.694671668865359
-2.4415926535897925 -4.847889634706319
-2.3415926535897924 -5.330947968517054
-2.2415926535897923 -5.370209928133607
-2.1415926535897922 -4.74711288027971
-2.041592653589792 -3.8754030304135068
-1.941592653589792 -3.323572549985248
-1.841592653589792 -3.280580453448808
-1.7415926535897919 -3.4388656687509513
-1.6415926535897918 -3.341439281389902
-1.5415926535897917 -2.8230839257399696
-1.4415926535897916 -2.1334108371875633
-1.3415926535897915 -1.6616259764475987
-1.2415926535897914 -1.55582435067212
-1.1415926535897913 -1.6014587150902053
-1.0415926535897913 -1.4529022694141456
-0.9415926535897913 -0.9740367181384544
-0.8415926535897913 -0.35714795968934343
-0.7415926535897913 0.08056448161031593
-0.6415926535897913 0.21100609096437628
-0.5415926535897914 0.21229499567870658
-0.4415926535897914 0.3837224301208759
-0.3415926535897914 0.8485556588796364
-0.2415926535897914 1.4371567752784282
-0.1415926535897914 1.860076080569394
-0.04159265358979139 1.9960797219635065
0.058407346410208616 2.010756882318749
0.15840734641020862 2.190580839845307
0.2584073464102086 2.657436835423203
0.35840734641020866 3.2459407971552894
0.45840734641020864 3.6660684463203586
0.5584073464102086 3.7924175301614267
0.6584073464102086 3.7938915132814377
0.7584073464102086 3.971020109153816
0.8584073464102085 4.456128137779162
0.9584073464102085 5.072768214572603
1.0584073464102086 5.5016292695128755
1.1584073464102087 5.598970597934237
1.2584073464102088 5.553592759353808
1.3584073464102089 5.714517223118645
1.458407346410209 6.243466612232777
1.558407346410209 6.933004470961337
1.6584073464102091 7.3884415539326875
1.7584073464102092 7.419394491647732
1.8584073464102093 7.260803890669207
1.9584073464102094 7.378936602936728
2.0584073464102093 8.012553044734759
2.1584073464102094 8.885900299174905
2.2584073464102095 9.413261129534787
2.3584073464102095 9.264153492859228
2.4584073464102096 8.775038086274186
2.5584073464102097 8.757526523570494
2.65840734641021 9.760868548925584
2.75840734641021 11.37690443676801
2.85840734641021 12.241163881537922
2.95840734641021 10.8700821795315
3.05840734641021 6.774483630652975
Download 28.28 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2022
ma'muriyatiga murojaat qiling