equation Questions

8

I want to manually break a line inside $$: $$something something <breakline> something else$$ I tried \\, \newline, and \linebreak but none work. Ideas?
Harlandharle asked 23/12, 2009 at 18:55

3

I have a variable that is function = '(2*1)+3'. How would I get it out of string form and calculate the answer? I tried using float(), int(float()) but I'm not sure if that's for numbers only or no...
Hubert asked 9/10, 2015 at 2:58

5

Solved

I'm writing a program in which an equation is inputted as a string, then evaluated. So far, I've come up with this: test_24_string = str(input("Enter your answer: ")) test_24 = eval(test_24_string...
Falsework asked 7/5, 2017 at 21:23

16

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 e...
Extensile asked 29/10, 2009 at 8:48

4

Solved

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)...
Lundgren asked 29/3, 2010 at 18:27

16

Solved

I've developed an equation parser using a simple stack algorithm that will handle binary (+, -, |, &, *, /, etc) operators, unary (!) operators, and parenthesis. Using this method, howeve...
Downward asked 26/8, 2008 at 14:52

2

Solved

I'm using Mathjax to display equations in a web application done in PHP/Ajax. The equations are rendered correctly when the page is loaded first.In the same page, when user clicks a button, an ajax...
Bedrabble asked 16/11, 2011 at 12:0

3

Given the spring parameters used in [UIView animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:]: usingSpringWithDamping initialSpringVelocity ...

6

Solved

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 \...
Pockmark asked 8/4, 2010 at 11:58

8

Solved

I have three equations like the following ones: x + y + z = 100; x + y - z = 50; x - y - z = 10; How can I find the values of x, y, and z with Java? String equation1="x+y+z=100;"; String equat...
Median asked 16/9, 2009 at 9:18

1

Solved

After having tried many things, I thought it would be good to ask on SO. My problem is fairly simple: how can I solve the following equation using Sympy? Equation I want to solve this for lambda_0 ...
Counterplot asked 31/10, 2020 at 20:25

7

Solved

I want to write some complex mathematical equation in my web page. Is there any plugin or anything for this?
Triglyph asked 14/9, 2012 at 20:11

6

I have numeric feature observations V1 through V12 taken for a target variable Wavelength. I would like to calculate the RMSE between the Vx columns. Data format is below. Each variable "Vx" is m...
Sixtyfourmo asked 7/10, 2014 at 13:53

2

I have an equation that I wrote in r-markdown as follows $$ 2 \frac{meter}{day} * 3 ~ days $$ I'd like to show that the days cancel by striking them out. You can strike out text in r-markdown ...
Cirrhosis asked 29/11, 2018 at 16:12

5

Solved

The following formula is used to classify points from a 2-dimensional space: f(x1,x2) = np.sign(x1^2+x2^2-.6) All points are in space X = [-1,1] x [-1,1] with a uniform probability of picking ea...
Spectacular asked 19/8, 2015 at 10:27

2

Solved

I'm using \deqn{}{} with roxygen2 to document equations for a function in a package. The LaTeX (the 1st argument to deqn) renders fine because white space is ignored in LaTeX equations, but I have ...
Meadors asked 26/12, 2012 at 13:56

5

Solved

Is there a JavaScript library or function that will solve equations for variables? Such as 9 = 3 + x and solve for x. But it should also solve more advanced equations that include sine, cosine, an...
Scallop asked 22/12, 2010 at 22:29

2

Solved

I'm trying to solve this exponential equation like this: my ($l,$r); for (1 .. 100) -> $x { $l = $x * e ** $x; $r = 5 * (e ** $x - 1); say $x if $l == $r; } But it doesn't work. How t...
Prevot asked 5/4, 2020 at 21:34

1

Solved

In Jupyter Notebook markdown cells, is there a way to make the font size larger in the equation? c = $\frac{a}{b}$ I triedc = \large{$\frac{a}{b}$} but it doesn't work.
Veneaux asked 23/3, 2020 at 9:57

6

Solved

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?
Orpington asked 20/3, 2010 at 20:0

2

Solved

Can anyone tell me the python code to solve the equation: 2w + x + 4y + 3z = 5 w - 2x + 3z = 3 3w + 2x - y + z = -1 4x - 5z = -3 I have the following code but it isn't working: A2 = np.array([[...
Unasked asked 15/11, 2019 at 14:0

6

I've a client selling wine bottles. He uses boxes with space for 6 bottles, 12 bottles, 18 bottles and 21 bottles. But he only wants to accept orders which fit exactly into these boxes. There must ...
District asked 16/9, 2019 at 20:2

2

Solved

Solve the system of two equations with two unknowns below: a1, b1, c1, a2, b2 and c2 are inputted by the user himself. I've been trying to find a math solution for the problem first and I can't...
Hypoderm asked 27/10, 2013 at 14:36

1

Solved

I have a double-column paper and I want to fit a long text within a bracket equation with the following code: \begin{equation} \small M =\begin{cases*} 1, & some text is in here some text is...
Enter asked 6/9, 2019 at 10:47

5

Solved

I need a library to be able to parse an equation an give me the result giving the inputs. For example something like this: String equation = "x + y + z"; Map<String, Integer> vars = new Has...
Upstroke asked 13/1, 2011 at 15:46

© 2022 - 2025 — McMap. All rights reserved.