|
1. In numerical simulation algorithms, the problem of generating a numerical sequence that conforms to a normal random distribution is often used. Find information online and write a VB program to generate a normal numerical sequence with a mean of 100 and a variance of 20.
2. Using a two-dimensional array, write a general program that uses the elimination method to solve multivariate linear equations (once when programming is five yuan).
3. Programmatically solve one of the twelve questions of "Major Surplus" in Volume Seven of Ancient Mathematical Masterpiece "Nine Chapters of Arithmetic" and check the calculation results on the computer:
There is a wall five feet thick today, and the two rats are facing each other. Rats are one foot a day, and mice are one foot a day. Rats are doubled daily, and mice are half daily. Ask Geometry Day? Each wears geometry?
荅 said: two days, two of seventeen minutes. Rats wore three feet four inches and twelve 17 centimeters, and mice wore one foot five inches and seventeen centimeters.
4. Goldbach conjecture: (a) Any even number ≥ 6 can be expressed as the sum of two odd prime numbers. (b) Any odd number ≥ 9 can be expressed as the sum of three odd prime numbers. This famous mathematical problem has attracted the attention of thousands of mathematicians in the world. 200 years have passed and no one has proven it. Goldbach conjectured that this would become an elusive "pearl" in the crown of mathematics. The best current result was proved by Chinese mathematician Chen Jingrun in 1966, called Chen's Theorem. "Any even large number is the sum of a prime number and a natural number, and the latter is just two prime numbers The product of "" is usually abbreviated to this result as a large even number that can be expressed as "1 + 2". Trial programming to verify Chen's theorem, that is, input (> = 6) an arbitrarily large even number and use trial and error to verify that it can be decomposed into a sum of the product of a prime number and two prime numbers. If there is no solution, it indicates that Chen's theorem is not there. End.
Oh, see if there are any masters :) |
|