8000 Merge pull request #96 from rayahazi/master · Rastrian/Algorithms-Explanation@ecd0d00 · GitHub
[go: up one dir, main page]

Skip to content

Commit ecd0d00

Browse files
authored
Merge pull request TheAlgorithms#96 from rayahazi/master
Added in Hebrew - Fibonacci series explanation
2 parents be97b58 + 1fcb3ad commit ecd0d00

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ All Algorithms explained in simple language with examples and links to their imp
1212
- [English](./en)
1313
- [Span 8000 ish](./es)
1414
- [Nepali](./ne)
15+
- [Hebrew](./he)
1516

1617
To add a new language, create a new folder using 2 character `ISO 639-1` Code of that language. For example use `hi` for `Hindi` explanations.
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<h1 dir="rtl" text-align="right"> חישוב סדרת פיבונאצ'י</h1>
2+
3+
<div dir="rtl" text-align="right">
4+
5+
במתמטיקה, מספרי פיבונאצ'י המצוינים בדרך כלל כ:
6+
F(n), יוצרים רצף המכונה רצף פיבונאצ'י,<br>
7+
כך שכל מספר הוא הסכום של שני הקודמים, החל מ- 0 ו- 1. הרצף נראה כך:
8+
9+
<br>
10+
11+
</div>
12+
13+
<p dir="rtl" text-align="center"><b>[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...]</b></p>
14+
15+
<h2 dir="rtl" text-align="right"> יישום</h2>
16+
17+
<p dir="rtl" text-align="right">
18+
מציאת החישוב ה: <b>N-th</b> ברצף זה שימושי ביישומים רבים.<br>
19+
לאחרונה רצף פיבונאצ'י ויחס הזהב מעניינים מאוד חוקרים בתחומי מדע רבים כולל פיזיקה של אנרגיה גבוהה, מכניקת קוונטים, קריפטוגרפיה וקידוד.
20+
</p>
21+
22+
<h2 dir="rtl" text-align="right"> צעדים למימוש</h2>
23+
24+
<p dir="rtl" text-align="right">
25+
1. הכן מטריצה בסיסית <br>
26+
2. חשב את כוחה של מטריצה זו<br>
27+
3. קח ערך מקביל ממטריקס
28+
</p>
29+
30+
<div text-align="center">
31+
32+
<h2 dir="rtl" text-align="right"> דוגמא</h2>
33+
<h6 dir="rtl" text-align="center"> מציאת האיבר ה-8 בסדרת פיבונאצ'י</h6>
34+
35+
</div>
36+
37+
<h4 dir="rtl" text-align="right"> חישוב 0</h4>
38+
39+
```
40+
| F(n+1) F(n) |
41+
| F(n) F(n-1)|
42+
```
43+
44+
<h4 dir="rtl" text-align="right"> חישוב 1</h4>
45+
46+
```
47+
חישוב matrix^1
48+
| 1 1 |
49+
| 1 0 |
50+
```
51+
52+
<h4 dir="rtl" text-align="right"> חישוב 2</h4>
53+
54+
```
55+
חישוב matrix^2
56+
| 2 1 |
57+
| 1 1 |
58+
```
59+
60+
<h4 dir="rtl" text-align="right"> חישוב 3</h4>
61+
62+
```
63+
חישוב matrix^4
64+
| 5 3 |
65+
| 3 2 |
66+
```
67+
68+
<h4 dir="rtl" text-align="right"> חישוב 4</h4>
69+
70+
```
71+
חישוב matrix^8
72+
| 34 21 |
73+
| 21 13 |
74+
```
75+
76+
<h4 dir="rtl" text-align="center"> חישוב 5</h4>
77+
78+
```
79+
F(8)=21
80+
```
81+
82+
<h2 dir="rtl" text-align="center"> יישום סדרת פיבונאצ'י בשפות תכנות שונות</h2>
83+
84+
- [C++](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/math/fibonacci.cpp)
85+
- [Java](https://github.com/TheAlgorithms/Java/blob/master/Maths/FibonacciNumber.java)
86+
- [Javascript](https://github.com/TheAlgorithms/Javascript/blob/80c2dc85d714f73783f133964d6acd9b5625ddd9/Maths/Fibonacci.js)
87+
- [Python](https://github.com/TheAlgorithms/Python/blob/master/maths/fibonacci.py)
88+
89+
<h2 dir="rtl" text-align="center"> קישור לסרטון הסבר</h2>
90+
91+
- [Youtube](https://www.youtube.com/watch?v=EEb6JP3NXBI)
92+
93+
<h2 dir="rtl" text-align="center">שונות</h2>
94+
95+
- [הוכחה לסדרת פיבונאצ'י](https://brilliant.org/wiki/fast-fibonacci-transform/)

0 commit comments

Comments
 (0)
0