CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

# Search:

Type: Posts; User: jpetrilli

1. ## Thread: graph polynomial using 2d array

by jpetrilli
Replies
4
Views
1,452

### Re: graph polynomial using 2d array

The declarations at the top of the function, that is just a requirement by my teacher.

As for the y[j++], I wanted it to do what you rewrote the code to do.

Thanks for your help so far I will...
2. ## Thread: graph polynomial using 2d array

by jpetrilli
Replies
4
Views
1,452

### graph polynomial using 2d array

So here is the assignment given...

Use only one function, main for this program. Calculate the values of y based on values of x
from −10≤x≤10 by increments of 0.5. Store the x values in a...
3. ## Thread: I need help with for loops

by jpetrilli
Replies
6
Views
1,058

### Re: I need help with for loops

Yes, I used that function I just had to declare 2 accumulators I guess that was my problem.

Does anyone know how to get the zeros on those answers to show up to 20 decimal places?
4. ## Thread: I need help with for loops

by jpetrilli
Replies
6
Views
1,058

### Re: I need help with for loops

I got my program to do the summations, but I cannot figure out how to do the absolute value of the two differences of the sums. Any ideas?
5. ## Thread: I need help with for loops

by jpetrilli
Replies
6
Views
1,058

### I need help with for loops

Ok here is the assignment my instructor gave me:

A cancellation error occurs when you are manipulating a very large number with
a very small number. The large number may cancel out the smaller...
Results 1 to 5 of 5