Curated Video
Things I Wish I Knew When I Was Learning to Code
Things I Wish I Knew When I Was Learning to Code
Curated Video
What's On My Laptop? | 13" M1 Macbook Pro for Machine Learning
What's On My Laptop? | 13" M1 Macbook Pro for Machine Learning
APMonitor
Find Equation Roots with Excel
Two examples show how to (1) find the roots of a cubic equation and (2) find the roots of the Redlich Kwong equation of state that relates pressure and temperature to molar volume for read gasses.
APMonitor
Solve Linear Equations with Python
Linear equations such as A*x=b are solved with NumPy in Python. This tutorial demonstrates how to create a matrix (A) and vector (b) as NumPy arrays and solve the set of equations with linalg.solve
APMonitor
Nonlinear Regression in Python
A three parameter (a,b,c) model y = a + b/x + c ln(x) is fit to a set of data with the Python APMonitor package. This tutorial walks through the process of installing the solver, setting up the objective (normalized sum of squared...
APMonitor
MathCAD Functions and Matrices
Mathcad is a tool to arrange, calculate, and visualize engineering calculations and functions can help with reusing expressions in subsequent evaluations. Use the following worksheets to step through example problems related to using...
APMonitor
Curve Fit with Excel and Python
Nonlinear regression with heart rate data is shown in both Microsoft Excel and Python. GEKKO and SciPy curve_fit are used as two alternatives in Python. Heart rate data is available at...
APMonitor
Fit Nonlinear Model to Data with Excel
Microsoft Excel adjusts parameters to minimize the difference between measured and predicted values. This tutorial demonstrates how to calculate the sum of squared errors and minimize error with the Solver add-in. See...
APMonitor
Simulate Differential Equations with Python ODEINT
The heights of a dual gravity drained tank are solved with the Scipy.integrate function ODEINT. This example demonstrates how to solve the differential equation and plot the solution.
APMonitor
Numpy and Loops in Python
This introductory homework assignment solution covers Numpy and loops (for and while) in Python. The example problems use simple vectors and matrices, reshaping, index referencing, initialization, dot product, cross product, matrix...
APMonitor
Mathematical Optimization with Python
This tutorial demonstrates how to solve a simple mathematical optimization problem with four variables, one objective function, one equality constraint, and an inequality constraint. The problem is solved with the APMonitor toolbox in...
APMonitor
Solve Nonlinear Equations with Excel
Microsoft Excel is used to solve a set of nonlinear equations with the Excel solver add-in.
APMonitor
Solve Nonlinear Equations with Microsoft Excel
The GRG (Generalized Reduced Gradient) solver in Excel can be used to solve sets of nonlinear equations. The nonlinear functions are input as cells and equation residuals are minimized. Functions can either be included as equality...
APMonitor
Analyze Stock Data with Microsoft Excel
Visualization of data is a powerful method to see trends and make decisions. Microsoft Excel trending capabilities are tools to visualize large data sets, such as financial information on company performance.
APMonitor
Nonlinear Regression in MATLAB
A three parameter (a,b,c) model y = a + b/x + c ln(x) is fit to a set of data with the MATLAB APMonitor toolbox. This tutorial walks through the process of installing the solver, setting up the objective (normalized sum of squared...
APMonitor
MATLAB Nonlinear Optimization with fmincon
This step-by-step tutorial demonstrates fmincon solver on a nonlinear optimization problem with one equality and one inequality constraint. Visit http://apmonitor.com/che263/index.php/Main/MatlabOptimization for source code.
APMonitor
Linear and Polynomial Regression in Python
This brief tutorial demonstrates how to use Numpy and SciPy functions in Python to regress linear or polynomial functions that minimize the least squares difference between measured and predicted values. Source Code:...
APMonitor
Linear and Nonlinear Regression in Python
Polynomial or general nonlinear functions are developed with Numpy and Scipy in Python. These exercises also cover methods to create linear or spline interpolations that interpolate between data points.
APMonitor
MathCAD Graphing and Calculus
Plotting expressions is important to visualize data, relationships between variables, and perform analysis. Mathcad plotting allows visualization of variable values, functions, and data points. Included in this demonstration is common...
APMonitor
Symbolic Manipulation in Python
The SymPy package computes symbolic solutions to simplify, expand, factor, differentiate, integrate, and solve equations. These problems cover a range of SymPy functions.
APMonitor
Regression with MATLAB fmincon
A frequent activity in data science and machine learning is to develop correlations from data. By importing the data into MATLAB, data analysis such as statistics, trending, or calculations can be made to synthesize the information into...
APMonitor
Matlab 👩💻 Cell Arrays
Cell arrays are like regular arrays but you can use them to store different data types in a sequence. The format for this method of storing values is curly brackets {}. After you assign the cell array a name, you can enter values and...
APMonitor
MATLAB User Defined Custom Functions
User-defined functions are routines in MATLAB that typically input data or arguments, perform custom calculations, and return one or multiple results. This introduction to functions is part of the programming course for engineers at...
APMonitor
Solve Nonlinear Equations with Python
This tutorial demonstrates how to set up and solve a set of nonlinear equations in Python using the SciPy Optimize package.