1
vote
1answer
8 views

Natural cubic spline interpolation - check and suggest better way

I was given the following interpolation nodes: $(0,10),(\frac{1}{2},8),(1,5),(2,2),(3,1)$ and I was asked to find the natural cubic spline interpolation between every 2 points. I want to show you ...
0
votes
0answers
37 views

How can I cleverly use the error term of polynomial interpolation?

Let $f(x):=x^2$. We're interested in the closed form of the error $|I(f)-T_n(f)|$ where ...
3
votes
1answer
28 views

Optimal way to find derivative - numerically

Suppose we are given points $x_0,x_1,x_2$ evenly spaced points $(x_0-x_1=x_1-x_2)$, and $u(x_1),u(x_2),u(x_3)$ Where $u$ is some function. Find the best way to approximate $u''(x)$ using only the ...
4
votes
0answers
115 views

Could $4+2+4+2+4+2+\cdots = -1 $?

In physics classes, on this StackExchange and even in blogs the sum $1 + 2 + 3 + 4 + \cdots = - \frac{1}{12} $ has been under the microscope. Why does $1+2+3+\dots = {-1\over 12}$? The ...
0
votes
2answers
50 views

How can I find the gradient of this function? $f(r,t)=r^3\cos(t).$

$$f(r,t)=r^3\cos(t).$$ Is it not like this: $<3r^2,-\sin(t)>$
0
votes
1answer
226 views

Calculating Log-likelihood using Raphson and Jacobian matrices?

I am reading the following paper: http://www.ntuzov.com/Nik_Site/Niks_files/Research/papers/stat_arb/Ahmed_2009.pdf and in particular page 13. I want to try and calculate lambda_t(p) = exp^(Beta^T ...
2
votes
0answers
55 views

Smooth detour from one function to another

Suppose I am given two smooth functions $f$ and $g$ on the real line and real numbers $a<b$ such that $f(a)<g(b)$ and $f'(a),g'(b)\ge0$ I want to get a smooth $H:\mathbb R\rightarrow\mathbb R$ ...
1
vote
1answer
88 views

interpolation question. From MyMaxScore free AP BC Calculus exam.

First, I disagree with the answer sheet. That is why I am posting this question here. The question: Part B, Question 3a. The answer given (Sorry for the picture being so small). I know ...
0
votes
1answer
280 views

Derivative of a function defined by the divided difference of another function.

Given a function $f$ of class $C$ $^{n+2}$ in an interval $[a,b]$ and $x_{0}=a<x_1<x_2 ... <x_n = b$ a subdivision of $[a,b]$ into $n+1$ points. Given another function $g$ defined in the ...
1
vote
1answer
384 views

A problem on Lagrange interpolation polynomials

Based on a previous question, I had the following conjecture and was wondering if anyone knew how to prove it or find a counterexample. Consider the polynomial $$ ...
4
votes
1answer
759 views

Remainder term of Lagrange Interpolation Polynomial

Suppose $x_0,x_1,\ldots,x_n$ are $n+1$ distinct numbers in the interval $[a,b]$ and $f\in C^{n+1}[a,b]$. Then for each $x$ in $[a,b]$, there is a number $\xi$ in $(a,b)$ such that $$f(x) = P(x) + ...
0
votes
1answer
104 views

Interpolation over trajectory at set positions on path

I have the following: 2d vector for velocity 2d start coordinate gravity acceleration I need to know the coordinate of a projectile at a given distance along the trajectory. For example: ...
2
votes
3answers
227 views

creating smooth curves with f(0) = 0 and f(1) = 1

I would like to create smooth curves, which have f(0) = 0 and f(1) = 1. What I would like to create are curves similar to the gamma curves known from CRT monitors. I don't know any better way to ...
1
vote
3answers
1k views

Smooth transition between two lines (2d)

I have function that is defined as $$ Y = \frac{1}{15} x \longrightarrow {\rm if}\qquad 0 \leq x \leq 30 $$ $$ Y = \frac{1}{70} x + \frac{11}{7} \longrightarrow {\rm if}\qquad x > 30 $$ The ...