Is this a calculator programming assingment?
Define your function:
Define your steps:
Define your step size:
Select: Left (0) or Right (1): Side = 1 -- I picked "Right"
Code the summation:
The velocity of a honey bee as it flies from the hive to a grove of flowering Ohia trees is given by the equation
v(t) =2·t·COS(t/12) + t·(t - 30)^2/(10) meters per minute. It takes 31 minutes for the bee to make the trip, time interval is [0,31].
Use a Riemann sum of 1500 pieces to approximate the integral of v(t) on the interval [0,31]. What does this represent?
Ok. I know that a Riemann sum is a right hand or left hand average or any number of methods of averaging. How in the world could I do a Riemann sum of 1500 pieces! This seems like it should be done using an applet but all the applets I’ve seen are not able to handle functions with more than one x value.
The TI-84 can handle what I have described.
You must know:
1) How to define a function.
2) How to store a few variables.
3) How to create a loop / index.
Really, it is very basic programming. It will be a good first project if you've never done it.
If you are really sharp, you will define the program so that you can change the function, the end poiints, and the number of steps from storage input variables.