mathematica,初学者的问题[Pi] has a run of six consecutive 9's in the first 1000 digits.Can you see where they are located?(One way to find the location is to convert the number to a string [using ToString],drop the leading 3.[using StringDrop]
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 08:25:10
mathematica,初学者的问题[Pi] has a run of six consecutive 9's in the first 1000 digits.Can you see where they are located?(One way to find the location is to convert the number to a string [using ToString],drop the leading 3.[using StringDrop]
mathematica,初学者的问题
[Pi] has a run of six consecutive 9's in the first 1000 digits.Can you see where they are located?(One way to find the location is to convert the number to a string [using ToString],drop the leading 3.[using StringDrop] and locating the position of the string "999999" [using StringPosition]).[3 Marks]
mathematica,初学者的问题[Pi] has a run of six consecutive 9's in the first 1000 digits.Can you see where they are located?(One way to find the location is to convert the number to a string [using ToString],drop the leading 3.[using StringDrop]
StringPosition[StringDrop[ToString[N[Pi,1000]],3],"999999"]
照英文的意思