piPEN(PE)

fx with in = error [%] & out = iterations for pi series approx: (pi^2)/6 = sum (1/k^2) at k = 1 to N
24 download
Aggiornato 17 ott 2016

Visualizza la licenza

%% Function that computes
% Output: N = the number of iterations (if >= 1e5, then N = Inf), given
% Input: PE = percent error [%]
% to approximate pi using the pi series:
% (pi^2)/6 = summation of (1/k^2) from k = 1 to N
%
% Author: Roche de Guzman, Ph.D.
% Hofstra University
function N = piPEN(PE)

Cita come

Roche de Guzman (2024). piPEN(PE) (https://www.mathworks.com/matlabcentral/fileexchange/59789-pipen-pe), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2015a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Linear Algebra in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.2.0.0

uploaded the .m file

1.1.0.0

set to N < 1e5;
if N >= 1e5, then N = Inf

1.0.0.0