论文部分内容阅读
本文的目的是运用数学软件Mathcad编写解有关等比数列问题的程序.为此,需详细阐明编程的算法根据和算法分析;程序的编写和调用.本文还介绍了一些编程技巧,尽可能的给出等比数列的各个项.1 算法的理论根据 对于任意一个等比数列; 首项α1末项αn,公比q,项
The purpose of this paper is to use mathematics software Mathcad to write a program to solve the problem of geometric progression. To do this, it is necessary to elaborate on the algorithmic basis and algorithmic analysis of the programming; the preparation and invocation of the program. This article also introduces some programming techniques to give as many items as possible to the array. 1 The theoretical basis of the algorithm For any one of the geometric series; The first term α1, the last term αn, the common ratio q, the term