Template talk:Square root with defaults A

{{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:subst}}#expr: 2.2360679774998 /2+5/ 2.2360679774998 /2{{subst:Rightbraces}} }}
2.2360679774998</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</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:subst}}#expr: -2.2360679774998 /2+5/ -2.2360679774998 /2{{subst:Rightbraces}} }}
-2.2360679774998</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</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:subst}}#expr: 2.2360679774998 /2+5/ 2.2360679774998 /2{{subst:Rightbraces}} }}
2.2360679774998</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</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:subst}}#expr: -2.2360679774998 /2+5/ -2.2360679774998 /2{{subst:Rightbraces}} }}
-2.2360679774998</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</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

Square root templates

edit
  • Template:Square root - one step at each save
  • Template:Square root A - with absolute error stop criterion, one or two saves produce all approximations and the differences between consecutive ones
  • Template:Square root B - with absolute error stop criterion, one or two saves produce the final approximation and the differences between consecutive ones
  • Template:Sqr - 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 - 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 - ditto, forward
  • Template:Square root with defaults
  • Template:Square root with defaults A

See also:

Return to "Square root with defaults A" page.