Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var suma=0,n=0.1;
- for(var i=1;1/(i*i+1.0)>=n;i++) {
- suma=suma+1/(i*i+1.0);
- console.log(i + ' ' + suma);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement