Hi,
The 3rd order polynomial trendline equation is:
y = (c3 * x^3) + (c2 * x^2) + (c1 * x^1) + b
Hence with your data in A1:D8 with row 1 being the column labels.
The Excel formulae are:
c3:
=INDEX(LINEST($B$2:$B$8,$A$2:$A$8^{1,2,3}),1)
c2:
=INDEX(LINEST($B$2:$B$8,$A$2:$A$8^{1,2,3}),1,2)
C1:
=INDEX(LINEST($B$2:$B$8,$A$2:$A$8^{1,2,3}),1,3)
b:
=INDEX(LINEST($B$2:$B$8,$A$2:$A$8^{1,2,3}),1,4)
These give the results
C3: 1.64931E-10
C2: -1.02154E-06
C1: 0.002883531
b: 2.191774396
and plugging these into the trendline equation with a discharge of 40m3/s gives the result for depth of 2.305 and velocity of 0.204
Note for the velocity calc remember to change the B2:B8 reference to D2:D8
HTH
Bookmarks