Trigonometri og ligninger 

 

 

Vinkler i grader 

> sin(30)=Sin(30);
 

sin(30) = `/`(1, 2)
 

> cos(30)=Cos(30);
 

cos(30) = `+`(`*`(`/`(1, 2), `*`(`^`(3, `/`(1, 2)))))
 

> tan(30)=Tan(30);
 

tan(30) = `+`(`*`(`/`(1, 3), `*`(`^`(3, `/`(1, 2)))))
 

> cot(30)=Cot(30);
 

cot(30) = `*`(`^`(3, `/`(1, 2)))
 

> InvSin(1/2)
 

30
 

> InvCos(1/2*sqrt(3))
 

30
 

> InvTan(1/3*sqrt(3))
 

30
 

> InvCot(sqrt(3))
 

30
 

 

Ligninger 

> lign:=x^6+5*x^3+4=0:%;
 

`+`(`*`(`^`(x, 6)), `*`(5, `*`(`^`(x, 3))), 4) = 0
 

> LøsLigning(lign,x)
 

{x = -1.58740}, {x = -1.}
 

> g:=(3*x-2)/x<3*x/(x-1):%;
 

`<`(`/`(`*`(`+`(`*`(3, `*`(x)), `-`(2))), `*`(x)), `+`(`/`(`*`(3, `*`(x)), `*`(`+`(x, `-`(1))))))
 

> LøsLigning(g,x)
 

{`<`(1, x)}, {`<`(0, x), `<`(x, `/`(2, 5))}
 

> f:=lg(x^2-4)-lg(x+1)=2:%;
 

`+`(`/`(`*`(ln(`+`(`*`(`^`(x, 2)), `-`(4)))), `*`(ln(10))), `-`(`/`(`*`(ln(`+`(x, 1))), `*`(ln(10))))) = 2
 

> LøsLigning(f,x)
 

{x = 101.029}
 

> lign:=Tan(x)^2-Tan(x)=3:%;
 

`+`(`*`(`^`(tan(`+`(`*`(`/`(1, 180), `*`(Pi, `*`(x))))), 2)), `-`(tan(`+`(`*`(`/`(1, 180), `*`(Pi, `*`(x))))))) = 3
 

> LøsLigning([lign,x>0,x<=360],x);
 

{x = 66.5267}, {x = 127.509}, {x = 246.526}, {x = 307.510}
{x = 66.5267}, {x = 127.509}, {x = 246.526}, {x = 307.510}