Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [math-software]

For help with mathematical questions arising from software such as Maple, MATLAB, Mathcad, Pari/GP, R, and the WolframAlpha website, etc. Consider posting questions about Mathematica at the Mathematica StackExchange instead. For GAP, SAGE, and MAGMA, one might use tags (computer-algebra-systems), (gap), (sage), (magma-cas).

1
vote
0answers
34 views

Is there a usable WYSIWYM math editor for MathML/XML similar to what LyX is to LaTeX?

It was suggested that I add this following background comment: I've been a Mathematica user since version 2. I have even written to Stephen Wolfram suggesting a front-end supporting my vision. I love ...
0
votes
0answers
12 views

maple and stationary points

How can I work out the stationary points,both y and the x values of this function :xy-x^2-y^2. I have worked out the first derivative. Also, I have tried the method to work out the stationary point of ...
0
votes
1answer
22 views

How to solve for A and B given Y=A+B and Z =B+C

Forgive me if this question is very simple or if my question is in wrong format. I Have a set of random numbers let's say 7, 9, 1 And this could go on but only positive integers. I have to add these ...
0
votes
0answers
16 views

Mathematica plot ticks [closed]

I have this simple timeline plot below from standard commands, but I want month names in Spanish, that is, custom, say Enero instead of January and so on. If possible I would like to go further and ...
1
vote
1answer
27 views

Numerical Solver Exercise

Sensitivity to initial conditions is well illustrated by a little target practice with your numerical solver. Enter $x' = x^2 - t$ into your numerical solver, and then experiment with initial ...
-1
votes
0answers
44 views

Find a critical point for $f(x,y)$ using Newton Raphson [MATLAB]

I was tasked with finding the critical point of a function $f(x,y)=(x-1)^2 + (y-1)^2$ Using my Newton Raphson program written in MATLAB. ...
0
votes
0answers
17 views

How to code for $\phi_{k,N,L}=\sum_{i=k-L+1}^{k}\frac{\phi_{i,N-1,L}}{(k-i)!}I_{[0,(N-1)(L-1)]}(i)$

