ScratchData LogoScratchData
Back to grininja154's profile

Product log function integral

GRgrininja154•Created February 1, 2025
Product log function integral
0
0
6 views
View on Scratch

Instructions

This is an integral approximation of the W. Lambert function, the inverse of x*e^x. The integral \frac{x}{\pi}\int_{0}^{\pi}\frac{\left(1-t\cot\left(t\right)\right)^{2}+t^{2}}{x+t\csc\left(t\right)e^{-t\cot\left(t\right)}}dt is an exact formula for W(z), but because integrals are hard to do in scratch (with my knowledge) I just used a summation formula of f(x/n)/n where n is the precision (in this approximation 1000).

Project Details

Project ID1128036176
CreatedFebruary 1, 2025
Last ModifiedFebruary 1, 2025
SharedFebruary 1, 2025
Visibilityvisible
CommentsAllowed