68 237
Assignments Done
99%
Successfully Done
In November 2018

Answer to Question #3620 in MatLAB | Mathematica | MathCAD | Maple for nasir

Question #3620
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
Expert's answer
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&#039;ll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions