Hi,sorry for my bad english;
Let f[x_]=x^2
I want to integrate numerically this function,by Trapezoidal approach on interval[0,10] and my solution is like this
xold=0;h=0.01;xnew=h;sumution=0;While[xnew<10,sumution=sumution+h/2*(f[xold]+f[xnew]);
xold=xnew;xnew=xnew+h];Print[sumution]
This code gives me alist of datas and I want to plot this datas versus x;how can I do this?plz help me
1
Expert's answer
2011-07-20T12:29:05-0400
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment