早教吧 育儿知识 作业答案 考试题库 百科 知识分享

想在威纶触摸屏上进行计算,计算中有小数,可是计算结果总是不对,能帮忙看下么,下面是宏指令:macrocommandmain()floata[6]GetData(a[0],"MITSUBISHIFX2n",D,500,1)GetData(a[1],"MITSUBISHIFX2n",D,501,1)GetData(a[2],"M

题目详情
想在威纶触摸屏上进行计算,计算中有小数,可是计算结果总是不对,能帮忙看下么,下面是宏指令:
macro_command main()
float a[6]
GetData(a[0],"MITSUBISHI FX2n",D,500,1)
GetData(a[1],"MITSUBISHI FX2n",D,501,1)
GetData(a[2],"MITSUBISHI FX2n",D,502,1)
a[3]=3.141592653
a[4]=a[1]*a[1]*(a[0]*a[0]+36*a[3]*a[3]*a[2]*a[2])/(4*a[3]*a[3]*a[0]*a[0]*a[2]*a[2])
SQRT(a[4],a[5])
SetData(a[3],"MITSUBISHI FX2n",D,503,1)
SetData(a[4],"MITSUBISHI FX2n",D,504,1)
SetData(a[5],"MITSUBISHI FX2n",D,505,1)
end macro_command
▼优质解答
答案和解析
参考答案13.很多快乐和回忆就是那样的不可复制.珍惜眼前拥有的是不是太重要了.