http://vyuka.safarikovi.org/  

Řešení rovnice f(x)=0

Příklad 21:

>    sqrt(x+1)-2*sin(x)=0;

(x+1)^(1/2)-2*sin(x) = 0

>    plot({sqrt(x+1)-2*sin(x)},x=-5..5,y=-2..2);

[Maple Plot]

>    plot({sqrt(x+1),2*sin(x)},x=-5..5,y=-2..2);

[Maple Plot]

>    fsolve(sqrt(x+1)-2*sin(x)=0,x=0..1);

.7135346659

>    fsolve(sqrt(x+1)-2*sin(x)=0,x=2..3);

2.073040415

Příklad 22:

>    sqrt(25-x^2)+x-6=0;

(25-x^2)^(1/2)+x-6 = 0

>    plot({sqrt(25-x^2)+x-6},x=-10..10,y=-10..10);

[Maple Plot]

>    plot({sqrt(25-x^2),-x+6},x=-10..10,y=-10..10);

[Maple Plot]

>    fsolve(sqrt(25-x^2)+x-6=0,x=0..2);

1.129171307

>    fsolve(sqrt(25-x^2)+x-6=0,x=4..6);

4.870828693

Příklad 23:

>    sqrt(25-x^2)+0.4*x-4=0;

(25-x^2)^(1/2)+.4*x-4 = 0

>    plot({sqrt(25-x^2)+0.4*x-4},x=-5..5,y=-5..5);

[Maple Plot]

>    plot({sqrt(25-x^2),-0.4*x+4},x=-5..5,y=-5..5);

[Maple Plot]

>    fsolve(sqrt(25-x^2)+0.4*x-4=0,x=-2..0);

-1.728923513

>    fsolve(sqrt(25-x^2)+0.4*x-4=0,x=4..5);

4.487544203

Příklad 24:

>    sqrt(36-x^2)-1/(x+1)=0;

(36-x^2)^(1/2)-1/(x+1) = 0

>    plot({sqrt(36-x^2)-1/(x+1)},x=-7..7,y=-7..7);

[Maple Plot]

>    plot({sqrt(36-x^2),1/(x+1)},x=-7..7,y=-7..7);

[Maple Plot]

>    fsolve(sqrt(36-x^2)-1/(x+1)=0,x=-1..0);

-.8317086333

>    fsolve(sqrt(36-x^2)-1/(x+1)=0,x=-5..7);

-.8317086333

Příklad 25:

>    sin(x)-ln(x)=0;

sin(x)-ln(x) = 0

>    plot({sin(x)-ln(x)},x=0..10,y=-3..3);

[Maple Plot]

>    plot({sin(x),ln(x)},x=0..10,y=-3..3);

[Maple Plot]

>    fsolve(sin(x)-ln(x)=0,x=2..3);

2.219107149

Příklad 26:

>    10*sin(x)-ln(x)=0;

10*sin(x)-ln(x) = 0

>    plot({10*sin(x)-ln(x)},x=0..10,y=-10..10);

[Maple Plot]

>    plot({10*sin(x),ln(x)},x=0..10,y=-10..10);

[Maple Plot]

>    fsolve(10*sin(x)-ln(x)=0,x=2..4);

3.030491744

>    fsolve(10*sin(x)-ln(x)=0,x=6..8);

6.471021305

>    fsolve(10*sin(x)-ln(x)=0,x=8..10);

9.200983510

Příklad 27:

>    5*sin(x)+ln(x)=0;

5*sin(x)+ln(x) = 0

>    plot({5*sin(x)+ln(x)},x=0..10,y=-5..5);

[Maple Plot]

>    plot({5*sin(x),-ln(x)},x=0..10,y=-5..5);

[Maple Plot]

>    fsolve(5*sin(x)+ln(x)=0,x=0..1);

.2671531439

>    fsolve(5*sin(x)+ln(x)=0,x=3..4);

3.388138954

>    fsolve(5*sin(x)+ln(x)=0,x=5..7);

5.919572805

>    fsolve(5*sin(x)+ln(x)=0,x=9..10);

9.901117784

Příklad 28:

>    3*sin(x)-x=0;

3*sin(x)-x = 0

>    plot({3*sin(x)-x},x=-10..10,y=-3..3);

[Maple Plot]

>    plot({3*sin(x),x},x=-10..10,y=-3..3);

[Maple Plot]

>    fsolve(3*sin(x)-x=0,x=-5..-1);

-2.278862660

>    fsolve(3*sin(x)-x=0,x=1..5);

2.278862660

Příklad 29:

>    5*x*sin(x^2)-1=0;

5*x*sin(x^2)-1 = 0

>    plot({5*x*sin(x^2)-1},x=-3..3,y=-2..2);

[Maple Plot]

>    plot({sin(x^2),1/(5*x)},x=-3..3,y=-2..2);

[Maple Plot]

>    fsolve(5*x*sin(x^2)-1=0,x=-2..1);

.5887356410

>    fsolve(5*x*sin(x^2)-1=0,x=0..1);

.5887356410

>    fsolve(5*x*sin(x^2)-1=0,x=1..2);

1.739647101

>    fsolve(5*x*sin(x^2)-1=0,x=2..3);

2.522411116

Příklad 30:

>    exp(x)-x-10=0;

exp(x)-x-10 = 0

>    plot({exp(x)-x-10},x=-15..15,y=-15..15);

[Maple Plot]

>    plot({exp(x),x+10},x=-15..15,y=-15..15);

[Maple Plot]

>    fsolve(exp(x)-x-10=0,x=-11..-9);

-9.999954598

>    fsolve(exp(x)-x-10=0,x=0..5);

2.527963202

up

2007 - 2017 © Jan Šafařík