Questions tagged [equations]

194 questions
2
votes
2 answers

Equation Solving Algorithm

Hello I am trying to develop a physics problem solver. The program specifically will be written for android but that's not important. I have these three equations that will be familiar to anyone who knows physics. vf = vi + a*t y= vi*t +…
Tom C
  • 232
  • 1
  • 6
  • 17
2
votes
1 answer

Model identification in lavaan for R

I'm trying to do a latent variable analysis using the package lavaan for R. However, I'm getting the following error messages: Warning messages: 1: In lav_data_full(data = data, group = group, cluster = cluster, : lavaan WARNING: some…
Marco
  • 347
  • 3
  • 18
2
votes
1 answer

Solve homogenous system Ax = 0 for any m * n matrix A in R (find null space basis for A)

How to solve a homogenous system Ax = 0, when A is any m * n matrix (not necessarily a square one) in R? # A=[-0.1 0.1]= 1x2 matrix; x=2x1 to be found; 0: 1x1 zero matrix A <- t(matrix(c(-0.1,0.1))) This question seems to be equivalent of finding…
Erdogan CEVHER
  • 1,788
  • 1
  • 21
  • 40
2
votes
4 answers

solve a system of nonlinear equations with c++

I want to solve a system of equations in c++. Is there any tool/package that provides a solver? My system looks like (x-a)^2 + (y-b)^2 = d1 (x-c)^2 + (y-d)^2 = d2 In that case I know a,..,d, d1,d2. For know i took a spacial case (a,b,d = 0, and…
ev die
  • 49
  • 1
  • 4
2
votes
1 answer

Objective-C: How to solve a system of equations?

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!
Knodel
  • 4,359
  • 8
  • 42
  • 66
2
votes
2 answers

Solve for constants of 4-parameter (Rodbard Equation) using Python

I am new to python and what I am trying to do is write an algorithm to solve for the 4 unknown parameters in the Rodbard Equation where we are relating a grayscale value measured using ImageJ to optical density calibration discs. This equation is…
A.LeBrun
  • 161
  • 1
  • 1
  • 11
2
votes
2 answers

using regex to split equations with variables C#

I've been struggling with this for quite awhile (not being a regex ninja), searching stackoverflow and through trial an error. I think I'm close, but there are still a few hiccups that I need help sorting out. The requirements are such that a given…
J newson
  • 19
  • 3
2
votes
1 answer

Grapher - What is wrong with my Rbx.Lua Script?

I have a script for the Roblox version of Lua. Roblox's syntax checking system says that there is nothing wrong with my script. The script is supposed to create a graph of a circle using 'Parts' or 'Bricks'. Below is the wiki page I got the graph…
Rontron
  • 3,963
  • 7
  • 26
  • 44
2
votes
1 answer

Solving and Plot Equation in Python

I am kind of new to python. All I am trying to do is to solve for y and plot the function, In other words, plug values for x and generate y. y^10+y = x. Please forgive my ignorance.
user1801733
  • 147
  • 1
  • 3
  • 11
2
votes
6 answers

Determining camera location from 3 known points

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…
user284403
2
votes
2 answers

Insert an equation (equation editor) in Excel using cell values as variables

I would like to insert an equation in Excel using the equation editor. However I would like to use values of specific cells as variables for the equation. Consider this over-simplistic example: X + Y = Z I would like to ensure that X would show the…
pmdci
  • 270
  • 5
  • 23
2
votes
5 answers

Java: Implementing simple equation

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) -…
AlexT
  • 561
  • 1
  • 8
  • 22
2
votes
1 answer

Display equations and special characters in Matlab GUI textbox

I want to write Greek characters and equations in textbox (Static Text) of Matlab GUI. Is it possible to write? I tried Latex $\eta { x }^{ 2 }+c$ but nothing changes. It displays the same.
newzad
  • 706
  • 1
  • 14
  • 29
2
votes
1 answer

Wolfram Alpha PHP API Script not Displaying Equation Results

I have the following code that gets results from Wolfram Alpha: getResults("2+2"); $pod = $resp->getPods(); $pod =…
derekshull
  • 305
  • 1
  • 2
  • 14
2
votes
6 answers

Convert Expression from a Textbox to Math Expression in Code Behind

Possible Duplicate: I need a fast runtime expression parser How do I make it that when someone types in x*y^z in a textbox on my page to calculate that equation in the code behind and get the result?
Moe Darwish
  • 107
  • 3
  • 10
1 2
3
12 13