1 / 26

Visual Basic Programming Using Excel

Visual Basic Programming Using Excel. September 12, 2006. What Programming Will Do. Make a good engineer better Make a bad engineer worse by magnifying his/her ineptitude. Common Lies of Programmers. The program ran fine yesterday and I did not change a thing but now it will not work.

zaide
Télécharger la présentation

Visual Basic Programming Using Excel

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Visual Basic Programming Using Excel September 12, 2006

  2. What Programming Will Do • Make a good engineer better • Make a bad engineer worse by magnifying his/her ineptitude

  3. Common Lies of Programmers • The program ran fine yesterday and I did not change a thing but now it will not work. • I used the same program as was given in class, but it does not want to work for me. • I looked through all of the code 10 times and I am sure that there are no mistakes. Why won’t it run?

  4. Why in the World Would You Need to be able to Program?

  5. y = 0 For k = 1 To 50 Step 1 y1 = 0 For i = 1 To 20 Step 1 y1 = y1 + k + i^2 Next i y = y + y1 Next k

  6. Intrinsic Functions in Visual Basic

  7. Open up Excel and write a function subroutine which calculates the area of a circle given its diameter.Before writing the program, listen to the instructor about macro security.

  8. Fully Developed Flow of a Quasi-Incompressible Fluid W H y x

  9. Governing Equations

  10. Analytical Solution #1

  11. Intrinsic Functions in Visual Basic

  12. Analytical Solution #2

More Related