{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

vblecture

# vblecture - Dr T.P Clement CE 3010 class notes Dr T.P...

This preview shows pages 1–3. Sign up to view the full content.

1 Dr. T.P. Clement CE 3010 class notes In the end we will conserve only what we love. We love only what we understand. We will understand only what we are taught.. Baba Dioum From a 1968 speech given at the general assembly of the International Union for Conservation of Nature in Delhi. Mr. Dioum was born in Dahra, Senegal in 1937. He studied ecology at the Ecole Nationale des Eaux et Forets in Nancy, France where he received a degree in Forestry Engineering. 1 Dr. T.P. Clement CE 3010 class notes Contents Why numerical methods? Problem examples Why programming? Why numerical methods and programming? Why VBA? 2 Dr. T.P. Clement CE 3010 class notes Why Numerical Methods? Many problems in engineering and science cannot be solved in closed (analytical) form Still need a solution So approximate Non linear problems often require numerical solution 3 Dr. T.P. Clement CE 3010 class notes Creating your first VBA code – Your own mini calculator! Create two VBA buttons from the developer tab 4 Dr. T.P. Clement CE 3010 class notes Program Workspace 5 Dr. T.P. Clement CE 3010 class notes Assignment Statements c = a + b means get values of a and b from storage locations, add them, store result in location reserved for c Only one variable permitted left of = a + b = c not allowed But c = c + 2 OK: means take old value of c, add 2 to it, store result in c location 6

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document