fricas
)set output tex on
fricas
)set output algebra off
fricas
)set output mathml off
Indefinite intregral
arctan = atan
fricas
integrate(1/atan(x),x)
Type: Union(Expression(Integer),...)
Definite intregral
fricas
integrate(1/(a+z^3), z=0..1,"noPole");
Type: Union(f1: OrderedCompletion
?(Expression(Integer)),
...)
fricas
integrate(1/(a+z^3), z=0..1,"noPole")
Type: Union(f1: OrderedCompletion
?(Expression(Integer)),
...)
fricas
integrate(a/(b+z^2),z=0..1,"noPole")
Type: Union(f2: List(OrderedCompletion
?(Expression(Integer))),
...)
Solutions of Transcendental Equations
fricas
solve(cos(x)-y=-sin(x),x)
Type: List(Equation(Expression(Integer)))
fricas
solve(cos(x)-y=-sin(x),y)
Type: List(Equation(Expression(Integer)))
fricas
solve(cos(x)-y=-sin(x),x)
Type: List(Equation(Expression(Integer)))
fricas
solve(cos(x)=0,x)
Type: List(Equation(Expression(Integer)))
fricas
solve(sin(e) - e = 0, e)
Type: List(Equation(Expression(Integer)))
fricas
solve(a*cos(t1) + b*sin(t1) = c, t1)
Type: List(Equation(Expression(Integer)))
fricas
solve(cos(x)-y=-sin(x),x)
Type: List(Equation(Expression(Integer)))
Matrices
fricas
A:=matrix[[cos(x)-y,-sin(x)],[sin(x),cos(x)-y]]
Type: Matrix(Expression(Integer))
Tere is no matrix solve:
fricas
solve(A=0,y)
There are 18 exposed and 3 unexposed library operations named solve
having 2 argument(s) but none was determined to be applicable.
Use HyperDoc Browse, or issue
)display op solve
to learn more about the available operations. Perhaps
package-calling the operation or using coercions on the arguments
will allow you to apply the operation.
Cannot find a definition or applicable library operation named solve
with argument type(s)
Equation(SquareMatrix(2,Expression(Integer)))
Variable(y)
Perhaps you should use "@" to indicate the required return type,
or "$" to specify which version of the function you need.
fricas
A:=matrix[[cos(x)-L,-sin(x)],[sin(x),cos(x)-L]]
Type: Matrix(Expression(Integer))
fricas
B:=solve(A(1,1)*A(2,2)-A(2,1)*A(1,2)=0,L)
Type: List(Equation(Expression(Integer)))
fricas
B(1)
Type: Equation(Expression(Integer))
fricas
A:=matrix[[cos(x)-L,-sin(x)],[sin(x),cos(x)-L]]
Type: Matrix(Expression(Integer))
fricas
B=solve(A(1,1)*A(2,2)-A(2,1)*A(1,2)=0,L)
Type: Equation(List(Equation(Expression(Integer))))
fricas
B(1)
Type: Equation(Expression(Integer))
fricas
v:=vector[v11,v12]
Type: Vector(OrderedVariableList
?([v11,
v12]))
fricas
v:=matrix[[B.1],[B.2]]
Type: Matrix(Equation(Expression(Integer)))
fricas
[a,b]:=solve(A(1,1)*A(2,2)-A(2,1)*A(1,2)=0,L)
Type: List(Equation(Expression(Integer)))
fricas
a
Type: Equation(Expression(Integer))
fricas
b
Type: Equation(Expression(Integer))
fricas
LA1:=[sqrt(-1)*sin(x)+cos(x),-sqrt(-1)*sin(x)+cos(x)]
Type: List(Expression(Integer))
fricas
LA1:=matrix[[sqrt(-1)*sin(x)+cos(x),-sqrt(-1)*sin(x)+cos(x)]]
Type: Matrix(Expression(Integer))
Complex Values
fricas
LA1:=matrix[[sqrt(-1)*sin(x)]]
Type: Matrix(Expression(Integer))
fricas
A:=matrix[[cos(x)-L]]
Type: Matrix(Expression(Integer))
The following produces scripted symbol!
fricas
A:=matrix[a,b]
Type: Symbol
fricas
A:=matrix[[a,b]]
Type: Matrix(Equation(Expression(Integer)))
fricas
A:=matrix[[a],[b]]
Type: Matrix(Equation(Expression(Integer)))
Again, we get scripted symbol!
fricas
A:=matrix[[sqrt(-1)*sin(x)+cos(x)],[b]]
Type: Symbol
fricas
A:=matrix[[sqrt(-1)*sin(x)+cos(x)],[-sqrt(-1)*sin(x)*cos(x)]]
Type: Matrix(Expression(Integer))
fricas
LA1:=matrix[[sqrt(-1)*sin(x)+cos(x)],[-sqrt(-1)*sin(x)+cos(x)]]
Type: Matrix(Expression(Integer))
fricas
LAM:=matrix[[sqrt(-1)*sin(x)+cos(x)],[-sqrt(-1)*sin(x)+cos(x)]]
Type: Matrix(Expression(Integer))
fricas
A:=matrix[[cos(x)-L,-sin(x)],[sin(x),cos(x)-L]]
Type: Matrix(Expression(Integer))
fricas
D:=matrix[[sqrt(-1)*sin(x)+cos(x)],[-sqrt(-1)*sin(x)+cos(x)]]
Type: Matrix(Expression(Integer))
fricas
A*D
Type: Matrix(Expression(Integer))
fricas
v:=matrix[[v11],[v12]]
Type: Matrix(Polynomial(Integer))
fricas
A*v
Type: Matrix(Expression(Integer))
fricas
D(1,1)*v
Type: Matrix(Expression(Integer))
fricas
solve([w = 0 for w in parts(A*v - D(1,1)*v)], [v11, v12])
Type: List(List(Equation(Expression(Integer))))
Note that the following does not work:
fricas
solve(A*vA*v=D(1,1)*v,v)
There are 18 exposed and 3 unexposed library operations named solve
having 2 argument(s) but none was determined to be applicable.
Use HyperDoc Browse, or issue
)display op solve
to learn more about the available operations. Perhaps
package-calling the operation or using coercions on the arguments
will allow you to apply the operation.
Cannot find a definition or applicable library operation named solve
with argument type(s)
Equation(Matrix(Expression(Integer)))
Matrix(Polynomial(Integer))
Perhaps you should use "@" to indicate the required return type,
or "$" to specify which version of the function you need.
despite possibility of creating matrix equations:
fricas
A*vA*v=D(1,1)*v
Type: Equation(Matrix(Expression(Integer)))
Undetermined example:
fricas
A:=matrix[[cos(x),-sin(x)],[sin(x),cos(x)]]
Type: Matrix(Expression(Integer))
fricas
D:=matrix[[sqrt(-1)*sin(x)+cos(x)],[-sqrt(-1)*sin(x)+cos(x)]]
Type: Matrix(Expression(Integer))
fricas
v:=matrix[[v11],[v12]]
Type: Matrix(Polynomial(Integer))
fricas
A*v
Type: Matrix(Expression(Integer))
fricas
D(1,1)*v
Type: Matrix(Expression(Integer))
fricas
A*v-D(1,1)*v
Type: Matrix(Expression(Integer))
fricas
solve([w = 0 for w in parts(A*v-D(1,1)*v)], [v11, v12])
Type: List(List(Equation(Expression(Integer))))
fricas
A:=matrix[[cos(x),-sin(x)],[sin(x),cos(x)]]
Type: Matrix(Expression(Integer))
Differential Equations
fricas
)clear all
All user variables and function definitions have been cleared.
y := operator 'y
fricas
solve(D(y x, x)^2+y x=1,y,x)
>> Error detected within library code:
getlincoeff: not an appropriate ordinary differential equation
fricas
deq := (x^2 + 1) * D(y x, x, 2) + 3 * x * D(y x, x) + y x = 0
Type: Equation(Expression(Integer))
fricas
solve(deq, y, x)
Type: Union(Record(particular: Expression(Integer),basis: List(Expression(Integer))),...)
fricas
solve(D(y(x),x)-y(x)^2=1,y,x)
Type: Union(Expression(Integer),...)
Just trying to understand the syntax
fricas
solve(a*x^2+b*x+c,x)
Type: List(Equation(Fraction(Polynomial(Integer))))
fricas
solve(a*x^2+b*x+c=0,x)
Type: List(Equation(Fraction(Polynomial(Integer))))
fricas
zerosOf(a*x^2+b*x+c,x)
Type: List(Expression(Integer))
fricas
zerosOf(sqrt(h^2+a^2)-a=d,a)
There are 2 exposed and 0 unexposed library operations named zerosOf
having 2 argument(s) but none was determined to be applicable.
Use HyperDoc Browse, or issue
)display op zerosOf
to learn more about the available operations. Perhaps
package-calling the operation or using coercions on the arguments
will allow you to apply the operation.
Cannot find a definition or applicable library operation named
zerosOf with argument type(s)
Equation(Expression(Integer))
Variable(a)
Perhaps you should use "@" to indicate the required return type,
or "$" to specify which version of the function you need.
fricas
solve(x^2+x+1=98,x)
Type: List(Equation(Fraction(Polynomial(Integer))))
fricas
solve(x^2+2*x+1=0,x)
Type: List(Equation(Fraction(Polynomial(Integer))))
Solutions in Expression domain
fricas
solve((x^2+x+1=98)::Equation Expression Integer,x)
Type: List(Equation(Expression(Integer)))
fricas
solve((x^3 * b + x^2*(b*d - b + 1) + x*(3*d - b*d - 1) + 2*d^2 - 2*d = 0)::Equation Expression Integer, x)
Type: List(Equation(Expression(Integer)))