hey guys 
can someone please help me?
i know i have to do a simultaneous equation ...and ive gotton upto
8=3a+2b+c
-24=-6a+2b
y=-1a+b-c+5
i don't know if they are completely right...anyway the question is below:
The curve y=ax3+bx2+cx+5 passes through the point P (-1,4) and at the point P the first and second derivatives of the curve are 8 and -24 respectively. Find the values of the constants a,b and c
the answers are a=5, b= 3 and c=-1
thankyou 
Erm, definitely an issue in your solutions, sorry man. The first equation doesn't work (using the given solution, 3*5+2*3+1=15+6+1=22, not

, and the third still has y in it.
First, using P(-1,4), we get:
4=a(-1)^3+b(-1)^2+c(-1)+5
-1=-a+b-c <====> 1=a-b+c (same equation, just easier to write) (I'm guessing this is the third equation?)
Second, diff once, getting:
dy/dx = 3ax^2+2bx+c
Then, using the gradient at x=-1, we get:
8=3a(-1)^2+2b(-1)+c
8=3a-2b+c (I think this is what you wanted for the first equation?)
Third, diff again, getting:
d^2y/dx^2=6ax+2b
Then, using the gradient of the gradient at x=-1, we get:
-24=-6a+2b <====> 12=3a-b (yay! Second was all good)
Now, we attempt to solve the following system of equations:
1=a-b+c (1)
8=3a-2b+c (2)
12=3a-b (3)
First thing I'll do is take (1) from (2), so that we lose c:
(2)-(1):
8-1=(3a-a)+(-2b+b)+(c-c)
7=2a-b (4)
Now, we solve this by taking (3)-(4):
12-7=(3a-2a)+(-b+b)
5=a
And so we have a! Now, substitute into (3) or (4) and get:
7=2(5)-b
b=10-7=3
And now we have b! Sub into any other equation, and get:
1=5-3+c
c=1-2=-1
So, a=5, b=3, c=-1
What was my logic here?I honestly just did random elimination things until they worked. You could also do random substitution things until they work. The reason I could get to the answer so quickly is no trick - just practice. I've been doing stuff like this for three years, after all. Don't worry - VCAA are very unlikely to ask you to solve for three variables without a CAS, and if they do, it'll be worth 2+ marks (I'd imagine), so it would be okay to spend a bit of extra time on them.