English
Source / code snippets

Stellenzahl of/ one Faktoriellen; Folgenullen-amount

 

p.specht

Stellenzahl of Faktoriellen x!, from x accounts:
Window Title "Stellenzahl of/ one Fakultät(n) via Bernoulli-Koeffizienten-Näherung"
cls:declare n!:loop:
input n!' deference: the ! mark Profan-Float, not the "Fakultät"-characters...
print int(1+((n!+.5)*ln(n!)-n!+1/(12*n!)-1/(360*n!^3)+1/(1260*n!^5)1/(1680*n!^7)+ln(2*@Pi())/2)/ln(10))
goto "loop"

P.s.: The Faktorielle a number n>5 has ca. int(n/4+0.5)-1 Folgenullen !
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
06/14/21  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.363 Views

Themeninformationen

this Topic has 1 subscriber:

p.specht (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie