For help with mathematical questions arising from software such as Maple, MATLAB, Mathcad, Pari/GP, R, and so on. Consider posting questions about Mathematica and WolframAlpha onto Mathematica StackExchange instead. For GAP, SAGE, and MAGMA, use computer-algebra-systems.

learn more… | top users | synonyms

0
votes
0answers
40 views

Modified Lucas-Lehmer Test

Conjecture (Modified LL) Let $M_p=2^p-1$ such that $p$ is odd prime and $p\equiv 5 \pmod{6}$ . Let $S_i=S_{i-1}^8-8\cdot S_{i-1}^6+20\cdot S_{i-1}^4-16 \cdot S_{i-1}^2+2$ with $S_0=4$ , then $M_p$ ...
0
votes
1answer
30 views

Where can I find a binary calculator that can do exponentiations, roots and logarithms?

I've searched on Google, but all I found was binary calculators that can do additions, subtractions, multiplications and divisions, nothing else.
0
votes
3answers
1k views

Calculator for Arithmetic in Alternate Bases

In the course I'm currently teaching, we're testing our understanding of elementary school arithmetic algorithms by working in base 5. Each day, I write up several example problems for them to try ...
2
votes
0answers
42 views

Highly Customizable Graphing Software for Algorithmic Art

For my local hacker/maker space I want to do some etched copper plates that have stylized algorithmic functions on them. If you've seen etched PCB circuits then you're familiar with what I'm talking ...
2
votes
7answers
621 views

Software to display 3D surfaces

What are some examples of software or online services that can display surfaces that are defined implicitly (for example, the sphere $x^2 + y^2 + z^2 = 1$)? Please add an example of usage (if not ...
2
votes
0answers
60 views

Math software for plotting phase portraits

I'm looking for math software which is possible to plot phase portraits for ODE and systems of differential equations. Is there a software which can create not only simple 2D phase portrait plots but ...
3
votes
1answer
141 views

How do I substitute a value into a polynomial in GAP?

Question: How do I substitute a value into a polynomial in GAP? So, if I start off with the following: x:=Indeterminate(Integers,"x"); f:=x^2+3; I have $f$ ...
5
votes
1answer
137 views

Efficient free alternative to *Mathematica*

I am searching for a free alternative to Mathematica. By efficient, I mean that it should have every (or at least almost every) function that you can find in Mathematica, including for example Number ...
3
votes
2answers
11k views

Implement a program in Matlab for LU decomposition with pivoting

I need to write a program to solve matrix equations Ax=b where A is an nxn matrix, and b is a vector with n entries using LU decomposition. Unfortunately I'm not allowed to use any prewritten codes in ...
4
votes
2answers
193 views

The J programming language: is it useful for mathematics?

I just stumbled upon the J programming language, which has the description: J is particularly strong in the mathematical, statistical, and logical analysis of data. It is a powerful tool in ...
1
vote
1answer
225 views

Is there software I can use to draw this graph?

So, I have this particular graph to consider. It has the vertex set $\{1,...,17\}$ and edge set $\{(i,j)|i+j ~\mbox{is prime}\}$. Define a cost function $c:E(G)\mapsto \mathbb{R}$ by setting ...
2
votes
1answer
65 views

Software for math sketching

Usually when you're writing in LaTeX you want some pretty illustrations. Right now for geometry figures I use GeoGebra, which is easy enough; but I usually see better figures on other papers. Plus, ...
0
votes
1answer
43 views

Exponential least squares biased to small y?

I'm working on fitting an exponential decay curve to a data set. While searching for techniques I found Wolfram's page describing how to easily accomplish it by taking the natural log of the ...
1
vote
3answers
190 views

Runge Kutta 8(5,3)

This is actually three small very related questions about Runge Kutta methods. 1) I have programmed a RK 7(8) method also RK 4(5). At the beginning I was assuming that the RK 7(8) uses two ...
0
votes
2answers
73 views

Defining a probability density function in R (software), and sampling from it

I'm asked to generate a random sample from a logistic distribution with the PDF, $$f(x)=\frac{e^{-x}}{(1+e^{-x})^2}$$ without using the function rlogis(...) So I ...
75
votes
21answers
39k views

Software for drawing geometry diagrams

What software do you use to accurately draw geometry diagrams?
0
votes
0answers
58 views

Calculations in McLain groups

Is there any program in GAP or other softwares doing calculations in McLain groups and finding subgroups etc. For the McLain groups see Derek Robinson's book: A course in the theory of groups, p347 ...
0
votes
1answer
25 views

Mathcad simplify results using cnsg instead of 1

How can I prevent Mathcad from adding csgn to my siplification? Sample: (x-1)/((x-1)^2)1/2 simplify -> csgn(x-1) Image from Mathcad
1
vote
4answers
567 views

Calculator similar to Desmos but for 3D

Is there a calculator with functionality similar to Desmos but in 3 dimensions? I am looking to learn about families of quadric surfaces so I am looking for a 3D calculator with sliders.
-2
votes
1answer
26 views

Is there a document creator that allows for basic entry? [closed]

I am really not sure how to word this... I'm wondering whether there is a program that allows for document writing, and works in a similar way to the Equation Editor in MS Word? (obviously without ...
1
vote
1answer
76 views

Formula rewriting software

I would like to have a program that rewrites formula's for me. What I would like a software where I can imput some formulas, constraints, and so on, and then the program outputs the formulas that ...
19
votes
9answers
8k views

3D software like GeoGebra

Does it exist a free interactive geometry software, like GeoGebra, which works for 3D geometry? I would be able to draw spheres, great circles, and so on.
1
vote
1answer
61 views

What software and hardware can you use to write math and take notes?

I'm trying to basically replace paper. I want to be able to write things and draw things out as easily as I can on paper. I bought the Wacom Intuos tablet on Amazon but ended up returning because it ...
5
votes
1answer
230 views

FLOSS tool to visualize 2- and 3-space matrix transformations

I'm looking for a FLOSS application (Windows or Ubuntu but preferably both) that can help me visualize matrix transformations in 2- and 3-space. So I'd like to be able to enter a vector or matrix, ...
6
votes
2answers
145 views

Software or tool for investigating groups

