Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.

Get a Professional Answer

Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.

100% Satisfaction Guarantee

Rate the answer you receive.

Ask R.R. Jha Your Own Question

R.R. Jha, Tutor

Category: Homework

Satisfied Customers: 5471

Experience: B.Tech

20870358

Type Your Homework Question Here...

R.R. Jha is online now

Need help fixing C code for a project. I need to put solutions

This answer was rated:

★★★★★

Need help fixing C code for a project. I need to put solutions for 3 variables in one array instead of 3 separate ones. Also, I need help getting the correct values for an integral function using the array results.

For Simpson's Rule, the first equation in the wikipedia article gives what is going on and it needs to be integrated from a=0 to b=15 with steps of 0.1, so 150 total points. I'm assuming the Simpson function needs to use a loop and the array value for y instead of y_new4. The values for the integral also need to be stored in an array, he said.

I've the values in 4 x n array, as reads the extra guidance from instructor. I'll review the Simpson's rule and let you know. I'll also modify the program to use the loop for est equations.