MAE 107 UCSD
Find below a list of sample documents for UCSD MAE 107 course.
UCSD MAE 107 documents:
-
Homework #9 PROBLEM 1. (15 points) Consider the initial value problem: y = 2t 2 - y , y (0) = -1 (1) The exact solution is y (t ) = -5exp(-t ) + 2t 2 - 4t + 4
-
%Problem1: This program call the function LU to calculate the LU %decomposition of the matrix A clc;clear; A=[10 2 -1; 2; 5]; % Calling the lu_decomp function % Defining A -3 -6 1 1 [L1,U1]=lu_decomp(A); disp(\'Calculated L1 = \');disp(L1); disp(\'Ca
-
MAE 107 Spring 2007 HW 6 Problem 1 Contents Plot data Linear regression Flow for x = 120 Plot data clear; close all; clc % Store data in (x,y) x = [88.9 108.5 104.1 139.7 127 94 116.8 99.1] y = [14.6 16.7 15.3 23.2 19.5 16.1 18.1 16.6] % Sort data
-
Homework 8 solution 17.4 (a) Analytical integration yields: -2 1-x -4x 32x 5 dx=[ x- 4 x2 2 -x 4 x6 3 4 ] =1104 -2 (b) Single application of the Trapezoidal rule gives: -291789 =5280 2 4-2 (c) Composite Trapezoidal rule
-
MAE 107 Spring 2007 HW 7 Problem 1 This code interpolates the given data for the conductivity-temperature function, and evaluates this function at x = 4. Contents Setup (a) Forward Difference Table (b) Construct Newton-Gregory Polynomial (c) Using Di
-
MAE 107 Computational Methods in Engineering Spring 2007 Homework #3 Solutions Problem 2: Problem 7.12 on page 184 of the textbook. As shown in section 7.2.1 in the textbook, the maximum error En after n iterations is E n = (2 - )x ( n ) In which
-
MAE 107 Computational Methods in Engineering Spring 2007 Homework #2 Solutions Problem 1: Problem 4.7 on page 110 of the textbook. The function (correcting a typographical error in the text) f ( x) = has the derivative f ( x) = ( 1 1 - 3x 2 ) (1
-
MAE 107 Spring 2007 HW 4 Problem 1 Contents The terms can be collected to give: The terms can be collected to give: A = [0 -7 5;0 4 7;-4 3 -7] b = [50;-30;40] x = A\\b AT = A\' AI = inv(A) % transpose % inverse A = 0 0 -4 -7 4 3 5 7 -7 b = 50 -30
-
MAE 107 Computational Methods in Engineering Spring 2007 Homework #2 Solutions Problem 1: Problem 4.7 on page 110 of the textbook. The function (correcting a typographical error in the text) f ( x) = has the derivative f ( x) = ( 1 1 - 3x 2 ) (1