I'm trying to figure out a code in Excel's VBA (visual basic, excel's macro programming thing) that will take input from an excel spreadsheet and perform the Simpson's Rule on a quadratic function. Ex: Take a,b,c as input from the spreadsheet (for the quadratic ax^2+bx+c=0) It also has to take the upper limit and lower limits of the integral (A=0, B=5) and the number of integers to use (n=100, etc) from the spreadsheet and give the answer as output on the spreadsheet.
I know this probably sounds confusing, but I could really really use some help with this, I figured out the traprule already, just have no clue about the Simpson's Rule. Thanks!
I am working in php I have problem with numerical methods
I am a MCA student.
I am developing a site for maths in which I am implementing the numerical methods I have code for trapezoidal,simpsons1/3rd,simpsons3/8th rule in c but I want to convert it into PHP.Can you give me a solution .
Actually I have written this code in PHP but its not working.I am not getting the proper solution will you please help me.
Thanks and Regards,