Created
April 18, 2017 20:01
-
-
Save jasikpark/72c454601869254a5ce846278717c6c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem 11 | |
Description | |
f = @(x)(2.+(x-1.45).^2)./(3+3.5.*(0.8.*x.^2-0.6.*x+2)); | |
x1 = fminbnd(f,-9^9,9^9); | |
g = @(x)(-1).*f(x); | |
x2 = fminbnd(g,-9^9,9^9); | |
a = linspace(-3,3); | |
b = f(a); | |
plot(x1,f(x1),'--o',x2,f(x2),'--o',a,b) | |
Problem 18 | |
Description | |
A = integral(@(x)(1.+0.5.*x.^3-x.^2).^(1/4),0,3) | |
B = integral(@(x)(x.*cosd(x)+2.*x.^2)./exp(x),0,8) | |
Problem 20 | |
Description | |
x = [ 0, 0.4, 0.8, 1.2, 1.6, 2.0, 2.4, 2.8 ]; | |
F = [ 0, 0.85, 1.30, 1.60, 1.87, 2.14, 2.34, 2.52 ]; | |
W = trapz(x./12,F) | |
Problem 34 | |
Description | |
ode45(@(x,y)(-x^2 + (exp(-y).*x.^3)/4),[1 5],1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment