Mathematical Calculations and Error Analysis, Assignments of Computer Fundamentals

Various mathematical calculations and error analysis using MATLAB. It includes functions, loops, and error discussions such as truncation error and round off error.

Typology: Assignments

2020/2021

Uploaded on 06/15/2021

mfmgmccgmmg
mfmgmccgmmg 🇮🇷

5 documents

1 / 43

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b

Partial preview of the text

Download Mathematical Calculations and Error Analysis and more Assignments Computer Fundamentals in PDF only on Docsity!

!ایمسئلهی سادهی ارزیابی یک چندجمله

رحداکث با استفاده از روش تودرتو،n برای ارزیابی یک چندجملهای از درجهی

.عمل جمع نیاز داریم nعمل ضرب و n به

MATLAB

function y=nest(d,c,x)

y=c(d+ 1 );

for i=d:-1:

y = y.*x+c(i);

end

end

خطاها اندازهگیری

بزرگترین عددk تقریبی برای آن باشد و یک عدد حقیقی و فرض کنید : تعریف

.استرقم اعشار درستk دارای در این صورت گوییم

.رقم اعشار با هم مطابقت دارند 2 این دو عدد تا