قالب:Simple recursion/doc
| هذه صفحة توثيق فرعية لـ قالب:Simple recursion. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
Usage
{{{Simple recursion|left repeated text|non-repeated text|right repeated text|depth}}
Example
"{{Simple recursion|a|b|c|4}}"gives "aaaabcccc"
"{{Simple recursion|f( |f(x) + g|) + g|7}}"gives "f( f( f( f( f( f( f( f(x) + g) + g) + g) + g) + g) + g) + g) + g"
"{{math|[[Golden ratio|<var>φ</var>]] ≈ {{#expr: {{Simple recursion|(|1|)^-1+1|35}}}}}}"gives "φ ≈ 1.6180339887499" (iterative method, finding the largest of the solutions to خطأ رياضيات (اعرض بصيغة MathML إن أمكن (تحت التجريب): رد غير صحيح ("Math extension cannot connect to Restbase.") من الخادم "https://wikimedia.org/api/rest_v1/":): {\displaystyle \varphi^{-1} = \varphi - 1} )
See also
- Template:Loop (talk, backlinks, edit)
- Template:Substloop (talk, backlinks, edit)
- Template:For loop (talk, backlinks, edit)
- Template:Repeat (talk, backlinks, edit)