Template talk:Sqrif
Add topic{{subst:sqrif|5}} gives
- {{subst:#ifexpr:1|<br>{{subst:sqrif|5|1}}|{{{2}}}}}
This and also
- {{subst:#if:1|{{subst:sqri|5}}}}
gives in one edit:
1
3
2.33333333333
2.2380952381
2.23606889564
2.2360679775
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: