7的2011次方的十位数?
7的2011次方的十位数是4,
我是用EXCEL的VBA计算了,科学记数法为3.1056926101207267847872863380315e+1699全部结果有1700位,如下:
程序如下:
Sub 宏1()
Application.ScreenUpdating = False
Application.DisplayAlerts = False
m = 7 '3的2 4038/2=2019
n = 2011 'n次方
w = 189 '预算结果9位单元格数
j = 2 '从第二行,乘第二次开始计算
Cells(1, w) = m '放置基数
Do While j <= n '
For i = w To 1 Step -1
Cells(j, i) = Cells(j - 1, i) * m
Next
For i = w To 2 Step -1
a = Int(Cells(j, i) / 1000000000)
b = Cells(j, i) - a * 1000000000
Cells(j, i) = b
Cells(j, i - 1) = Cells(j, i - 1) + a
Next
j = j + 1
Loop
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub