Excel for Scientists and Engineers phần 1 pot

48 282 0
Excel for Scientists and Engineers phần 1 pot

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... author of Excel for Chemists: A Comprehensive Guide, 2nd edition, Wiley-VCH, New York, 20 01 He has presented the 2-day short courses "Advanced Excel for Scientists and Engineers" and "Excel Visual Basic Macros for Scientists and Engineers" to over 2000 scientists at corporate clients in the United States, Canada and Europe This Page Intentionally Left Blank Chapter 1 Introducing Visual Basic for Applications... Method 11 2 First Derivative of a Worksheet Formula Calculated by Using a VBA Function Procedure Using the Finite-Difference Method 11 5 11 8 Improving the VBA Function Procedure Second Derivative of a Worksheet Formula 12 0 Concerning the Choice of Ax for the Finite-Difference Method 12 3 Problems 12 4 xi CONTENTS Chapter 7 Integration 12 7 Area under a Curve 12 7 Calculating... Linearized Forms of Nonlinear Equations Problems 332 Chapter 15 Random Numbers and the Monte Cario Method Random Numbers in Excel How Excel Generates Random Numbers Using Random Numbers in Excel Adding "Noise" to a Signal Generated by a Formula Selecting Items Randomly from a List Random Sampling by Using Analysis Tools Simulating a Normal Random... Excel formulas usually appear in a separate line, for =I +1/ FACT (1) +1/ FACT(2) +1/ FACT(3)+1IFACT(4) +1/ FACT(5) Named ranges used in formulas or in the text are not italicized, to distinguish them from Excel' s argument names, for example, =VLOOKU P(Temp,Table, MATCH(Percent,P-Row, 1) +I, 1) VBA Procedures Visual Basic code is in Arial font Complete VBA procedures are displayed in a box, as in the following For. .. a Worksheet Formula 10 9 Derivatives of a Worksheet Formula Calculated by Using a VBA Function Procedure 10 9 First Derivative of a Worksheet Formula Calculated by Using the Finite-Difference Method 11 0 The Newton Quotient 11 0 Derivative of a Worksheet Formula Calculated by Using the Finite-Difference Method 11 1 First Derivative of a Worksheet Formula Calculated... 1- 10 can be replaced by the more compact one in Figure 1- 1 1 or even by the one in Figure 1 - 12 Sub Initialize0 For J = 1 To N: P(J) = 0: Next J End Sub Figure 1- 11 A Sub procedure with several statements combined EXCEL: NUMERICAL METHODS 10 lSub Initialize(): For J = 1 To N: P(J) = 0: Next J: End Sub J Figure 1- 12 A Sub procedure in one line Creating a Simple Custom Function As a simple first example... the Tools menu and Macros from the submenu Highlight the name of the macro in the Macro Name list box, and press the Options button You can now enter a letter for the shortcut key: CONTROL+ or SHIFT+CONTROL+ in Excel for Figure 1- 9 The Macro dialog box Windows, OPTION+COMMAND+ or SHIFT+OPTION+COMMAND+ in Excel for the Macintosh CHAPTER 1 INTRODUCING VISUAL BASIC FOR APPLICATIONS... Infinity 14 0 Distance Traveled Along a Curved Path 14 1 Problems 14 3 Chapter 8 Roots of Equations 14 7 A Graphical Method 14 7 The Interval-Halving or Bisection Method 14 9 The Interval Method with Linear Interpolation (the Regula Fulsi Method) 15 1 The Regula Fulsi Method with Correction for Slow Convergence .15 3 The Newton-Raphson Method 15 4 Using... 18 9 19 0 19 1 19 1 19 6 200 200 xii EXCEL: NUMERICAL METHODS The Gauss-Seidel Method Implemented on a Worksheet The Gauss-Seidel Method Implemented on a Worksheet Using Circular References A Custom Function Procedure for the Gauss-Seidel Method Solving Nonlinear Systems by Iteration Newton's Iteration Method Problems 203 204 205 207 207 213 Chapter 10 Numerical... Points 12 9 Calculating the Area under a Curve Defined by a Table of Data Points by Means of a VBA Function Procedure 13 0 Calculating the Area under a Curve Defined by a Formula 13 1 Area between Two Curves 13 2 13 3 Integrating a Function Integrating a Function Defined by a Worksheet Formula by Means of a VBA Function Procedure 13 3 Gaussian Quadrature 13 7 Integration . same convention. Excel Formulas. example, Excel formulas usually appear in a separate line, for =I +1/ FACT (1) +1/ FACT(2) +1/ FACT(3)+1IFACT(4) +1/ FACT(5) Named ranges used in formulas or in. Chapter 15 Random Numbers and the Monte Cario Method 3 41 Random Numbers in Excel 3 41 How Excel Generates Random Numbers 3 41 Adding "Noise" to a Signal Generated by a Formula. Method 11 5 Improving the VBA Function Procedure 11 8 Second Derivative of a Worksheet Formula 12 0 Concerning the Choice of Ax for the Finite-Difference Method 12 3 Problems 12 4 CONTENTS

Ngày đăng: 14/08/2014, 06:22

Tài liệu cùng người dùng

Tài liệu liên quan