equation

Calculation of encrypted file size does not match true size.

I have the need to calculate the size of a file I am encrypting using Rijndael. According to other answers on this site, and on google, the following is the correct way of calculating encrypted data length: EL = UL + (BS - (UL Mod BS) Mod BS) Where: EL = Encrypted Length UL = Unencrypted Length BS = Block Size In my instance, the u...

LaTeX math overline/overrightarrow vertical alignment?

When I use the following: \begin{equation} \overline{d} \overline{q} \end{equation} the overlines are misaligned, with the line on the q being lower than the line on the d. The same thing happens with \overrightarrow. Is there some way to fix this? ...

Invert Y axis on coordinate plane?

Hello everyone. On a coordinate plane, what is the equation to flip the image upside down? ...

how can I solve non linear simultaneous equations?

i am having 12 equations and 12 unkonwns... i want to solve these equations. please help me with software or package or source code. ...

algorithm to solve related equations

I am working on a project to create a generic equation solver... envision this to take the form of 25-30 equations that will be saved in a table- variable names along with the operators. I would then call this table for solving any equation with a missing variable and it would move operators/ other pieces to the other side of the missi...

LaTeX: Numbering only last line of multi-line equation in \align

I want to number and make a reference to just the last line of a multi-line equation in \align. Here is an example: \begin{align} z_1^2 &= \left( 2 e^{i \frac{\pi}{3}} \right) \left( 2 e^{i \frac{\pi}{3}} \right)\\ &= 4 e^{i \frac{2 \pi}{3}} \end{align} I only want to number the &= 4 e^{i \frac{2 \pi}{3}} part, rather than both lines ...

Making my own Carbon Footprint Calculator

I'm trying create my own carbon footprint calculator, but I'm having trouble finding all the proper equations and such online, anyone know of any decent resources? ...

LaTeX align stacked summation

I am writing an elementary summation proof and would like to write that 1 + 2 + 3 + ... + n-2 + n-1 + n + n + n-1 + n-2 + ... + 3 + 2 + 1 = n+1 + n+1 + n+1 + ... and so on. I want the symbols to line up so that it's easy to see the vertical addition. How do I do this in LaTeX? The align environment doesn't do so well with multipl...

Python function to solve Ax = b by back substitution.

Okay, for my numerical methods class I have the following question: Write a Python function to solve Ax = b by back substitution, where A is an upper triangular nonsingular matrix. MATLAB code for this is on page 190 which you can use as a pseudocode guide if you wish. The function should take as input A and b and return x. Your functio...

Web based curve sketching API/app?

Hi, Are there any web services/apps for plotting curves? Something similar to the Google Chart API, but for general mathematical curves, e.g. x^2, the exponential function, maybe even functions of two variables, etc.. I am interested in either an API provider or an HTML5/Flash-based online tool. Thanks! ...

General - Is there a way to calculate an average based off of an existing average and given new parameters for the resulting average?

Lets say, we're calculating averages of test scores: Starting Test Scores: 75, 80, 92, 64, 83, 99, 79 Average = 572 / 7 = 81.714... Now given 81.714, is there a way to add a new set of test scores to "extend" this average if you don't know the initial test scores? New Test Scores: 66, 89, 71 Average = 226 / 3 = 75.333... Normal ...