Engineering analysis : interactive methods and programs with by Y C Pao PDF

By Y C Pao

ISBN-10: 084932016X

ISBN-13: 9780849320163

Show description

Read or Download Engineering analysis : interactive methods and programs with FORTRAN, QuickBASIC, MATLAB, and Mathematica PDF

Best computer modelling books

Read e-book online Engineering Analysis Interactive Methods and Programs with PDF

The booklet emphasizes interactive operation in constructing machine courses all through, permitting the values of the parameters excited about the matter to be entered by means of the person of this system through a keyboard. In introducing each one numerical procedure, Engineering research supplies minimal mathematical derivations yet presents a radical rationalization of computational systems to resolve a particular challenge.

Additional info for Engineering analysis : interactive methods and programs with FORTRAN, QuickBASIC, MATLAB, and Mathematica

Sample text

R Out[9] = {5, 4} The solution of x1 = 5 and x2 = 4 do satisfy the equations x1 + 2x2 = 13 and 3x1 + 4x2 = 31. TRANSFORMATION OF COORDINATE SYSTEMS, ROTATION, AND ANIMATION Matrix algebra can be effectively applied for transformation of coordinate systems. When the cartesian coordinate system, x-y-z, is rotated by an angle ⍜z about the z-axis to arrive at the system xЈ-yЈ-zЈ as shown in Figure 2, where z and zЈ axes coincide and directed outward normal to the plane of paper, the new coordinates of a typical point P whose coordinates are (xP,yP,zP) can be easily obtained as follows: x ′P = OP cos(θ P − θ z ) = (OP cos θ P ) cos θ z + (OP sin θ P ) sin θ z = x P cos θ z + y p sin θ z y ′P = OP sin(θ P − θ z ) = (OP sin θ P ) cos θ z − (OP cos θ P ) sin θ z = x p sin θ z + y p sin θ z © 2001 by CRC Press LLC FIGURE 2.

Offers a quick tool for matrix manipulations. To load MATLAB after it has been set-up and stored in a subdirectory of a hard drive, say C, we first switch to this subdirectory by entering (followed by pressing ENTER) C:\cd MATLAB and then switch to its own subdirectory BIN by entering (followed by pressing ENTER) C:\MATLAB>cd BIN Next, we type MATLAB to obtain a display of: C:\MATLAB>BIB>MATLAB Pressing the ENTER key results in a display of: >> which indicates MATLAB is ready to begin. Let us rerun the cases of matrix subtraction, addition, transposition, and multiplication previously considered in the FORTRAN and QuickBASIC versions.

The characters F, R, and T help the viewer to have a better three-dimensional perspective of the rotated brick. FIGURE 5. The speed of animation is controlled by a parameter Damping. This parameter and the desired number of y-revolutions, Ncycle, are both to be interactively specified by the viewer. © 2001 by CRC Press LLC FUNCTION ANIMATE1(NCYCLE,DAMPING) Notice that the coordinates for the corners of the brick are defined in arrays xb, yb, and zb. The coordinates of the points to be connected by linear segments for drawing the characters F, R, ant T are defined in arrays xf, yf, and zf, and xr, yr, and zr, and xt, yt, and zt, respectively.

Download PDF sample

Engineering analysis : interactive methods and programs with FORTRAN, QuickBASIC, MATLAB, and Mathematica by Y C Pao


by Paul
4.5

Rated 4.11 of 5 – based on 17 votes