Template talk:Square root with defaults A
From Meta, a Wikimedia project coordination wiki
{{subst:#if:1|{{subst:iterate|3|
{{subst:square root with defaults A |5}}
----
{{subst:square root with defaults A |5|-1}}
}}}}
gives {{subst:square root with defaults A |5| {{subst:#expr: 2.2360679775 /2+5/ 2.2360679775 /2}} }}
2.2360679775</nowiki>
- Substituting this template produces one or more new substitution template calls, allowing recursive change of a page, see Help:Recursive conversion of wikitext.
2.2360679775
2.2360679775
2.2360679775
2.2360679775
2.23606889564
2.2380952381
Expression error: Unrecognised punctuation character "{"
{{subst:square root with defaults A |5| {{subst:#expr: -2.2360679775 /2+5/ -2.2360679775 /2}} }}
-2.2360679775</nowiki>
- Substituting this template produces one or more new substitution template calls, allowing recursive change of a page, see Help:Recursive conversion of wikitext.
-2.2360679775
-2.2360679775
-2.2360679775
-2.23606889564
-2.2380952381
-2.33333333333
-3
New version:
{{subst:square root with defaults A |5| {{subst:#expr: 2.2360679775 /2+5/ 2.2360679775 /2}} }}
2.2360679775</nowiki>
- Substituting this template produces one or more new substitution template calls, allowing recursive change of a page, see Help:Recursive conversion of wikitext.
2.2360679775
2.23606889564
2.2380952381
2.33333333333
3
1
{{subst:square root with defaults A |5| {{subst:#expr: -2.2360679775 /2+5/ -2.2360679775 /2}} }}
-2.2360679775</nowiki>
- Substituting this template produces one or more new substitution template calls, allowing recursive change of a page, see Help:Recursive conversion of wikitext.
-2.2360679775
-2.23606889564
-2.2380952381
-2.33333333333
-3
-1
[edit] Square root templates
- template:square root ( talk edit history links ) - one step at each save
- template:square root A ( talk edit history links ) - with absolute error stop criterion, one or two saves produce all approximations and the differences between consecutive ones
- template:square root B ( talk edit history links ) - with absolute error stop criterion, one or two saves produce the final approximation and the differences between consecutive ones
- template:sqr ( talk edit history links ) - one or two saves produce the final approximation, with fixed stop criterion of relative error <1e-11 (based on use of a server with 12-digit results); gives a single value, a call can be put in an expression
- template:sqri ( talk edit history links ) - one or two saves produce all intermediate results and the final approximation at the top (so backward), with fixed stop criterion of relative error <1e-11 (based on use of a server with 12-digit results)
- template:sqrif ( talk edit history links ) - ditto, forward
- template:square root with defaults ( talk edit history links )
- template:square root with defaults A ( talk edit history links )
See also: