⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 一元曲线逆合.frm

📁 饮羽公路测设(glcs) 由20多个公路测量、设计、试验和施工组织设计等小软件组成。如《中桩大地坐标》可以计算不等长缓和曲线的中桩和边桩的大地坐标;《缓和曲线反算》可以根据切线长、外距长或缓和曲线长求
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{D76D7130-4A96-11D3-BD95-D296DC2DD072}#1.0#0"; "VSFLEX7D.OCX"
Begin VB.Form frmyyqxnh 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "一元曲线拟合"
   ClientHeight    =   4980
   ClientLeft      =   45
   ClientTop       =   345
   ClientWidth     =   7125
   Icon            =   "一元曲线逆合.frx":0000
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4980
   ScaleWidth      =   7125
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command3 
      Caption         =   "推测"
      Height          =   375
      Left            =   3240
      TabIndex        =   22
      Top             =   4560
      Width           =   855
   End
   Begin VB.Frame Frame4 
      Caption         =   "推测数据"
      Height          =   615
      Left            =   3240
      TabIndex        =   19
      Top             =   3840
      Width           =   3855
      Begin VB.TextBox Text3 
         Height          =   270
         Left            =   2040
         TabIndex        =   21
         Text            =   "Text3"
         Top             =   240
         Width           =   1695
      End
      Begin VB.Label Label3 
         Caption         =   "原始数据Xi="
         Height          =   255
         Left            =   120
         TabIndex        =   20
         Top             =   240
         Width           =   1215
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "计算结果"
      Height          =   3135
      Left            =   3240
      TabIndex        =   17
      Top             =   680
      Width           =   3855
      Begin VB.ListBox List1 
         Height          =   2760
         Left            =   120
         TabIndex        =   18
         Top             =   240
         Width           =   3615
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "曲线公式"
      Height          =   1575
      Left            =   0
      TabIndex        =   16
      Top             =   3360
      Width           =   3135
      Begin VB.OptionButton Option8 
         Caption         =   "y=c*〔1-e^(a*b-b*x)〕"
         Height          =   255
         Left            =   120
         TabIndex        =   10
         Top             =   1200
         Width           =   2190
      End
      Begin VB.OptionButton Option7 
         Caption         =   "y=c/(1+e^(a+b*x))"
         Height          =   255
         Left            =   120
         TabIndex        =   9
         Top             =   960
         Width           =   1935
      End
      Begin VB.OptionButton Option6 
         Caption         =   "y=x/(a*x+b)"
         Height          =   255
         Left            =   1440
         TabIndex        =   8
         Top             =   720
         Width           =   1335
      End
      Begin VB.OptionButton Option5 
         Caption         =   "y=a+b*ln(x)"
         Height          =   255
         Left            =   120
         TabIndex        =   7
         Top             =   720
         Width           =   1335
      End
      Begin VB.OptionButton Option4 
         Caption         =   "y=a*e^(b/x)"
         Height          =   255
         Left            =   1440
         TabIndex        =   6
         Top             =   480
         Width           =   1335
      End
      Begin VB.OptionButton Option3 
         Caption         =   "y=a*e^(bx)"
         Height          =   255
         Left            =   120
         TabIndex        =   4
         Top             =   480
         Width           =   1215
      End
      Begin VB.OptionButton Option2 
         Caption         =   "y=a*x^b"
         Height          =   255
         Left            =   1440
         TabIndex        =   5
         Top             =   240
         Width           =   1095
      End
      Begin VB.OptionButton Option1 
         Caption         =   "y=a+b*x"
         Height          =   255
         Left            =   120
         TabIndex        =   3
         Top             =   240
         Width           =   1095
      End
   End
   Begin VB.CommandButton Command2 
      Caption         =   "关闭"
      Height          =   375
      Left            =   6240
      TabIndex        =   12
      Top             =   4560
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Caption         =   "计算"
      Height          =   375
      Left            =   5280
      TabIndex        =   11
      Top             =   4560
      Width           =   855
   End
   Begin VSFlex7DAOCtl.VSFlexGrid VSFlexGrid1 
      Height          =   2535
      Left            =   0
      TabIndex        =   1
      Top             =   765
      Width           =   3135
      _cx             =   5530
      _cy             =   4471
      _ConvInfo       =   1
      Appearance      =   1
      BorderStyle     =   1
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      MousePointer    =   0
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      BackColorFixed  =   -2147483633
      ForeColorFixed  =   -2147483630
      BackColorSel    =   -2147483635
      ForeColorSel    =   -2147483634
      BackColorBkg    =   14737632
      BackColorAlternate=   -2147483643
      GridColor       =   -2147483633
      GridColorFixed  =   -2147483632
      TreeColor       =   -2147483632
      FloodColor      =   192
      SheetBorder     =   -2147483642
      FocusRect       =   3
      HighLight       =   1
      AllowSelection  =   -1  'True
      AllowBigSelection=   -1  'True
      AllowUserResizing=   3
      SelectionMode   =   0
      GridLines       =   1
      GridLinesFixed  =   2
      GridLineWidth   =   1
      Rows            =   2
      Cols            =   3
      FixedRows       =   1
      FixedCols       =   1
      RowHeightMin    =   0
      RowHeightMax    =   0
      ColWidthMin     =   0
      ColWidthMax     =   0
      ExtendLastCol   =   0   'False
      FormatString    =   ""
      ScrollTrack     =   0   'False
      ScrollBars      =   3
      ScrollTips      =   0   'False
      MergeCells      =   0
      MergeCompare    =   0
      AutoResize      =   -1  'True
      AutoSizeMode    =   0
      AutoSearch      =   0
      AutoSearchDelay =   2
      MultiTotals     =   -1  'True
      SubtotalPosition=   1
      OutlineBar      =   0
      OutlineCol      =   0
      Ellipsis        =   0
      ExplorerBar     =   0
      PicturesOver    =   0   'False
      FillStyle       =   0
      RightToLeft     =   0   'False
      PictureType     =   0
      TabBehavior     =   0
      OwnerDraw       =   0
      Editable        =   2
      ShowComboButton =   -1  'True
      WordWrap        =   0   'False
      TextStyle       =   0
      TextStyleFixed  =   0
      OleDragMode     =   0
      OleDropMode     =   0
      DataMode        =   0
      VirtualData     =   -1  'True
      ComboSearch     =   3
      AutoSizeMouse   =   -1  'True
      FrozenRows      =   0
      FrozenCols      =   0
      AllowUserFreezing=   3
      BackColorFrozen =   0
      ForeColorFrozen =   0
      WallPaperAlignment=   9
   End
   Begin VB.Frame Frame1 
      Caption         =   "原始数据"
      Height          =   615
      Left            =   0
      TabIndex        =   13
      Top             =   40
      Width           =   7095
      Begin VB.TextBox Text2 
         Height          =   270
         Left            =   5760
         TabIndex        =   2
         Text            =   "Text2"
         Top             =   240
         Width           =   1215
      End
      Begin VB.TextBox Text1 
         Height          =   270
         Left            =   1440
         TabIndex        =   0
         Text            =   "Text1"
         Top             =   240
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "常数Yc="
         Height          =   255
         Left            =   5040
         TabIndex        =   15
         Top             =   280
         Width           =   735
      End
      Begin VB.Label Label1 
         Caption         =   "实验数据数目="
         Height          =   255
         Left            =   120
         TabIndex        =   14
         Top             =   280
         Width           =   1335
      End
   End
End
Attribute VB_Name = "frmyyqxnh"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim xa(), ya() As Double
Dim md As Integer
Dim x, y, yc As Double
Dim z, a, b, c, d As Double



Private Sub Command1_Click()
'计算

    On Error GoTo handlerror

    m = Val(Text1.Text)
    ReDim xa(m), ya(m)
    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -