Engineering Basics solving review
Solving Simultaneous Equations
Solve:
3x + 2y + z = 7
4x + 3y + 5z = 12
xy+z=4
We have three equations and three unknowns. This can be
solved using the symbolic toolbox but it makes no sense to do
so. A much faster and e
Engineering Basics Matlab review
MATLAB
Introduction to the
Symbolic Toolbox
Symbolic Toolbox
Nice tool for solving and manipulating symbolic math expressions and
performing variable-precision arithmetic.
solve solves many different types of equations
Engineering Basics circuit review
Consider the circuit shown below. The mesh equations are also provided. Use the
solve function to solve for I1 and I2 in terms of the three resistor values.
Note: If we had the resistor values, we would not need to use sy
Engineering Basics angles review
This is identical to finding the x and y components of a force that is given in polar
form.
What are the coordinates for the end (gripper)?
Assume L1 = 3 ft. and L2 = 2 ft.
Suppose we want Xg = 2.4 ft. and Yg = 3.2 ft.
Q1:
Engineering Basics quiz 2 review
Consider the circuit shown below. The mesh equations are also provided. Use the
solve function to solve for I1 and I2 in terms of the three resistor values.
Note: If we had the resistor values, we would not need to use sym
Engineering Basics turn review
Your Turn
Enter this equation into MATLAB as a symbolic equation:
C=C_0 e^(-kt)
Use the subs command to plug in the following values:
k = 0.0075, Co = 5 , and t = 1:5
Use the subs command to plug in the following values:
k
Engineering Basics symbolic review
Symbolic Toolbox
The Symbolic Math Toolbox software lets you to perform symbolic
computations within the MATLAB.
It provides tools for solving and manipulating symbolic math expressions and
performing variable-precision
Engineering Basics substitute review
Substitute in the values for link lengths and desired gripper position using subs:
> L1 = 3; L2 = 2; x = 2.4; y = 3.2;
> f1 = subs(f1)
f1 =
12/5 = 2*cos(Th1 + Th2) + 3*cos(Th1)
> f2 = subs(f2)
f2 =
16/5 = 2*sin(Th1 + T