# NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

## Easy Java Simulations (2001- ) => misc => Topic started by: Fu-Kwun Hwang on December 01, 2008, 04:53:38 pm

 Title: Integrator y= ∫ f(x) dx, enter a function and the integral will be calculated! Post by: Fu-Kwun Hwang on December 01, 2008, 04:53:38 pm This applet allow you to enter f(x) and range of x, and the program will calculate the integration for f(x).Drag the mouse inside the simulation region, will show the correspond y=f(x) and it's integral $\int f(x) dx$. Title: Re: Integrator y= ∫ f(x) dx, enter a function and the integral will be calculated! Post by: ahmedelshfie on May 21, 2010, 10:01:00 pm Prof Hwang can you explain please this project I try understand is calculate sin only Could you explain about simulation pleaseThanks  :) Title: Re: Integrator y= ∫ f(x) dx, enter a function and the integral will be calculated! Post by: ahmedelshfie on May 22, 2010, 09:59:12 pm What i mean he calculated FX sin only Could you prof explain simulation by simple description For me understand and translation  this description to portagesThanks    Title: Re: Integrator y= ∫ f(x) dx, enter a function and the integral will be calculated! Post by: Fu-Kwun Hwang on May 22, 2010, 10:42:57 pm The above simulation will calculate $\int_{x_i}^{x_f} f(x) dx$ where $f(x)$ can be any function of xYou need to specify the range of integration $x_i,x_f$The default is $f(x)=sin (a*x)$ to show that user can enter methematic function However, it can be changed to $f(x)=x+0.5*x*x$ or any other form of polynomial. Title: Re: Integrator y= ∫ f(x) dx, enter a function and the integral will be calculated! Post by: ahmedelshfie on May 22, 2010, 11:19:25 pm Now i understand prof yesterday me and teacher of mathematics try understand but  ???How ever prof you the best  :)Thanks