In this problem speed is a function of distance
d = distance
f(d) = speed
now I need to create a second function that phase shifts the original to the left 1/2 mile (basically 1/2 mile of the first function will equal 0 of the second function). The issue I have is with defining the second function, it just doesn't seem right for whatever reason to use the same variable. This is really part of a bigger problem but it's nagging me and I can't continue:
g(d) = f(d - 1/2 mile)
Any one see a problem with this?
another, less clean way, would be:
d = distance
e = distance - 1/2 mi
f(d) = speed
g(e) = speed
but I really dont like that at all.
d = distance
f(d) = speed
now I need to create a second function that phase shifts the original to the left 1/2 mile (basically 1/2 mile of the first function will equal 0 of the second function). The issue I have is with defining the second function, it just doesn't seem right for whatever reason to use the same variable. This is really part of a bigger problem but it's nagging me and I can't continue:
g(d) = f(d - 1/2 mile)
Any one see a problem with this?
another, less clean way, would be:
d = distance
e = distance - 1/2 mi
f(d) = speed
g(e) = speed
but I really dont like that at all.