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: small c, need write code, dx, create matlab file, found log files, numerically, within matlab, problem parameter, cpu time, matlab error, create error log file, small matlab, urgent recipes, quadrature matlab, matlab integration, function matlab, matlab function, integration matlab, need facebook urgent, urgent store small buseness, matlab compare, need pva urgent, need poster urgent, matlab hours, need website urgent

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)