<SYSTEM_TASK:>
Given the following text problem statement, write Python code to implement the functionality described below in problem statement
<END_TASK>
<USER_TASK:>
Problem:
I have a table of measured values for a quantity that depends on two parameters. So say I have a function fuelConsumption(speed, temperature), for which data on a mesh are known.
<ASSISTANT_TASK:>
Python Code:
import numpy as np
import scipy.interpolate
s = np.linspace(-1, 1, 50)
t = np.linspace(-2, 0, 50)
x, y = np.ogrid[-1:1:10j,-2:0:10j]
z = (x + y)*np.exp(-6.0 * (x * x + y * y))
spl = scipy.interpolate.RectBivariateSpline(x, y, z)
result = spl(s, t, grid=False)
<END_TASK>