搜索资源列表
-
0下载:
This is a program that will let you calculate roots with the Quadratic formula (including complex roots), Factorial of a number, Fibonacci series (and Pascals Triangle still under construction).
-
-
0下载:
计算Fibonacci数列,用户输入第N项,得到该项的数值-Calculate the Fibonacci series, users enter the N to obtain the numerical
-
-
0下载:
这个程序是一个Win32程序,计算Fibonacci斐波纳契数列(一种整数数列, 其中每数等于前面两数之和)。其定义是f(1) = 1,f(2) = 2,并且当n>2时, f(n) = f(n-1) + f(n-2)。源代码种给出了三种计算方法。第一种方法用递归,第二种方法用大数组,第三种方法用小数组。此外,这个程序还具备多线程特性,所以在运算时可以做其它操作。代码用到了以前创建的Win32类。测试为发现bug和内存溢出。--Calculate Fibonacci value.
-
-
0下载:
1.分别编写四个同名函数max1,实现函数重载,在main()函数中测试函数的功能
2.使用函数模板实现求任意类型数的最大值,针对不同的参数个数,编写两个同名函数模板max1,其参数个数不同,实现函数重载,在main()函数中测试函数功能
3.编写递归函数int fib(int n),在主程序中输入n的值,调用fib函数计算Fibonacci级数。公式为fib(n-1)+fib(n-2),n>2 fib(1)=fib(2)=1。使用if语句判断函数的出口,在程序中用cout语句中输
-
-
0下载:
优化的fibonacci数列计算程序,可以较短时间计算出较大的数字-Fibonacci series, optimization program that can calculate the short time a large number of
-
-
0下载:
输入一个数据n,计算斐波那契数列(Fibonacci)的第n个值
1 1 2 3 5 8 13 21 34
规律:一个数等于前两个数之和
//计算斐波那契数列(Fibonacci)的第n个值
-Enter a data n, calculate the Fibonacci series (Fibonacci) of the n-th value of 112,358,132,134 law: a number equal to the previous two numbers
-
-
0下载:
利用递归方式的算法计算斐波那契数列各个项数-Recursively the algorithm to calculate the Fibonacci series of various number of items
-
-
0下载:
利用递归算法计算斐波那契数列的n项的值,-Recursive algorithm to calculate the Fibonacci series, the value of n items
-
-
0下载:
写一个MATLAB函数fibo.m来计算Fibonacci数列,其定义如下: fibo(n+2)=fibo(n+1)+fibo(n) 此数列的初始条件如下:fibo(1)=0,fibo(2)=1。-Fibo.m write a MATLAB function to calculate the Fibonacci sequence, which is defined as follows: fibo (n+2) = fibo (n+1)+fibo (n) the initial conditio
-
-
0下载:
用递归也能算fibonacci数 可用 tic,fib(10),toc查看运算时间-Using a recursive also can calculate the Fibonacci number of available tic, FIB (10), TOC to view the operation time
-