I'm interested in software that has the ability to investigate finite groups. In particular, I'd like to be able to ask it questions like "What are the solutions to $x^3 = 1$?" (i.e. find cube roots ...
1
vote
0answers
43 views

Time series library in Java

I'm looking for a library to do some time series analysis in Java but I can't find anything suitable. I've found plenty of libraries such as Math3 of JSAT but there's much I can you for my problem. As ...
4
votes
1answer
104 views

Computer Algebra Systems for Experimental Mathematics (especially Integer Relations with PSLQ)

I would like to use a computer algebra system to do some experimental mathematics, particularly Integer Relation problems using the PSLQ algorithm. I know that Maple has a PSLQ implementation, but ...
2
votes
2answers
578 views

How can I find out whether a number is a quadratic residue in a large modulo?

Without strenuous arithmetic. Is there a program I can download to do so? What are the quadratic residues modulo $5^4$ or $5^5$? Thanks!
5
votes
2answers
155 views

Computing contractions of ideals in Macaulay2

Does Macaulay2 compute contractions of ideals under ring homomorphisms. Specifically, if $R\subseteq S$ is a ring extension (say polynomial rings over $\mathbb{Q}$ which can be specified in M2) and ...
2
votes
0answers
48 views

What kind of structures can I count using Alg?

I'm interested in counting structures that satisfy certain constraints up to isomorphism. For example, I might want to know how many clutters there are on $n$ vertices. The only way I can think to ...
1
vote
1answer
68 views

Programming PARI/GP to do a sum

I'm trying to compute the following sum in PARI/GP $C=\sum_{n=1}^{\infty} \frac{g(n)}{n^2}$ where $g(n)$ defined as $$g(n)=(-1)^r, \qquad r=\text{number of even indexed prime factors of $n$}$$ By ...
3
votes
0answers
66 views

Program for writing a Bachelor Thesis. [closed]

Hello Im prolly going to start writing my bachelor thesis really soon (on geometric ergodicidy). It will obviously contain lots of mathematical formulas and symbols. Does anyone know a really good ...
1
vote
1answer
91 views

Implementing a function in PARI/GP

I want to define a function: $$g(n)= \begin{cases} +1 & \text{if $n=1$},\\ +1 & \text{if $n$ is an odd indexed prime}, \\ -1 & \text{if $n$ is an even indexed prime},\\ (-1)^r & ...
0
votes
0answers
54 views

Can a Computer Algebra System 'experiment' with expressions?

I have recently been reading about software for symbolic manipulation, and I can see its use as a tool for performing large calculations that would be unfeasible otherwise. Given that these systems ...
0
votes
1answer
573 views

total number of different mixes

Patient Age Avg Visits / Year <1 year 7.5 1-4 years 3.0 5-14 years 1.8 15-24 years 1.7 25-44 years 2.6 45-64 years ...
0
votes
1answer
53 views

How to represent R function dexp mathematically?

I need help representing this line of code mathematically. exp(sum(dexp(x,prop_theta,log=TRUE)) - sum(dexp(x,cur_theta,log=TRUE))) Thanks for your help in ...
1
vote
1answer
87 views

Software to easily draw 3d plots from functions

my problem is that I need a way to quickly check results of my, that is to say, homework. I think that the best way to do this is to draw a plot of a function to quickly see whether my solution is ...
5
votes
0answers
135 views

Any abstract algebra book with programming (homework) assignment?

All: I had studied abstract algebra long time ago. Now, I would like to review some material, particularly about Galois theory (and its application). Can anyone recommend an abstract algebra book ...
0
votes
0answers
32 views

Tool for differentiating a matrix and solving a matrix equation (in closed-form)?

Is there any software or online tool that can analytically solve a complex matrix equation, such as the following one in closed form (not numerically)? $$\frac{\partial \; ...
1
vote
0answers
71 views

Any complex analysis book with programming assignment and exercises?

All: I had studied complex analysis long time ago. Now, I would like to review some material, particularly about Analytic function, Riemann zeta and Analytic function. I have been a software ...
1
vote
2answers
85 views

Free solvers in C/C++ for convex integer programming

I need to solve the following integer program: $\text{minimize } \sum_{i=1}^n(a_{i0} x_i + \sum_{k=1}^3 a_{ik}w_i^k + \sum_{j=1}^m d_{ij}y_{ij})$ $\text{subject to}$ $$ \sum_{i=1}^n y_{ij}=1, \quad ...
0
votes
0answers
37 views

Subject to in equation

I have the formula below: $$\hat x_2=\arg\min\lVert x\rVert_2\quad\text{subject to}\quad A{x}=y.$$ But I didn't understand what was meant by "subject to" ? does $x$ is replaced by $x_2$? please can ...
5
votes
3answers
647 views

What free software can I use to solve a system of linear equations containing an unknown?

Question: What free software can I use to solve a system of linear equations $M\mathbf{x}=\mathbf{y}$ where the entries of $\mathbf{y}$ vary with an unknown quantity $n$? Presumably I could do ...
4
votes
4answers
953 views

Find the area of an equilateral triangle given the distances from an interior point to the vertices

Given the distances from an interior point to the vertices of an equilateral triangle, find the area of that triangle. I have already tried equating $\sqrt{3}\times a^2/4$ and sum of the area of ...
2
votes
1answer
83 views

Possibilities of calculate the determinant of an $168\times168$ matrix

Sincerely I've zero knowledge of this kind of math, but I've recently come to work in a friend's project to calculate a matrix of this size. This friend of mine has tried to do this with excel, with ...
1
vote
1answer
115 views

total number of combinations?

Patient Age ---> Avg Visits / Year <1 year ---> 7.5 1-4 years ---> 3.0 5-14 years ---> 1.8 15-24 years ---> 1.7 25-44 years ...
0
votes
0answers
38 views

How to reduce a graph via decomposition?

Is there a Java / C# library that can be used to reduce a graph via decomposition? Or could someone point me to a good tutorial where I can learn all these? E.g.
1
vote
1answer
68 views

What's the best software for primality tests of huge numbers? (check if an integer is prime or not)

I just read an article about huge prime numbers (some with more than 10millions digits!) that are discovered using software that check if an integer is prime or not (primality test sofwares). What is ...
0
votes
1answer
40 views

Solve a system of equations.

I have a system of equations: \begin{align} & x_{21} (\frac{\partial}{\partial x_{11}}f_{1111})( x_{11} , x_{21}, y_{11} , y_{21} ) + \frac{y_{21}}{x_{11}^2} (\frac{\partial}{\partial ...