模式/序列公式
如果您有这样的模式 5、7、12、20、31、45,并且这些是函数的输出,其中 F(0) = 5、F(1) = 7 等等,那么该函数是什么?我发现序列中数字之间的差异以 3 为增量,因此我想出了 (3x+2),但我不太确定如何将其与其余数据结合起来以创建一个适合的函数数据。这是一道数学题,但却是我计算机逻辑课的练习。
任何帮助将不胜感激,并提前致谢!
If you have this pattern 5, 7, 12, 20, 31, 45, and those are the outputs of a function where F(0) = 5, and F(1) = 7 and so on, what is the function? I figured out that the differences between the numbers in the sequence progress in increments of 3 so I came up with (3x+2) but I'm not quite sure how to combine that with the rest of the data to make a function that fits the data. This is a math problem, but it is an exercise for my computer logic class.
Any help would be greatly appreciated, and thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你已经接近正确的轨道了。
d/dx = 3x + b
F(x) = (3/2)x2 + bx + c
代入值,b 为 1/2,c 为 5
所以:
You were close to the right track.
d/dx = 3x + b
F(x) = (3/2)x2 + bx + c
Plugging in values gives 1/2 for b and 5 for c
So: