VB上机题用多项式求出圆周率的近似值Private Sub Form_click()p1 = 1p2 = 1p3 = p1i = 1Do While p3 > 0.0000001 *p2 = (-1) * p2p3 = p2 / (i + 1) *p1 = p1 + p2 *i = i + 1LoopPrint p1 * 4End Sub打*号的又错,求改正!

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/20 17:50:19
xRMO@+RcmQOLLhIlD7jԆ@L$4Ɠ%nK[i^dvfgvޛ uej۵p޷iƵ\l8Wz-{RV]ϧ`y' zv{-֒[\0 "EF9V7t HPdx 4hXfQ"93tcヌS\'r~}SYHY0,a\)p=PrPFO}Z_vgYbo?/%ChZ3 G5qH@{}l\; Ou+nIl#nPF#;а:wxyI.!3*m