Urgent a Small C or C++ Class Assignment Need to Be done within 20 hours - Repost - repost - Repost

This is a small assignment which can be done within 1 hours by professionals. The details are as follows: (required information an files can be found in attachment)

1. This problem asks you to use C or C++ to numerically integrate the function

∫x1 x=x0

(a/x + bx2 − ex /√x)dx

for a = 2, b = 10, x0 = 1 and x1 = 5. Compare the routinestrapzdandqsimpfrom Numerical Recipes in C. If you prefer to use NR in C++, the file quadrature.h contains Trapzd and qsimp. For the two integration methods, create a table of results of the log of the absolute error versus CPU time as the integration accuracy parameter is changed. The exact value of the integral is 342.681288444693835. Plot the results using MATLAB, i.e., have your C code write the table of results to a file, and have MATLAB read the file and plot the results.

Habilidades: Programação C, Programação C++

Ver mais: the assignment problem, problem assignment, c versus c++, c code for assignment problem, assignment problem in or, small C, need to write code, dx, create matlab file, c or c, c c++ c#, c and c++, c and c ++, time class, found log files, numerically, class log found, within matlab, problem parameter, urgent assignment, medical writer corrections assignment urgent repost, cpu time, matlab error, create error log file, small matlab

Acerca do Empregador:
( 0 comentários ) India

ID do Projeto: #5103128

1 freelancer está ofertando em média £30 para este trabalho


Hired by the Employer

£30 GBP em 1 dia
(409 Comentários)