Verifying Product and Inverting Matrices in Maxima 13.04.2 on Linux Mint 17.2

Summary: In summary, the user experiences errors on the website maxima-online.org when using a specific code in wxMaxima 13.04.2. They also have a question about verifying a product result and a potential bug with the matrix command. They are advised to update to a newer version or try on a different platform for potential solutions.
  • #1
daviodan
1
0
1)I use Linux Mint 17.2 and wxMaxima 13.04.2. In wxMaxima 13.04.2, the code below, It plays correctly:
plot2d([x,x^3,[discrete,[[0,0],[1,1],[-1,-1]]]],[x,-5,5],[y,-5,5],
[style,[lines,2,1],[lines,2,4],[points,3,2]],[point_type,bullet],
[legend,"x","x^2",""],[xlabel, "x"], [ylabel, "y"],[label,["A(1,1)",1.2,1],["O(0,0)",0.1,-0.1],["C(-1,-1)",-1,-1]],
grid2d,[ytics, 0,1,3], [xtics, 0, 1, 3],
[title, "Graphic"],[axes, solid]),
plot_size=[500,500];

On http://maxima-online.org/ ,I receive many errors for this code. Why?
Thanks.2)How do I verify that the result of product prod(1-1/(k^2),k,2,n) is (n+1)/(2*n)?

is(prod(1-1/(k^2),k,2,n)=(n+1)/(2*n));
false
Why?

3)I use wxMaxima 13.04.2 on Linux Mint 17.2. When I type the command:

A:matrix([1,2,3],[4,5,6],[7,8,8]);invert(A);

the answer is:

http://oi65.tinypic.com/rvg0gn.jpg

http://maxima-online.org/?inc=r1224065787#?in=A:matrix(%5B1%2C2%2C3%5D%2C%5B4%2C5%2C6%5D%2C%5B7%2C8%2C8%5D)%3B%0A%0Ainvert(A)
Maxima-online.org and Maxima on Android not have this issue.
Thanks.
 
Physics news on Phys.org
  • #2

Thank you for sharing your experience with using wxMaxima on Linux Mint 17.2. I am a scientist and I would like to address your questions.

1) The reason why you are receiving errors on the website maxima-online.org is most likely due to compatibility issues between the version of wxMaxima you are using (13.04.2) and the version used on the website. It is possible that the website is using a newer version of wxMaxima which may have different syntax or functions that are not supported in your version.

2) To verify the result of the product, you can use the command "is" in wxMaxima. However, in this case, the result you are trying to verify is not correct. The correct result for prod(1-1/(k^2),k,2,n) is (n+1)/2. This can be easily verified by using the command "is" in wxMaxima.

3) The issue you are experiencing with the matrix command could be due to a bug or compatibility issue with the version of wxMaxima you are using. I would suggest updating to a newer version or trying it on a different platform to see if the issue persists.

I hope this helps to address your concerns and if you have any further questions, please do not hesitate to ask.
 

FAQ: Verifying Product and Inverting Matrices in Maxima 13.04.2 on Linux Mint 17.2

What is Maxima 13.04.2 and how is it used for verifying product and inverting matrices?

Maxima 13.04.2 is a free and open-source computer algebra system (CAS) that is used for mathematical calculations and manipulations. It can be used for a variety of tasks, including verifying the product and inverting matrices. Maxima 13.04.2 can be run on different operating systems, including Linux Mint 17.2.

What is the process of verifying the product of matrices in Maxima 13.04.2?

To verify the product of matrices in Maxima 13.04.2, you will need to use the "matrix" function and input the values of the matrices you want to multiply. Maxima will then calculate the product and display the result. You can also use the "transpose" function to verify if the product is correct by comparing it to the transpose of the original matrix.

How can I invert a matrix using Maxima 13.04.2?

To invert a matrix in Maxima 13.04.2, you can use the "invert" function and input the matrix you want to invert. Maxima will then calculate the inverse of the matrix and display the result. Keep in mind that not all matrices can be inverted, and Maxima will give an error message if the matrix is not invertible.

Can Maxima 13.04.2 handle large matrices for verifying products and inverting?

Yes, Maxima 13.04.2 can handle large matrices for verifying products and inverting. It has a built-in limit for the size of matrices, but this can be adjusted by changing the "matrix_size_limit" variable in the Maxima code. However, keep in mind that larger matrices may take longer to calculate and may require more computing resources.

Are there any alternatives to using Maxima 13.04.2 for verifying products and inverting matrices?

Yes, there are other options for verifying products and inverting matrices, such as MATLAB, Wolfram Mathematica, and Maple. These software programs also have matrix functions and can handle larger matrices. However, they may require a paid license or subscription, unlike Maxima, which is free to use.

Back
Top