JPeter
  • Member for 5 years, 4 months
  • Last seen more than 2 years ago
Is there any function that does a linear interpolation using lists?
Accepted answer
4 votes

As our friend @Shadowray said in the comments data = {{161 + 15, 0}, {x1, 525 - 18}, {103.4, 525}}; Rescale[ data[[2, 2]], {data[[1, 2]], data[[3, 2]]}, {data[[1, 1]], data[[3, 1]]}] 105.889 ...

View answer
Determining arithmetic progression using constraints
Accepted answer
2 votes

lista = NestList[# + r &, a1, 20 - 1] Solve[lista[[3]] + lista[[6]] == 34 && lista[[4]] + lista[[9]] == 50, {r, a1}] /. Rule -> Set novalista = NestList[# + r &, a1, 20 - 1]

View answer