The Student Room Group

Simpson's rule river flow, someone help me

hi

So i know that river flow is area river cross section multiplied by the velocity

I have data for depth and width

I need to use Simpsons rule to calculate the flow.

I will be using wxmaxima (something like maple/python) to do this


Any idea of the general method?
Im so confused :/
Original post by number23
hi

So i know that river flow is area river cross section multiplied by the velocity

I have data for depth and width

I need to use Simpsons rule to calculate the flow.

I will be using wxmaxima (something like maple/python) to do this


Any idea of the general method?
Im so confused :/


A few questions for you. Do you have to use Maxima? How many depths are you working with? Do you know how to use Simpson's rule, on paper?

If you must use Maxima then you could work it out by putting your depths in a 1 x n matrix and multiply by an n x 1 matrix (1 4 2 4 2 4 2 ....4 1) and multiply the result by h/3.
(edited 9 years ago)
Reply 2
Original post by BuryMathsTutor
A few questions for you. Do you have to use Maxima? How many depths are you working with? Do you know how to use Simpson's rule, on paper?

If you must use Maxima then you could work it out by putting your depths in a 1 x n matrix and multiply by an n x 1 matrix (1 4 2 4 2 4 2 ....4 1) and multiply the result by h/3.


Its a soecific assignment where I have to use wxmaxima

I am much more familiar with maple and am okay with wxmaxima

I need to use the 'block' function, have u got any idea about it?

Cheers
Original post by number23
Its a soecific assignment where I have to use wxmaxima

I am much more familiar with maple and am okay with wxmaxima

I need to use the 'block' function, have u got any idea about it?

Cheers


Sorry, I've only ever used Maxima at a fairly basic level and I've never used block.

Quick Reply

Latest