I’m currently working on a coding project where I’m given the the net force acting on an object at any time $t$ (meaning I essentially have its acceleration). I know the object’s current position and I want to move it accordingly as a result of that force very gradually. I have a variable, say $x$ (position), and a function $a(t)$ (acceleration). Now, to calculate its position at $t+h$ (for a very small $h$, and then repeat this process), would I essentially add $ah^2$ to $x$ to get the new $x$? The second antiderivative of acceleration with respect to time is $0.5t^2$, so I’m a bit confused. And I tried to find online double Riemann Sums, yet the online double Riemann Sums are for two independent indices of integration $x, y$ whereas I have $t, t$. Could you please clarify the correct value to add?
2026-04-01 22:40:52.1775083252
Using Riemann sums to approximate the second antiderivative
45 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in INTEGRATION
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- How to integrate $\int_{0}^{t}{\frac{\cos u}{\cosh^2 u}du}$?
- Show that $x\longmapsto \int_{\mathbb R^n}\frac{f(y)}{|x-y|^{n-\alpha }}dy$ is integrable.
- How to find the unit tangent vector of a curve in R^3
- multiplying the integrands in an inequality of integrals with same limits
- Closed form of integration
- Proving smoothness for a sequence of functions.
- Random variables in integrals, how to analyze?
- derive the expectation of exponential function $e^{-\left\Vert \mathbf{x} - V\mathbf{x}+\mathbf{a}\right\Vert^2}$ or its upper bound
- Which type of Riemann Sum is the most accurate?
Related Questions in RIEMANN-SUM
- Which type of Riemann Sum is the most accurate?
- How to evaluate a Riemann (Darboux?) integral?
- Hint required : Why is the integral $\int_0^x \frac{\sin(t)}{1+t}\mathrm{d}t$ positive?
- Method for evaluating Darboux integrals by a sequence of partitions?
- How to tell whether a left and right riemann sum are overestiamtes and underestimates?
- Calculating an integral using the limit definition
- How to express a Riemann sum as a definite integral
- Proof of $\int_{a}^{a} f(x)dx = 0$
- A confusion about the proof of Darboux Criterion
- $\int _0^ax\left(1-\frac{x}{a}\right)dx\:$ using Riemann Sums
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Well, what you would want to do ideally is create a new variable $v(t)=v(0)+\int^t_0 a(t')\,dt'$, and approximate $v(t)$ using Riemann sums. We know that $x(t)=\int^t_0 v(t')\,dt'$, so we can then use Riemann summation of $v$ to estimate $x$. That being said, if you don't know $v(0)$ then there is no way to calculate the position.
We can do this explicitly with variables. Suppose we know the values of $x, v, a$ at $t=0$. We also know $a(n\Delta t)$, where $n\in\mathbb{N}$. Then, using trapezoidal rule, we can estimate $v(t)$:
\begin{align*} v(n\Delta t)&\approx v(0)+\frac{a(0)+a(\Delta t)}{2}\Delta t+\frac{a(\Delta t)+a(2\Delta t)}{2}\Delta t+\cdots+\frac{a((n-1)\Delta t)+a(n\Delta t)}{2}\Delta t\\ &=v(0)+\Delta t\left[\frac{a(0)}{2}+a(\Delta t)+a(2\Delta t)+\cdots+a((n-1)\Delta t)+\frac{a(n\Delta t)}{2}\right]\\ &=v(0)+\Delta t\left[\frac{a(0)+a(n\Delta t)}{2}+\sum^{n-1}_{i=1}a(i\Delta t)\right] \end{align*}
Similarly, we can approximate $x(n\Delta t)$:
\begin{align*} x(n\Delta t)&\approx x(0)+\frac{v(0)+v(\Delta t)}{2}\Delta t+\frac{v(\Delta t)+v(2\Delta t)}{2}\Delta t+\cdots+\frac{v((n-1)\Delta t)+v(n\Delta t)}{2}\Delta t\\ &=x(0)+\Delta t\left[\frac{v(0)}{2}+v(\Delta t)+v(2\Delta t)+\cdots+v((n-1)\Delta t)+\frac{v(n\Delta t)}{2}\right]\\ &=x(0)+\Delta t\left[n\Delta t+\frac{v(1)}{2}+v(\Delta t)+v(2\Delta t)+\cdots+v((n-1)\Delta t)+\frac{v(n\Delta t)}{2}\right]\\ &=x(0)+n\Delta tv(0)+\Delta t^2\left[\frac{(2n-1)a(0)}{4}+(n-1)a(\Delta t)+(n-2)a(2\Delta t)+\cdots+a((n-1)\Delta t)+\frac{a(n)}{4}\right]\\ &=x(0)+n\Delta tv(0)+\Delta t^2\left[\frac{(2n-1)a(0)+a(n)}{4}+\sum^{n-1}_{i=1}(n-i)a(i\Delta t)\right]\\ \end{align*}
If you wanted to use Midpoint rule/Simpson's rule/Euler-Maclaurin formula the expression for the estimate of $x$ would be different.