Jump to content

Template talk:Square root B

Add topic
From Meta, a Wikimedia project coordination wiki

{{subst:square root B|5|1|0.001}} gives


2.23606889564 9.18140021788E-07

Compare
{{subst:square root A|5|1|0.001}} gives


2.23606889564 9.18140021788E-07
2.2380952381 0.00202634245663
2.33333333333 0.0952380952349
3 0.666666666667
1 -2

And
{{subst:#if:1|{{subst:square root B|5|1|0.001}}}} gives


2.23606889564 9.18140021788E-07 in one edit.

2.23606889564 , 9.18140021788E-07

{{subst:square root|5|2.2360679774998}}
2.2360679775
2.2360679775
2.2360679775
2.2360679775
2.23606889564
2.2380952381
2.33333333333
3
1



2.23606889564 9.18140021788E-07
2.2380952381 0.00202634245663
2.33333333333 0.0952380952349
3 0.666666666667
1 -2

2.23606889564 , 9.18140021788E-07

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: