Pseudocode for N-Variable System Linear Equation (for VB2008)

   

  • Identify Output
    x1, x2, x3, ………, xn
     
  • Determine Input
    b1, b2, b3, ………, bn
    a11, a12, a13, ………., a1n
    a21, a22, a23, ………., a2n
    ………………
    an1, an2, an3, ………., ann
     
  • Determine Process
    Declare n as Integer
    Input value of n
    Declare a(1 to n,1 to n), b(1 to n), DetD, DetDx(1 to n), x(1 to n) As Double
    Declare temp(1 to n) As Double
    Declare i, j As Integer
     
    For i=1 to n increased by 1
       For j=1 to n increased by 1
          input value of a(i, j)
       End For
       input value of b(i)
    End for
     
    DetD = CalculateDet (n, a)
    …………………………………………………………………………………………..

អានលម្អិតខាងក្រោម
http://www.krookroo.com/programming-languages/ms-visual-basic-20052008/92-it-vb9-9.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: