【Vb94】VB请分别用二分之一法则牛顿法利用(Function)指令求方程式x^3-202...
答案:2 悬赏:10 手机版
解决时间 2021-02-12 14:32
- 提问者网友:遮云壑
- 2021-02-12 10:20
【Vb94】VB请分别用二分之一法则牛顿法利用(Function)指令求方程式x^3-202...
最佳答案
- 五星知识达人网友:罪歌
- 2021-02-12 11:22
【答案】 为了这个问题我专意下载了vb2005,把vb6的问题翻译到vb2005,不是想象中的那么难翻译,你要努力啊
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim x As Double, y0 As Double, y As Double, cs As Integer, x0 As Double, jie As Double
x = -50
y0 = x ^ 3 - 202.24 * x ^ 2 + 1136.47 * x + 133336.94
For x = -50 To 200
y = x ^ 3 - 202.24 * x ^ 2 + 1136.47 * x + 133336.94
If y0 * y
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim x As Double, y0 As Double, y As Double, cs As Integer, x0 As Double, jie As Double
x = -50
y0 = x ^ 3 - 202.24 * x ^ 2 + 1136.47 * x + 133336.94
For x = -50 To 200
y = x ^ 3 - 202.24 * x ^ 2 + 1136.47 * x + 133336.94
If y0 * y
全部回答
- 1楼网友:山君与见山
- 2021-02-12 11:40
感谢回答
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