Gistlib Logo

gistlib

other javascript categories

calculus code snippets in javascript

find the (approximate) value of y(0.5) for dy/dt = t2 + y2, y(0)=1 on the interval [0, 0.5] in javascript
find the area bounded by the curves f(x)=9-x.^2 and g(x)=x-3 in javascript
take the derivative of a function in javascript
take the integral of a function in javascript
using a riemann sum, compute the value of ln(5.6), using the definition of the ln function as an integral. compare your result with the true value of ln(5.6) in javascript

gistlibby LogSnag