Template talk:Square root A
From Meta, a Wikimedia project coordination wiki
Template:Sra redirects to Template:Square root A.
This template was designed for use with the pre-2008 preprocessor.
Currently,
{{subst:sra|3.0|1.7|.00000000001}}
gives
{{subst:#ifexpr:(1.7-1.7/2-3.0/1.7/2>.00000000001) or (1.7-1.7/2-3.0/1.7/2<-.00000000001)
|{{subst:Square root A|3.0|1.7323529411765|.00000000001}}}}
<br>1.7 -0.032352941176471
rendered as:
{{subst:#ifexpr:(1.7323529411765-1.7323529411765/2-3.0/1.7323529411765/2>.00000000001) or (1.7323529411765-1.7323529411765/2-3.0/1.7323529411765/2<-.00000000001) |{{subst:Square root A|3.0|1.7320508339159|.00000000001}}}}
1.7323529411765 0.00030210726059066
1.7 -0.032352941176471
[edit] Square root templates
- 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: