My own equation is a bit longer, but the following example shows perfectly where I struggle at the moment. So far I have been using the let() and letsimp() function to substitute longer terms in an equation, but in this example they have no effect: (%i1) eq: ((2*u+a^2+d) * y+x)/2*a...

I 'm trying to display an AsciiMath formula in display mode, but whatever I try its still inline Here is my MathJax configuration: MathJax.Hub.Config({ AsciiMath: { fixphi: true, useMathMLspacing: true, displaystyle: true, decimalsign: "." }, extensions: ['asciimath2jax.js'], jax: ['input/TeX', 'input/AsciiMath', 'output/HTML-CSS'] }); And the HTML <p>Once upon a time ......

I have data represented in the figure. The curves were extrapolated and I have a line whose equation is known. The equation of curves are unknown. Now, how do I find the points of intersection of this line with each of the curves? The reproducible code: import numpy as np...

Is there a way to obtain the order of an ODE in mathematica. For example, if i have y''+5y i want mathematica return 2 (beacuse it's a 2nd order equation). So, is it possible what i'm asking? ...

I would like to split my large equation in two column. But my file fails to compile when I try to use \{amsmath} and then split, multline, etc... The error says: Package amsmath Error: \begin{multline} allowed only in paragraph mode. \begin{multline} Does someone knows how to split a large equation...

I have problem with my simple program in assembly. I'm using DOSbox and TASM . I have problem with program. Operand types do not match at line 76 78 80 . This is after multiplication. I tried to make some changes by using difftrent variable size ; -------------------------------------------- ; Equation=(a+c*b)/d-2*c,...

I am using Python 2.7 and MySQLdb. I have made a database which has a table called test and in it two fields (id, firstname). The whole script is about counting and showing how many same firstnames do we have. The part of the script is like this right now...

sorry if it already has a answer..i tried other links but it didn't understand i have 2 1*63 array .landa and v. each of their members are syms. and each v member is a function of all landa members.i have already calculated v members and they are all symbolic equations...

def list(a, b): for k in range(len(a)): a[k] = a[k] + b[len(b)-1-k] return a When it comes to manipulating lists, how does python execute a function like this one from a line by line basis. Specifically when i'm presented with an len() or [k] in this code how does it...

I'm very new to python programming and to this site. I'm currently working on a problem and can't seem to understand the error. import math # Problem number 5. A5 = 5 B5 = 0 C5 = 6.5 # Root1 x9 = (-B5 + math.sqrt(B5**2 - 4*A5*C5))/(2*A5) # Root2 x10...

I'm an intern at the education department of a hospital, I've been tasked to turn a davenport diagram into a working interactive tool so the teachers can use it in their presentations. I have no background/knowledge in chemistry or equation solving of this level. The Davenport Diagram in question: http://imgur.com/Lo87Aib...

Edited to clarify the application by adding units (ml) and explaining the difficulty to measure wet reagents by units of 1/26. The word 'solution' was ambiguous because it was used to mean both a chemical solution as well as the solution to the problem. Added results based on Edward's reply...

I am trying to write a web crawler algorithm. To do that i use the equations below: and i write this code too to solve it: public class URLWeight { public static List<LinkNode> weight(LinkNode sourceLink, List<LinkNode> links){ List<LinkNode> interLinks = new LinkedList<>(); List<LinkNode> intraLinks = new LinkedList<>(); for (LinkNode link...

I'm in the process of converting latex to mathml in php.Texmath is the command line tool through which the conversion process can be done. Latex file: \mathbf{f} = (f_{1}, f_{2})^{\prime} test.php: shell_exec('echo "password" | sudo -S /root/.cabal/bin/texmath latexfile > outputfile'); If I run this php file thorugh command line,it generates...

So, i have 3 lists of items. One where the price is stored, one where quantity is stored and one where column numbers are stored. They all have the exact same numbers of elements, and that number is x. I need to do this: finalprice = quantityofx1 * priceofx1 +...

I want to create a program that solve quadratic equation (Ax²+Bx+C=0) using 2 void functions: one to insert the values of A,B,C, and the second for solving the equation. This is what I did: #include <iostream> #include <math.h> using namespace std; void add_nmbr(int a, int b, int c){ int *pa,*pb,*pc;...

I am trying to randomly generate an equation that also has a 50% chance of being wrong and displaying that incorrect answer. The incorrect answer should have an error of either -2, -1, +1, or +2. Sometimes my code prints division equations like this(I can't post images): 2 / 10...

Suppose, I use Emacs to write a function in latex: \begin{equation} \label{eq:myeq} x=2y \end{equation} that gives me x = 2y (1) in a resulting .dvi. And suppose I have dozens of such equations. Here is the problem: if I have to reference this equation but don't remember its name I...

I'm trying to deduce the pendulum equation out of the Verlet algorithm. This is what I've done with phython using "r" as the angle of the pendulum, "w" as the speed and "a" as the angular acceleration. "h" is the increase of time, and my main problem is that if...

This is a homework question and I don't want the solution, I just want a reference to how to solve similar questions like this. I believe it's explained my course textbook, "Computer Organization & Architecture: Themes and Variations", but I currently cannot afford the textbook. Here's the question: For each...