Questions tagged [equation-solving]

763 questions
0
votes
3 answers

Calculation int to decimal fails

Im working on a method calculating conversion rate, problem is i devide Visitors with orders and get a result (whole numbers like 84) but when i divide the other way around i get 0.0. If i devide orders with visits with a calculator the result…
WhoAmI
  • 1,188
  • 6
  • 17
  • 47
0
votes
1 answer

Trilateration Math check

I'm trying to crate an indoor trilateration program working off of N BLE objects. Where I have any number of beacons in a room and my ipad can track its location within them to a sub meter degree of accuracy (I hope). I asked this question on the…
N0xus
  • 2,674
  • 12
  • 65
  • 126
0
votes
1 answer

maxima and converting output of variable to float

I can get maxima to solve an equation but can't figure out why it won't show it's numerical value without typing the extra command/step of float(%). Is there away to automatically convert a solved variable to a numerical format. Example of…
Rick T
  • 3,349
  • 10
  • 54
  • 119
0
votes
1 answer

where is cula "culaSgesv" answer for X?

I just downloaded Cula and I want to use it's implemented functions for solving system of linear equation I looked into Examples Directory and I saw below code but it's very confusing when they want to obtain X solution of A*X=B they just copy B in…
Alexander1991
  • 217
  • 5
  • 13
0
votes
1 answer

How to invert a matrix

I need to solve a system of n-linear equations with n-unknown variables in C++ using the gaussian method of elimnation. Any hints how to achieve that? I'll be probably using rand(); for the amount of n, since isn't available, because C++11 I can't…
0
votes
1 answer

how can I solve a redundant symbolic system in matlab?

let n0 = nx*cos(a) + nz*cos(b)*sin(a) + ny*sin(a)*sin(b) ny*cos(b) - nz*sin(b) nz*cos(a)*cos(b) - nx*sin(a) + ny*cos(a)*sin(b) in a and b,with the ns fixed (but of course,not assigned) values. if I…
user1834153
  • 330
  • 5
  • 20
0
votes
1 answer

From ODE45 take Angular acceleration MATLAB

I'm solving the eqaution motion and I need numerical integration, so I decided to use ode45 in Matlab. I found the displacement and the velocity, now I need to find the Angular acceleration and make plot with time. There's my code and…
MrPitivier
  • 71
  • 9
0
votes
1 answer

Mathematica, solving non linear system of equations with lot of equations and variables

I need to find a square matrix A satisfying the equation A.L.A = -17/18A -2(A.L.L + L.A.L + (L.L).A) + 3(A.L + L.A) -4L.L.L + 8L.L - 44/9L + 8/9*(ID) ,where L is a diagonal matrix L = {{2/3,0,0,0},{0,5/12,0,0},{0,0,11/12,0},{0,0,0,2/3}}. I can…
0
votes
1 answer

Integration of a system of differential equations MATLAB

I am a fairly new Matlab user which I had to explore to numerically integrate a system of differential equations. Now I am trying to resolve a simple equation but which gives me a "lambertw" output. (s - 1) * exp(-s) = k Therefore, for a given k,…
KannonX
  • 15
  • 5
0
votes
1 answer

Transcendental equation solution by numerical method

I want to solve one transcendental equation numerically. I have used the function 'solve' for the solution but my results are varied as compared to graphical solution. My code is written below and I am sending the graphical solution results. clear…
Rizwan
  • 21
  • 2
0
votes
1 answer

Gaussian elimination modulo p

I'm trying to rewrite a code in Java solving a set of linear equations doing Gaussian Elimination on floats, to work on equations modulo a prime. The problem is that it does not work, and I cannot figure out what's wrong. It seems to work on small…
Jambaman
  • 741
  • 9
  • 22
0
votes
1 answer

Solving systems of nonlinear equations

Help. I am trying to solve this system of nonlinear equations in MATLAB for a homework assignment. I have tried wolfram alpha and this online equation solver, and neither of them work. I have tried my graphing calculator and it keeps saying non…
user2928537
  • 31
  • 2
  • 8
0
votes
1 answer

Matlab: Solving Symbolic System of Linear Equations with Interpolation functions

I've been trying to solve a system of linear equations, with some variables being interpolated functions of other variables. I've tried turning these functions into symbolic functions, but that doesn't seem to work. Does anybody have a workaround…
0
votes
1 answer

Wrong answers with Solving an equation

I am doing ray tracing and I have 5th order polynomial. So I am solving this one as follows but the answer at the end "tCounter" are quite different from the truth (I have the data as reference and it is different totally). But I couldn't debug it.…
Jack_111
  • 881
  • 5
  • 14
  • 26
0
votes
1 answer

Get running total of numbers?

I am desperately trying to get the last column of my code to add up all the middle column numbers in a running total.. but it seems to start at 1 already. Also, a side question: When I input 12.. I get 11 results, due to "y" starting at 1. Is there…
user2808966