# Questions tagged [equation]

A statement that the values of two expressions are equal indicated by the sign = .

1,952 questions
Filter by
Sorted by
Tagged with
94kviews

### Equation (expression) parser with precedence?

I've developed an equation parser using a simple stack algorithm that will handle binary (+, -, |, &, *, /, etc) operators, unary (!) operators, and parenthesis. Using this method, however, leaves ...
• 89.4k
186kviews

### How to label each equation in align environment?

I wonder how to label each equation in align environment? For example \begin{align} \label{eq:lnnonspbb} \lambda_i + \mu_i = 0 \\ \mu_i \xi_i = 0 \\ \lambda_i [y_i( w^T x_i + b) - 1 + \xi_i] = 0 \end{...
• 87k
116kviews

### number several equations with only one number

How can I number several equations in a align environment using only one number? For example \begin{align} w^T x_i + b \geqslant 1-\xi_i \text{ if } y_i=1, \nonumber \\ w^T x_i + b \leqslant -1+\...
• 87k
123kviews

### How to write equations in html? [closed]

I want to write some complex mathematical equation in my web page. Is there any plugin or anything for this?
• 982
239kviews

### How can I use "e" (Euler's number) and power operation in python 2.7

How can i write x.append(1-e^(-value1^2/2*value2^2)) in python 2.7? I don't know how to use power operator and e.
• 541
38kviews

### Math equations on the web

How can I render Math equations on the web? I am already familiar with LaTeX's Math mode.
• 22.5k
60kviews

### Equation parsing in Python

How can I (easily) take a string such as "sin(x)*x^2" which might be entered by a user at runtime and produce a Python function that could be evaluated for any value of x?
• 4,317
99kviews

### Solve an equation using a python numerical solver in numpy

I have an equation, as follows: R - ((1.0 - np.exp(-tau))/(1.0 - np.exp(-a*tau))) = 0. I want to solve for tau in this equation using a numerical solver available within numpy. What is the best way ...
153kviews

### How can I solve equations in Python? [closed]

Let's say I have an equation: 2x + 6 = 12 With algebra we can see that x = 3. How can I make a program in Python that can solve for x? I'm new to programming, and I looked at eval() and exec() but I ...
• 473
37kviews

### Is it possible to plot implicit equations using Matplotlib?

I would like to plot implicit equations (of the form f(x, y)=g(x, y) eg. X^y=y^x) in Matplotlib. Is this possible?
• 1,111
12kviews

### how to handle an asymptote/discontinuity with Matplotlib

When plotting a graph with a discontinuity/asymptote/singularity/whatever, is there any automatic way to prevent Matplotlib from 'joining the dots' across the 'break'? (please see code/image below). I ...
• 1,111
68kviews

### How do I break a long equation over lines?

I am trying to add an equation in a new line. The problem is that the equation is too long for the line, and I need to break it manually. Otherwise, it just overlaps to the right column, or to the ...
• 4,009
71kviews

### Simplest way to solve mathematical equations in Python

I want to solve a set of equations, linear, or sometimes quadratic. I don't have a specific problem, but often, I have been in this situation often. It is simple to use wolframalpha.com, the web ...
• 80k
70kviews

• 13.2k