Intro to ChemE Final Flashcards

1
Q

Bisection Method Flow Diagram

A
  1. keep upper half of range

**low = mid **

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Newton’s Method Flow Diagram

A
  1. define converge tolerance tol
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Newton’s Method Flow Diagram

A
  1. calculate slope fpr(x)

x=x-f(x)/fpr(x)

calculate f(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Syntax to create an nxn identity matrix and an identity matrix the same size as matrix A

A

eye(n)

eye(size(A))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Bisection Method Flow Diagram

A
  1. input lower and upper limits low and high
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

To return an answer for an array function use

A

Ctrl + Shift + Enter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Excel command for inverse

A

minverse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

For an undetermined system, what methods will not work

A

Matrix inverse method and Cramer’s method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

MATLAB command for inverse

A

inv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Excel command for determinate

A

mdeterm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Newton’s Method Flow Diagram

A
  1. output root x
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Using the Exponential Function to describe data

A

y=b(10)mx and its equivalent form y=bemx give a straight line when plotted on a semilog plot whose y axis is logarithmic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Syntax and solution output for pseudoinverse method

A

x=pinv(A)*b

minimum norm solution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Using the Power Function to describe data

A

y=bxm gives a straight line when plotted on log-log axes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

If you attempt to solve a _____ using the inv command, MATLAB displays _____

A

If you attempt to solve a singular problem using the inv command, MATLAB displays an error message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Using the Linear Function to describe data

A

y=mx+b gives a straight line when plotted on a rectilinear axes. its slope is m and its intercept is b

17
Q

Newton’s Method Flow Diagram

A
  1. while abs(f(x)) > tol
18
Q

If the number of equations equals the number of unknowns and if |A| ≠ 0 then _____

A

If the number of equations equals the number of unknowns and if |A| ≠ 0 then the equation set has a solution and it is unique

19
Q

In subplot, what is the variable p

A

The variable p tells MATLAB to place the output of the plot command following the subplot command into the pth pane

20
Q

Bisection Method

if signs are different (negative product) you should eliminate the _____ of the interval

A

if signs are different (negative product) you should eliminate the UPPER HALF of the interval

21
Q

MATLAB command for determinate

A

det

22
Q

Excel command for transpose

A

transpose

23
Q

Bisection Method Flow Diagram

A
  1. mid = (high + low) ÷ 2

evaluate function at lower limit and midpoint

fl=f(low) fm=f(mid)

24
Q

Bisection Method Flow Diagram

A
  1. fl × fm > 0
25
Q

MATLAB command to obtain several smaller subplots in the same figure

Syntax

A

subplot

subplot(m,n,p)

26
Q

Bisection Method Flow Diagram

A
  1. display root (mid)
27
Q

Bisection Method Flow Diagram

A
  1. keep lower half of range

high = mid

28
Q

Excel command for multiplication

A

mmult

29
Q

Syntax to create a nxn matrix of zeros and an mxn matrix of zeros

A

zeros(n) and zeros(m,n)

30
Q

Bisection Method

if signs are same (positive product) you should eliminate the _____ of the interval

A

if signs are same (positive product) you should eliminate the LOWER HALF of the interval

31
Q

Newton’s Method Flow Diagram

A
  1. input initial guess x

calculate f(x)

32
Q

MATLAB commands for generating plots

A

loglog(x,y)

semilogx(x,y)

semilogy(x,y)

33
Q

Bisection Method Flow Diagram

A
  1. while high-low > 2 × tolerance
34
Q

The left-division method is based on

A

Gauss elimination

35
Q

Bisection Method Flow Diagram

A
  1. define tolerance tol
36
Q

In MATLAB, _____ or _____ seperate elements within a row; _____ separate rows

A

In MATLAB, spaces or commas seperate elements within a row; semi-colons separate rows

37
Q

Bisection Method

you should continue until the interval width is _____ or _____

A

you should continue until the interval width is LESS THAN TWO TIMES ALLOWABLE ERROR or SIXTEEN ITERATIONS