Intro to ChemE Final Flashcards

(37 cards)

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

22
Q

Excel command for 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

25
MATLAB command to obtain several smaller subplots in the same figure Syntax
subplot subplot(m,n,p)
26
Bisection Method Flow Diagram
8. **display root (mid)**
27
Bisection Method Flow Diagram
5. **keep lower half of range** ## Footnote **high = mid**
28
Excel command for multiplication
mmult
29
Syntax to create a nxn matrix of zeros and an mxn matrix of zeros
zeros(n) and zeros(m,n)
30
Bisection Method if signs are same (positive product) you should eliminate the _____ of the interval
if signs are same (positive product) you should eliminate the **LOWER HALF** of the interval
31
Newton's Method Flow Diagram
2. **input initial guess *x*** **calculate *f(x)***
32
MATLAB commands for generating plots
loglog(x,y) semilogx(x,y) semilogy(x,y)
33
Bisection Method Flow Diagram
3. *while* **high-low \> 2 × tolerance**
34
The left-division method is based on
Gauss elimination
35
Bisection Method Flow Diagram
1. *define* **tolerance tol**
36
In MATLAB, _____ or _____ seperate elements within a row; _____ separate rows
In MATLAB, **spaces** or **commas** seperate elements within a row; **semi-colons** separate rows
37
Bisection Method you should continue until the interval width is _____ or \_\_\_\_\_
you should continue until the interval width is **LESS THAN TWO TIMES** *ALLOWABLE ERROR* or **SIXTEEN** *ITERATIONS*