Lab 2: Matrix Manipulation and Fluid Diffusion
In class we talked about ways of organizing our approach to a problem, and also a
collection of new matlab commands. Today we are going to start practicing with
arrays.
Problems
1.
Given nonzero integers n an
Lab 10: Variable length pendulae
This lab will follow up from class.
In class we wrote the procedure DPenddT, and visualizePend
function dPdT = dPenddT(t,p)
u = p(1);
v = p(2);
g = -9.8;
L = 1;
uPrime = v;
vPrime = (g/L) * sin(u);
no friction
dPdT = [uPri
CSE 200, Day 1, Computational Science and Engineering
Hello and welcome to CSE 200. This class, Engineering And Scientific
Computing is intended to teach fundamental tools and methods for the kinds
of computations and simulations that you may need in your
Lab 9: Choosing parameters for physical simulations
Last lab we simulated a set of springs attached to two anchor points, and let the
system evolve to a steady state. When that steady state is reached, the points should
lie along a curve called a "catenar
Lab 11: Damped, driven pendulae
This lab will follow up from last weeks lab. Last week we simulated a pendulum and
saw how it changes its motion as it is shortened, and then tried to make a schedule to
shorten it without having it spin around. This time w
Lab 8: Back to physical simulations
Several labs ago, we simulated a block on a spring attached to a wall, and we saw how
that block acted if we pulled. This week we are going to model an elastic string as a
large collection of stones, attached to each ot
Lab 7:
NIM is played with two players and a pile of coins. The players take turns removing
coins from the pile. On each turn, a player must take one, two, or three coins from the
pile. The player who takes the last coin loses. You are going to write a GUI
Lab 1: Mandelbrot Set
Lab idea from John Hughes, professor of Computer Science at Brown.
Lab Goals:
1.
Programing construct: iterations
2.
Programing tool: .m files
3.
Mathematical concepts: limits of iterative functions
In class we talked about matlab's
Lab 5: Intro to physical simulation
Today we are going to break from things we've been talking about in class and look at
simulating physical processes. In particular, we are going to write functions which
simulate simple Newtonian physics. In particular,
Lab 4:
In class on tuesday we talked about solving a matrix equation to fit a line to a
collection of points. Today we are going to do the same thing in order to fit a curve to
a collection of points. In particular, we will consider polynomial curves - th
Lab 6: Physical Simulation II
Starting with this lab, there will be only one *required* checkpoint (at the end),
and several optional checkpoints that I hope you will use if you aren't getting
the expected results. Today we are going to solve a system of
Lab 3: Linear Regression and Functions with Multiple Outputs
In class on tuesday we talked about matrix operations. Today we are going to practice
with some of these, then apply them to the problem of linear regression. Regression
(or fitting, or least sq
Lab 12: Monte Carlo fun!
Monte-Carlo Integration extravaganza! In this problem you have to compute the area
of complex surfaces.
Consider a surface made as a sphere with a cylinder cut through it. The sphere
is a unit sphere centered at the origin. The cy