Chapter 5 4ed
[Pages:38]Chapter 5
Solved Problems
Problem 1
Script File:
x=linspace(-3,5,200); y=(x+5).^2./(4+3*x.^2); plot(x,y) xlabel('x') ylabel('y')
y
7
6
5
4
3
2
1
0
-3
-2
-1
0
1
2
3
4
5
x
1
2
Problem 2
Script File:
Chapter 5: Solved Problems
fplot('5*sin(x)/(x+exp(-0.75*x))',[-5 10]) xlabel('x') ylabel('y')
y
3
2
1
0
-1
-2
-3
-4
-5
0
5
10
x
Chapter 5: Solved Problems
3
Problem 3
Script file:
x1=linspace(0,3,200); y1=(x1+1).*(x1-2).*(2*x1-0.25)-exp(x1); x2=linspace(-3,6,200); y2=(x2+1).*(x2-2).*(2*x2-0.25)-exp(x2); plot(x1,y1) xlabel('x') ylabel('y') figure plot(x2,y2) xlabel('x') ylabel('y')
y
4
2
0
-2
-4
-6
-8
-10
0
0.5
1
1.5
2
2.5
3
x
y
40
20
0
-20
-40
-60
-80
-3
-2
-1
0
1
2
3
4
5
6
x
4
Chapter 5: Solved Problems
Problem 4
Script File:
plot('sqrt(abs(cos(3*x)))+sin(4*x)^2',[-2 2]) xlabel('x') ylabel('y'))
y
2
1.8
1.6
1.4
1.2
1
0.8
0.6
0.4
0.2
0
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
x
Chapter 5: Solved Problems
5
Problem 5
Script File:
fplot('exp(2*sin(0.4*x))*5*cos(4*x)',[-20 30]) xlabel('x') ylabel('y')
y
40
30
20
10
0
-10
-20
-30
-40
-20 -15 -10
-5
0
5
10
15
20
25
30
x
6
Chapter 5: Solved Problems
Problem 6
Script File:
t=linspace(0,2*pi,100); x=1.5*sin(5*t); y=1.5*cos(3*t); plot(x,y) axis([-2 2 -2 2]) xlabel('x') ylabel('y')
y
2
1.5
1
0.5
0
-0.5
-1
-1.5
-2
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
x
Chapter 5: Solved Problems
7
Problem 7
x1=-4:0.05:-1.1; x2=-0.9:0.05:3; y1=(x1.^2+3*x1+3)./(0.8*(x1+1)); y2=(x2.^2+3*x2+3)./(0.8*(x2+1)); plot(x1,y1,x2,y2) xlabel('x') ylabel('y')
y
15
10
5
0
-5
-10
-15
-4
-3
-2
-1
0
1
2
3
x
8
Problem 8
t1=linspace(-30,-1.6,500); t2=linspace(-0.6,40,500); x1=3*t1./(1+t1.^3); y1=3*t1.^2./(1+t1.^3); x2=3*t2./(1+t2.^3); y2=3*t2.^2./(1+t2.^3); plot(x1,y1,x2,y2) xlabel('x') ylabel('y')
Chapter 5: Solved Problems
y
2
1.5
1
0.5
0
-0.5
-1
-1.5
-2
-2.5
-2.5
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
x
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- eigen function expansion and applications
- introduction to matlab graeme chandler
- chapter 5 4ed
- linear approximation
- trigonometric limits
- using matlab for linear algebra
- exercise 1 uio
- sage quick reference calculus integrals r f x dx integral
- plotting and graphics options in mathematica
- tangent cotangent secant and cosecant