{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ch10 - Chapter 10 Solved Problems Problem 1 Script file...

This preview shows pages 1–7. Sign up to view the full content.

1 Chapter 10 Solved Problems Problem 1 Script file: fplot( '10*(exp(-0.2*x)-exp(-1.5*x))-4' ,[0 6]) xlabel( 'x' ) ylabel( 'f(x)' ) x1=fzero( '10*(exp(-0.2*x)-exp(-1.5*x))-4' ,1) x2=fzero( '10*(exp(-0.2*x)-exp(-1.5*x))-4' ,4) Command Window: x1 = 0.4418 x2 = 4.5683 Figure: 0 1 2 3 4 5 6 -4 -3 -2 -1 0 1 2 3 x f(x)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 Chapter 10: Solved Problems Problem 2 Script file: fplot( 'exp(-0.2*x)*cos(2*x)-0.15*x^2+1' ,[0 5]) xlabel( 'x' ) ylabel( 'f(x)' ) x1=fzero( 'exp(-0.2*x)*cos(2*x)-0.15*x^2+1' ,1) x2=fzero( 'exp(-0.2*x)*cos(2*x)-0.15*x^2+1' ,2) x3=fzero( 'exp(-0.2*x)*cos(2*x)-0.15*x^2+1' ,3) Command Window: x1 = 1.3923 x2 = 2.0714 x3 = 3.1895 Figure: 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 -4 -3 -2 -1 0 1 2 x f(x)
Chapter 10: Solved Problems 3 Problem 3 Script file: fplot( 'x^3-7*x^2*cos(3*x)+3' ,[0 9]) xlabel( 'x' ) ylabel( 'f(x)' ) x1=fzero( 'x^3-7*x^2*cos(3*x)+3' ,1.6) x2=fzero( 'x^3-7*x^2*cos(3*x)+3' ,2.5) x3=fzero( 'x^3-7*x^2*cos(3*x)+3' ,3.7) x4=fzero( 'x^3-7*x^2*cos(3*x)+3' ,4.5) x5=fzero( 'x^3-7*x^2*cos(3*x)+3' ,6.1) x6=fzero( 'x^3-7*x^2*cos(3*x)+3' ,6.5) Command Window: x1 = 1.7047 x2 = 2.4723 x3 = 3.8722 x4 = 4.4720 x5 = 6.1225 x6 = 6.4119 Figure: 0 1 2 3 4 5 6 7 8 9 -100 0 100 200 300 400 500 600 700 800 900 x f(x)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4 Chapter 10: Solved Problems Problem 4 Script file: meu=0.55; g=9.81; h=10; m=18; x=2:45; F=meu*m*g*sqrt(x.^2+h^2)./(x+meu*h); plot(x,F) xlabel( 'x (m)' ) ylabel( 'F (N)' ) Fs=90; [email protected] (x) meu*m*g*sqrt(x.^2+h^2)./(x+meu*h)-Fs; xs=fzero(ANONF,10) Command Window: xs = 9.0644 Figure: 0 5 10 15 20 25 30 35 40 45 85 90 95 100 105 110 115 120 125 130 135 x (m) F (N)
Chapter 10: Solved Problems 5 Problem 5 Script file: a=0.18; b=0.06; K=2600; W=200; L0=sqrt(a^2+b^2); [email protected] (x) sqrt(a^2+(b+x).^2); [email protected](x) 2*K*(L(x)-L0).*(b+x)./L(x)+x*K/2-W; d=fzero(f,0.1) Command Window: d = 0.0730 Answer: x = 0.0730m.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
6 Chapter 10: Solved Problems Problem 6 Script File: Is=1E-12; q=1.6E-19; k=1.38E-23; Vs=2; R=1000; T=297; [email protected](vD) Is*(exp((vD*q)./(k*T))-1)-(Vs-vD)./R; vD=0:0.01:0.55; Ip=fI(vD); plot(vD,Ip) xlabel(
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}