I want to solve these equations using MATLAB and I am sure there is a non zero solution. The equations are:
0.7071*x + 0.7071*z = x
-0.5*x + 0.7071*y + 0.5*z = y
-0.5*x - 0.7071*y + 0.5*z = z
I wrote in MATLAB:
[x,y,z]=solve('0.7071 * x+0.7071 * z=x','-0.5 * x+0.7071 * y+0.5 * z=y','-0.5 * x-0.7071 * y+0.5 * z=z...
I am looking to implement the simple equation:
i,j = -Q ± √(Q2-4PR) / 2P
To do so I have the following code (note: P = 10. Q = 7. R = 10):
//Q*Q – 4PR = -351 mod 11 = -10 mod 11 = 1, √1 = 1
double test = Math.sqrt(modulo(((Q*Q) - ((4*P)*R))));
// Works, but why *-10 needed?
i = (int)(((-Q+test)/(P*2))*-10); // ...
how can I make equations smaller in TeX? For example, I want to use the equation environment as follows:
\begin{equation}
long equation here
\end{equation}
but then it's displayed in a way that's too large to fit in the margin. I get around this by using:
$ long equation here $
but then I don't get the automatic numbering and all ...
Can somebody provide me with an easy to understand explanation of a guarded equation as it is used in Haskell and also its mathematical sense?
...
Hi,
I'm new here - so please bear with me if I make a faux pas!
My question is, is there a good algorithm for determining the 3d location and orientation of a camera based on where 3 (or more) known 3d points end up on an image as viewed from that camera?
The question comes down, in my calculation to 6 equations, with 6 unknowns, thou...
I have been formatting my dissertation and one little problem is stucking me up.
I used the following code to typeset an equation
\begin{align}
& R=\frac{P^2}{P+S'} \label{eqn:SCS}\\
&\mbox {where} \quad \mbox R = \mbox {Watershed Runoff} \notag\\
&\hspace{0.63in} \mbox P = \mbox{Rainfall} \notag\\
&\hspace{0.63in} \mbox S' = \mbox{Stor...
Good library for solving differentiation equations (not only 1rst order) using differentiation operator?Better written in C/C++/PHP/C#/Actionscript/Javascript
...
What is the most efficient way to solve system of equations involving the digamma function?
I have a vector v and I want to solve for a vector w such that for all i:
digamma(sum(w)) - digamma(w_i) = v_i
and
w_i > 0
I found the gsl function gsl_sf_psi, which is the digamma function (calculated using some kind of series.) Is there an...
Does anyone know where to find the syntax specification for entering equations into the 2007/2010 equation editors using only the keyboard? Searching just gives many links to people talking about how great the editor is, not instructions on how to use it. I have seen this shown in multiple demos of the product, but there are no documenta...
Hey
How do I get accurate counting? My game has is a pass or fail scenario based on time.
I need an equation that will work in ActionScript.
Thanks
Timed-scenarios:
'Commence escape within 30 sec or lose 600 life points'
...you see only readout of lifepoints, but time needs to be accurate
I'm not attached to this, it's just an exampl...
I'm trying to draw equations to the screen. Not the graphs or sth just the equation, but in a "pretty" way (f.e. like they look on wikipedia ).
I've done some research but could find a "build-in-way", but maybe i overlooked something?!?
So i've decided to draw them by myself. I'm not very experienced, so don't blaim me if my idea is com...
Is it possible to take something like x^2+5 and have it generate this: http://imgur.com/Muq2X.gif
I'll be using Python so anything based in Python would work, but I'm open to other solutions such as latex output.
...
I need to write an app in Obj-C which solves systems of linear equations (the equations are entered by the user). What is the algorithm for this?
Thanks in advance!
...
Hi,
Does anyone know of a Linux command that reads a linear system of equations from its standard input and writes the solution (if exists) in its standard output?
I want to do something like this:
generate_system | solve_system
...
Hi,
I am having some trouble finding a solution for a system of equations using excel.
The system is of the form Ax=b, with A a matrix and x and b vectors. Obviously, the goal is to find x.
The system does not necessarily have the same number of equations and unknowns. An exact solution is not always possible. Therefor I want to find t...
I'm trying to make to make a script to help me with my maths
example equation: y=(4*(x*2)^(2x+4))+4*x^2
For this to work, I just need it to understand that only (x*2) needs to be put to the power of (2x+4), and then to sub that back into the original equation, which of course you can just eval() an answer.
I want to calculate the valu...
Now that the STIX fonts have been released, how would one go about rendering equations with them?
What are the basic rendering patterns, e.g. superscript, division type block, integral type block, square root like patterns, etc? How do these map to the glyphs in the STIX fonts? Pointers to resources would be very useful.
I realize thi...
Hello everyone,
I would like to have a \multicolumn like effect within an align* environment, as shown in the code snippet (which doesn't work) below. I.e., I want the text to be aligned with the leftmost column, but it shouldn't affect the alignment characteristics of the equation otherwise. \intertext{...} unfortunately flushes everyt...