root_approx

Lists the first few rational approximations to the square root of n.

Sie verfolgen jetzt diese Einreichung

root_approx(n,terms) outputs the first 'terms' rational approximations to the square root of n.

Example:
root_approx(5,3) prints the following:

9 4
161 72
2889 1292

Zitieren als

Douglas Brunson (2026). root_approx (https://de.mathworks.com/matlabcentral/fileexchange/77831-root_approx), MATLAB Central File Exchange. Abgerufen .

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
2.0.0

changed from floating pt operations to uint64 operations.

1.0.0