View Single Post
Old Apr 25th, 2006, 9:41 PM   #1
enjoikr3w
Newbie
 
Join Date: Apr 2006
Posts: 1
Rep Power: 0 enjoikr3w is on a distinguished road
Help! linear interpolation

Guys i need to make a program in visual basic.NET for homework that uses a GUI interface to do simple linear interpolation. The problem is i am a complete noob when it come to programming. I have the GUI made already but i dont know how to code everything else. This is the link for the homework assignment
HOMEWORK

Now I dont want yall to do it for me but can yall point me in the right direction? This is what i have so far.

Public Class Form1
    Inherits System.Windows.Forms.Form
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim Lx, Nx, Hx, Ly, Ny, Hy, LxLy, LxHy, HxLy, HxHx, rx1, rx2, ans As Single
        Lx = CSng(txtLX.text)
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class
enjoikr3w is offline   Reply With Quote