I have the following equation $$ \left[\sum_{k=0}^{m-1}\frac{1}{k!}x^k\right]^n=\sum_{k=0}^{n*(m-1)}\phi_{k,n,m}\times x^k. $$ where $\phi_{k,N,L}$ function define by $$\phi_{k,N,L}=\sum_{i=k-L+1}^{...
2
votes
2answers
317 views

What is maximum value of $a b\mod c$ , where $a$ and $c$ are known.

I need to find maximum value of $a b \mod c$ where values of $a$ and $c$ are given. Eg: $a = 7 , c= 10 $ By putting $b = 7$ we get maximum value as $9$.
3
votes
0answers
50 views

Fast way to write down math on a computer

I am currently having the issue that I need to write down some mathemtaical equations that contains more complex items like matrixes and fractions rather quickly. While LaTeX is the standard when ...
0
votes
1answer
22 views

P Langauage to NP Reduction in Polynomial Time

Let L be a language in P. Prove it is polynomial time reducible to any language in NP, including any language in P, which contains at least one string but doesn’t contain all the strings. I tried ...
0
votes
1answer
35 views

Can someone help me numerically integrate some integrals involving quotient and $\sin(x)$?

I am trying to numerically integrate the following integrals ($*$ is multiplication symbol): (1) $$ \dfrac{1}{4}\dfrac{\sin(\pi y) - \sin(\pi x)}{y - x}*\dfrac{(\sin(\pi x)*y - \sin(\pi y)*x)}{y - x}$...
-1
votes
1answer
35 views

Is there online software that can let me plot a vector function in a different basis?

If I have a vector valued function with components $x_1= \sin(t)$ and $x_2= \cos(t)$, is there a site where I can just quickly see what it looks like with a basis like $<0, 1,2>, <-1,-1/2>$...
0
votes
1answer
30 views

How can I use software to check the accuracy of my equations and which software?

I have been asked to check some engineering calculations even though that is not my area of expertise. Given the complexity of the problem I would like to use a software package to do the verification....
0
votes
1answer
57 views

Use matplotlib to plot the functions $y = x^3 + 3x^2 - x + 0.3\ $ and $y = \sin x$ [closed]

I'm new to Python coding and wondered if someone could give me the coding to plot these two graphs on the same program. This is what I have so far, exactly as typed on Python, however I know that ...
0
votes
0answers
11 views

Using the `initialIdeal` function in Macaulay2

My understanding is that there's an initialIdeal function in Macaulay2 for computing intial ideals with respect to a grading, specifically in the ...
0
votes
1answer
20 views

Estimate the mean of the independent variable (regression)

If I have the simple linear model: $y=\alpha+\beta x+\epsilon$, and I know that $\hat{\alpha}= \hat{\overline{y}}-\hat{\beta}\hat{\overline{x}}$. Then my estimate og the mean is actually: $\hat{\...
2
votes
0answers
43 views

How does a CAS find closed form solutions to an integration problem?

Programs like Mathematica, Maple, Maxima and many others can compute integrals, differentiate mathematical expressions or do all other sorts of cool stuff. My question is what kind of mathematics do ...
0
votes
1answer
49 views

Creating my own “Category Diagram Database” with query language.

Neo4j and other graph database software out there for one don't support subgraph isomorphism search out-of-the-box which is what I need and I'd also like full expressivity of a CFG on label matchings ...
0
votes
1answer
19 views

How to translate an element in a Coxeter group written as a matrix in Sage to reflections (a list)?

I am trying to use Sage to reduce a word to a reduced word. For example, consider the word $w=[4, 3, 2, 4, 3, 2, 1, 2, 4, 3, 2, 1, 3]=s_4s_3s_2s_4s_3s_2s_1s_2s_4s_3s_2s_1$. I used the following code ...
1
vote
0answers
20 views

Software allowing one to play with various permutation groups?

An example of a game that is a permutation group is rubix cube. It is illustrative to see an example of a permutation group. It would be nice if there is a game/piece of software that includes ...
1
vote
1answer
31 views

Positioning arrow labels using linear algebra.

How do we position labels using linear algebra? My save/updateTextPosition() code is buggy. The general problem is this: given a label $L$ of a moveable / repositionable arrow $A : x \to y$ how do ...
0
votes
0answers
15 views

How can I draw the vector field lines that follows the direction of eigenvectors in Gnuplot?

I have 2 3-D eigenvectors and I would like to draw the vector field lines as converging to one eigenvector and starts diverging from the intercept with the other eigenvector. My eigenvectors look ...
0
votes
0answers
34 views

Plotting vector field lines and eigenvectors on Gnuplot

I have been trying to draw the phase portrait of a system in 3D and I need to use Gnuplot for it but I really could not find anything in the internet about drawing 3D-eigenvectors and the vector field ...
0
votes
1answer
47 views

Graphing Millions of Points

I am attempting to plot millions of points in a scatterplot, in such a way that the graph can be zoomed in on to explore the inner structure. Does anyone have any tips on a way that this can be done ...
5
votes
2answers
98 views

Smallest $1\ 000$ digit number $x$ , such that $x$ , $x+2$ and $x+6$ are all prime?

I am currently searching for the smallest $1\ 000$ digit number $x$, such hat $x,x+2,x+6$ are all prime (Such a triple is also called a prime constellation). For this, I wrote this PARI/GP - program : ...
1
vote
0answers
53 views

What computer algebra system or package for abstract algebra best suits me?

I am a mathematics student who wants a tool on the side, either specifically aimed at, or well suited for abstract algebra (ring/ideal theory, module theory, but perhaps graphs and combinatorics as ...
0
votes
0answers
42 views

What does the first “non-free” variable mean here when substituting in simple type theory?

See this screenshot of the book "Basic Simple Type Theory". The infinite sequence they refer to is just a way to formalize the concept of having enough variables to work with no matter what. In my ...
1
vote
1answer
36 views

Range of matrix Set builder notation

I am unable to to understand this. $$ \text{Range}(A) = \{v ∈ R^5: v = Ax \text{ for some }x\} $$ $$ \text{Range}(A^T) = \{v ∈ R^5: v = A^Tx \text{ for some } x\}** $$ Can anyone please explain this ...
0
votes
1answer
13 views

Comparison of two self ratings

I have a small doubt regarding the comparison of two ratings. I have two candidates, I asked them to rate themselves out of 10 in 4 different subjects. Both have the same level of knowledge in both ...
1
vote
1answer
75 views

Html5 Math Applets. Interactive free online

I was an aficionado at collecting links from websites with math java applets that allowed interaction to learn mathematical concepts visually and interactively. My favorite was http://www.ies-math.com/...
0
votes
0answers
24 views

What software can draw boxplots?

I'm looking for a program that is capable of drawing such a picture (with all the descriptions as well): I would be very grateful for any suggestion.
1
vote
2answers
38 views

Program or computing system [closed]

What programs do you suggest to me such that when introducing a set of numbers, it will answer possible functions that generate them? Different wolfram, neither OEIS. For example, if I input 2, 3, ...
-1
votes
1answer
77 views

Tangent line to a 3D curve at a given 3D point

I'm trying to compute tangent vector(x,y,z) to a 3D curve(start x1,y1,z1 end x2,y2,z2) at a point (x0,y0,z0). Can anyone tell if this information is sufficient to calculate the tangent vector? If yes ...
0
votes
0answers
23 views

BAYESIAN MODELLING: Using R and OpenBUGS fit the (fixed effects) linear model to the data: yi = β0 + β1xi + bzi + i , i ∼ N(0, σres)

The data set ‘Politeness’ contains data from a study on the voice pitch (measured as a frequency) of 84 subjects. Six individuals, three males and three females, were asked to perform some tasks, such ...
2
votes
1answer
81 views

Command to compute the number of $5$-colorings of all $(2k, k^2)$-graphs

I would like Sage to compute the number of all $5$-colorings of graphs on $2k$ vertices and $k^2$ edges with clique number 3 for a specified $k \geq 1$. I know how to ask call nauty and ask sage to ...
0
votes
0answers
42 views

Software recommendation needed for optimal control

My subject is optimal control of PDE and I want to put optimal control problems in Matlab to be solved but I don't know how to do this. I would be grateful if you could give me some references in that ...
0
votes
0answers
20 views

How to calculate weights for pages without Inlinks or Outlinks in WEIGHTED PageRank?

I am trying to implement a variant of PageRank proposed by Wenpu Xing and Ali Ghorbani (see page 4 in the below link) in Matlab. In this variant, the weights require each page to have inlinks from a ...
1
vote
1answer
44 views

Venn Diagram tool to help with learning set theory

I want to use Venn Diagrams to help me to develop confidence and skill in set theory, including various proofs. I found this tool online: https://www.wolframalpha.com/widgets/view.jsp?id=...
1
vote
0answers
40 views

best software package to numerically solve high order nonlinear ODE boundary value problem

I need to numerically solve a 4th and 5th order nonlinear ODE BVP and I was hoping I could get some advice on the best software package to solve these types of problems. I've used MATLABS bvp4c for ...
0
votes
0answers
65 views

Type casting in Magma

I'm doing a Magma implementation of the Camellia block chiper for an university project. I'm facing an annoying problem, I have a sequence, representing a binary value, that I need to convert to an ...
1
vote
0answers
103 views

What are some nontrivial things one could do with GAP? [closed]

I'm learning algebra at the undergraduate level and came across the group theory software called GAP. Despite some googling I'm not sure what things one could do with such software that would really ...
1
vote
0answers
12 views

What is the way to go from point 1 to 2 while remaining in the region defined by half torus?

Basically this is a trajectory planning problem. As shown in figure below, how can I ensure that in moving from a point (x,y,z) to another point within torus, I don't get out of that torus region? go ...
0
votes
1answer
32 views

Evaluating a derivative in gp/pari

Specifically, I'm trying to evaluate the derivative of the Weierstrass P function at a specific point. I know that I can set up a function like the following p(z) = ellwp([1,I],z); Which will ...
2
votes
1answer
36 views

Can composition of morphisms in a category be carried out on any subgraph of a commutative diagram, in-place?

Here is what the rule looks like to us and how we specify it to the app I'm writing. I was wondering can you take any commutative diagram $J$ and apply this rule to a subgraph matching $A \...
0
votes
0answers
44 views

Best software to do big number calculations quickly

I am trying to do some work on some math conjecture. I am testing the conjecture numbers using very large math numbers (1000+ digits ). I am currently using python to test these numbers. In the ...
-1
votes
3answers
35 views

What will be the input based on the output?

A = 1.0 B = 1.0 C = A / (1-(B/100)) This will give an output as 1.01 What will be the output when A and C are only given? A = 1.0; B = ?; C = 1.01; 1.10 = 1.0 / (1-(? / 100)) What is the answer ...
0
votes
0answers
22 views

New coordinates after rotation

Suppose an object originally points to the z-direction, if I rotate it to an arbitrary direction (say,[0.3, 0.4, 0.5]). What are the new coordinates of the points on the objects? Thank you!
0
votes
1answer
22 views

looking for graphing app/software which can graph this equation

I have an equation which makes a spiral that I want to print but none of the apps/sites I tried generate enough spiral curves. I want at least 11 curves. I already tried desmos.com and mathstud.io - ...
0
votes
1answer
66 views

How to make a list of variables in Magma(computer algebra system)?

In sagemath, for making a list of variables like $ Z=[z00,z01,z02, ... ,z97,z98,z99] $ we can use this code: ...
0
votes
0answers
17 views

Is there a certain program with which I could make several substitutions in a very large algebraic expression?

I'm doing some fairly basic (but incredibly messy) mathematics that involves a lot of algebra. I've gotten to a point where I need to substitute certain sets of variables to make the expressions more ...