Course Outline for Physics 25 Computational Methods for Engineers and Scientists
Effective: Fall 2023 SLO Rev: 10/01/2019
Catalog Description:
PHYS 25 - Computational Methods for Engineers and Scientists
3.00 Units
(See also ENGR 25 , MTH 25 )
Methodology and techniques for solving engineering/science problems using numerical-analysis computer-application programs MATLAB, SimuLink, MuPad, and EXCEL. Technical computing and visualization using MATLAB software. Examples and applications from applied-mathematics, physical-mechanics, electrical circuits, biology, thermal systems, fluid systems, and other branches of science and engineering. May not receive credit if Engineering 25 or Math 25 has been completed.
Prerequisite: MTH 1 (completed with a grade of "C" or higher)
1902.00 - Physics, General
Letter Grade Only
Type
Units
Inside of Class Hours
Outside of Class Hours
Total Student Learning Hours
Lecture
2.00
36.00
72.00
108.00
Laboratory
1.00
54.00
0.00
54.00
Total
3.00
90.00
72.00
162.00
Measurable Objectives:
Upon completion of this course, the student should be able to:
analyze engineering/science word problems to formulate a mathematical model of the problem;
express in MATLAB notation: scalars, vectors, matrices;
perform, using MATLAB or EXCEL, mathematical operations on vectors, scalars, and matrices
a. addition and subtraction;
b. multiplication and addition;
c. exponentiation;
compute, using MATLAB or EXCEL, the numerical-value of standard mathematical functions
a. trigonometric functions;
b. exponential functions;
c. square-roots and absolute values;
create, store, and run MATLAB script files using formatted input and output;
import data to MATLAB for object oriented programming and analysis from data structures using
a. data-acquisition-system data-files;
b. spreadsheet files;
construct graphical plots for mathematical-functions in two or three dimensions;
formulate a fit to given data in terms of a mathematical curve, or model, based on linear, polynomial, power, or exponential functions
a. assess the goodness-of-fit for the mathematical model using regression analysis;
apply MATLAB to find the numerical solution to systems of linear equations
a. uniquely determined;
b. under-determined;
c. overdetermined;
perform using MATLAB or EXCEL statistical analysis of experimental data to determine the mean, median, standard deviation, and other measures that characterize the nature of the data ;
compute, for empirical or functional data, numerical definite-integrals and discrete-point derivatives;
solve numerically, using MATLAB, linear, second order, constant-coefficient, nonhomogenous ordinary differential equations;
assess, symbolically, using MATLAB
a. the solution to transcendental equations;
b. derivatives, antiderivatives, and integrals;
c. solutions to ordinary differential equations;
apply, using EXCEL, linear regression analysis to xy data-sets to determine for the best-fit line the: slope, intercept, and correlation-coefficient;
draw using MATLAB or EXCEL two-dimensional Cartesian (xy) line-plots with multiple data-sets (multiple lines);
draw using EXCEL qualitative-comparison charts such as Bar-Charts and Column-Charts in two or three dimensions;
perform, using MATLAB and EXCEL, mathematical-logic operations;
plan, conceptually, computer-solutions to engineering/science problems using pseudocodeand/or flow-chart methods;
compose MATLAB script files that employ FOR and WHILE loops to solve engineering/science problems that require repetitive actions including recursion, sorting, searching, series approximation and error;
use the symbolic math component, MuPAD, of MATLAB to find Symbolic solutions difficult derivative, integral, and ordinary differential equation problems in closed form. Graph the solution using MuPAD graphing commands;
use the icon-based math component, SimuLink, of MATLAB to construct solution blocks and data paths, including feedback, to solve ordinary differential equation problems. Graph the solution using using the "Scope" command, or by exporting the solution data to MATLAB for graphing.
Course Content:
Course Content (Lecture):
Engineering problem solving
construct Physical Model
construct Mathematical Model
solve using graphic-geometrical, analytical, or numerical methods
Using MATLAB
user interface and working-environment
writing MATLAB software-code using script or function files (“.m” files)
MATLAB Mathematical functions, including logical operations
graphical output
MATLAB linear algebra using arrays and matrices
array and Matrix mathematical operations: addition/subtraction, multiplication/division exponentiation, transpose, inversion
MATLAB Files and Data Structures
importing data from ASCII and spreadsheet files
complex number formats, rectangular and polar
Programming with MATLAB
pseudocoding (written-english description of the intended program-function)
basic flow charting
conditional Branching using if/then/else techniques
Plan computer-code (“m” file) solutions to engineering/science problems using
pseudocode
diagrams and/or tables
flow-charts
Design, in detail, computer-code solutions to engineering/science problems using – run, test, and check the solutions
Import into MATLAB and EXCEL data generated by data-acquisition systems to
analyze the data statistically
evaluate the data using visualization tools such as plots, charts, and tables
Compose MATLAB script-files to solve engineering/science problems that employ
logical variables
relational operations
FOR and/or WHILE loops
user-defined MATLAB functions
Create from experimental or theoretical data visualization objects
XY Cartesian plots: linear, semilog, and log-log
XYZ three-dimensional plots
Comparison charts: bar, column, pie, area, line, radar
Histograms
Numerically Determine using MATLAB the maxima, minima, and zeros of single-variable functions
Use MATLAB to solve numerically systems of linear equations
Use MATLAB to solve numerically ordinary differential equations
Use MATLAB to perform numerical differentiation and integration
Create SIMULINK icon-based and data-path models for time-varying systems that employ feedback loops
Use MuPAD to find symbolic solutions perform symbolic differentiation and integration Use MATLAB to solve numerically ordinary differential equations
Use MATLAB to solve numerically ordinary differential equations
Use MuPAD to solve numerically ordinary differential equations
Use MATLAB and EXCEL to analyze empirical data using linear regression analysis
Use MATLAB and EXCEL to analyze empirical data using higher-order regression analysis
Methods of Instruction:
Class and group discussions
Computer-based interactive curriculum
Demonstration
Distance Education
Group Activities
Group Presentations
Laboratory exercises
Lecture/Discussion
Online Assignments
Presentation
Problem Solving
Research Report
Research project
Textbook reading assignments
Written assignments
Engineering/Science Problem Solving tutorials using MATLAB, SimuLink, and live scripts
Assignments and Methods of Evaluating Student Progress:
Consider an Ordinary Differential Equation (ODE) and the given analytical solution. Verify the solution using two methods in MATLab. (i.e. ODE45 or Livescript)
Given a set of deflection vs. load data for a cantilever beam, plot the data and calculate the slope of the best straight line through the data.
Given that i = sqrt(-1), let y = -3 + ix. For x = 0, 1, 2 use MATLAB to numerically evaluate the following expressions. Hand check your answers. (a) |y|, (b) sqrt(y), (c) (-5-7i)y, (d) y/(6-3i)
The theoretical equation relating the electronic diode current to the electrical potential (or voltage) applied across the diode: V-I Relation = Id = Isat•exp((qVa/(nkT). A data file provided by the instructor contains Va > 0 data for a silicon diode. Use this data to create a plot to reveal the values of the practical constants: Isat and n. Based on your analysis, comment on the quality/reliability of these values.
Create a SimuLink model to plot the solution of the following equation for 0 < t < 10 ** 2dx/dt2 +12t+10x^2 = 8sin(0.8t) ** With Initial Conditions: x(0) = -3 and dx/dt(0) = 7.1
A set of three equations defines the mesh currents in shown in Text Figure 5.5. Write a MATLAB program to compute the mesh currents using the given resistor and voltage-source values.
The useful life of a machine bearing depends on its operating temperature as indicated by the following data: Temperature (°F) 100 120 140 160 180 200 220 Bearing Life (kHr) 28 21 15 11 8 6 4. Obtain a functional description (curve fit) for this data. Plot the function and the data on the SAME plot. Also estimate bearing life for a 150 °F operating temperature.
Homework
Exams/Tests
Final Examination
Class Participation
Demonstration of practice and skills
Group Projects
Simulation
Research Projects
Upon the completion of this course, the student should be able to:
Given a data set that can be modeled by either a Power-function or an Exponential-function linearize the data, and then perform a Linear Regression using MATLAB or EXCEL software
Using differential calculus, MATLab commands, and script files to solve for an independent variable that will optimize/minimize/maximize some dependent variable quantity that results from the analysis of a real-world situation-scenario.
Use MATLABs SimuLink InterConnected-Icon based programming environment to create a SimuLink FeedBack Diagram that produces a graph of the numerical solution to a NONlinear, NonHomogeneous, Second order Differential Equation.
Textbooks (Typical):
Siauw, T., Bayen, A. (2014). An Introduction to MATLAB® Programming and Numerical Methods for Engineers Academic Press.
Tyagi, A.K. (2012). MATLAB and SIMULINK for Engineers Oxford University Press.
Gdeisat, M., Lilley, F. (2015). MATLAB® by Example - Programming Basics Elsevier.
Etter, D.M. (2015). Introduction to MATLAB (3rd). Prentice Hall.
Palm, W.J. (2018). Introduction to MATLAB for Engineers (4th). McGraw-Hill.
Moore, H. (2015). MATLAB for Engineers (4th). Prentice Hall.
Chapra, S.C, Palm, W.J. (2012). Applied Numerical Methods with MATLAB for Engineering & Science and Intro To MATLAB for Engineers (3rd). McGraw-Hill.
Gilat, A. (2014). MATLAB: An Introduction with Applications (5th). John Wiley.
Optional: Student Version of MATLAB, MuPAD, and SimuLink
Laboratory access to MATLAB and EXCEL Software
Optional: Microsoft Office Student and Teacher Edition; includes EXCEL
USB Computer Storage Drive
Abbreviated Class Schedule Description:
Methodology and techniques for solving engineering/science problems using numerical-analysis computer-application programs MATLAB, SimuLink, MuPad, and EXCEL. Technical computing and visualization using MATLAB software. Examples and applications from applied-mathematics, physical-mechanics, electrical circuits, biology, thermal systems, fluid systems, and other branches of science and engineering. May not receive credit if Mathematics 25 or Physics 25 has been completed.
May not receive credit if Engineering 25 or Math 25 has been completed.
Prerequisite: MTH 1 (completed with a grade of "C" or higher)
Discipline:
Physics/Astronomy*, Mathematics*, or Engineering*, or