touunix / Simple_iteration_method

Simple_iteration_method | Metoda iteracji prostej

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENG Simple iteration method - solving nonlinear equations

Description:

The algorithm that allows finding the zero of the function of nonlinear equations by simple iteration method with the given accuracy, where the equation f (x) = x ^ 3-3x-6 is given. The activities are based on performing calculations according to an iterative formula and checking the conditions after each iteration. First, locating the interval [a, b] is performed by making a table. The number "a" is the negative number closest to zero resulting from the table. The number "b" is a positive number indexed 1 greater than the number "a". The formula of the function should be transformed to the form x = F (x) and the condition of convergence should be checked. Loop calculations are performed until the precision condition is less than epsilon. In the final phase, the results after all iterations are displayed collectively.

PL Metoda iteracji prostej - rozwiązywanie równań nieliniowych

Opis:

Algorytm pozwalający na znalezienie miejsca zerowego funkcji równań nieliniowych metodą iteracji prostej z podaną dokładnością, gdzie dane jest równanie f(x)=x^3-3x-6. Działania opierają się na wykonywaniu obliczeń według wzoru iteracyjnego i sprawdzaniu warunków po każdej iteracji. W pierwszej kolejności wykonywane jest zlokalizowanie przedziału [a,b] poprzez sporządzenie tabelki. Liczba "a" jest negatywną liczbą najbliższa zeru wynikająca z tabelki. Liczba "b" jest liczbą pozytywną o indeksie o 1 większy niż liczba "a". Wzór funkcji należy przekształcić do postaci x = F(x) i sprawdzić warunek zbieżności. Obliczenia w pętli wykonywane są do momentu gdy warunek dokładności jest mniejszy niż epsilon. W końcowej fazie, wyniki po wszystkich iteracjach zostają wyświetlone w sposób zbiorczy.

About

Simple_iteration_method | Metoda iteracji prostej


Languages

Language:MATLAB 100.0%