Questions tagged [equations]

194 questions
0
votes
2 answers

Splitting a string based on specific characters

I will try to describe my problem as well as I can. I am trying to write a program that will handle equations like: F = (X∨A) ↔ (X∨B) ( (X OR A) is equivalent to (X OR B) )! I have to solve it by 'X', or to better say, write disjunctive and/or…
spamserv
  • 165
  • 3
  • 15
0
votes
1 answer

Apply the same maths equation to multiple jQuery values

The code should explain more what I am trying to do. I have multiple values as javascript variables, which are then processed through an equation to calculate the size of a circle on screen. Currently I am repeating the equation and numbering all…
bboybeatle
  • 549
  • 1
  • 8
  • 28
0
votes
2 answers

Maple, system of 12 equations

I am absolute novice in Maple, sorry... Please, help. When solving simple system of equations like the one described in manual: solve({x+2*y = 3, y+1/x = 1}, [x, y]), everything works nice. But when trying to solve my system of 12 equations, error…
0
votes
2 answers

matlab linear equations with mod

I have a simple equations to solve and I want to do it in matlab,however, there are some years, that I didn't use and kinda forgot it. So this linsolve({(387=mod(324*a+b,601)), (491=mod(381*a+b,601))},{a,b}), doesn't give me a result, due to an…
July
  • 15
  • 1
  • 1
  • 7
0
votes
1 answer

I want to solve a system of equations containing a*x

Is it possible to solve a system of three equations in Excel, that contain x*y?? Let's suppose that my unknowns are a,b,x The equations are a + b = 1 a * x - 20y = 0 10x * a - 20a + b = 0 Is there a way to express the multiplier that is one of my…
astry
  • 19
  • 1
0
votes
2 answers

Python solve nonlinear (transcedental) equations

I have an equation 'a*x+logx-b=0,(a and b are constants)', and I want to solve x. The problem is that I have numerous constants a(accordingly numerous b). How do I solve this equation by using python?
Wang
  • 11
  • 2
0
votes
1 answer

Translating an equality equation into C++

I am trying to test if a circle intersects a square. The best way I have figured out how to do that is to find if there is an x such that: x is between the minimum and maximum x values of the square; abs(x-centerOfCircle) <= radiusOfCircle The…
LarrySellers
  • 60
  • 3
  • 12
0
votes
1 answer

How to enter math equations into xcode

I'm working on a project in my spare time, so i'm pretty new to xcode. I need to write a lot of equations and symbols in this app, and would it be easier to just load the equations and pictures? I could write them in latex before loading the pdfs…
0
votes
1 answer

Solving equation solution in R

I need R to give me this kind of non-numeric solution : 2*x = 2*y solution { x = y } Do you know if there are some packages who do that ? Thanks in advance!
Nane
  • 15
  • 3
0
votes
3 answers

How can read and get coefficients of variables in equations from txt file on java

How can i read equations from txt file and get these equations coefficients for ex. 3.2x-5.6y=10 is in txt file and i need 3.2 ,-5.6 and 10 for making graph gui program. I tried bufferedreader but i cant get coefficients. BufferedReader reader =…
0
votes
1 answer

Calculating some equations

Having these functions: f(x)= 4(x-1)(x-3)/(0-1)(0-3) g(x)= 2(x-0)(x-3)/(1-0)(1-3) h(x)= 3(x-0)(x-1)/(3-0)(3-1) I want to calculate their sum mod p. For reference, p=7. However, what interests me mostly is the coefficients of the powers of x from…
George Irimiciuc
  • 4,573
  • 8
  • 44
  • 88
0
votes
3 answers

Taking equations as user input in c

I've been racking my brain at this problem since yesterday and I was hoping someone could point me in the right direction. I'm new to C and we must create a program where the user enters a series of linear equations that must be solved with Cramer's…
Namlitiv
  • 5
  • 1
  • 4
0
votes
1 answer

Need help in R for coding equations

I'm pretty new to using R and I am certainly unsure on how to plug in and graph equations. For an example I have to plot the Goldmann-Hodgkin-Katz equation (since my reputation is too low I can't send a nice equation so here's a…
Kevin D
  • 29
  • 5
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

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