You are not logged in.
Hm... yes, I think that is correct.
I'm basically expanding out two functions and setting coefficients equal to each other...
Offline
I think it will need some reducing down.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Is there a way to get Mathematica to solve a system over the integers?
I guess I can reduce down the equations a bit, but I'm not too sure if that'll help that much.
Offline
Yes, M can solve over the Integers, Reals, Complexes, Rationals, Primes and zillions of geometric shapes.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
What's wrong with this piece of coding
x = NSolve[Sum[h(An+B)/C^n /. A →(3/2)Sqrt[2] /. C→ -2^9 /. h → (2n)!^3 / n!^6, {n, 0, 50}] == 1/Pi, B, 30]
I'm not too sure, Mathematica says that -29/, h4 is protected, along with a couple of other things as protected. And I'm not too sure what it means by Mathematica.
Last edited by evene (2016-11-24 15:39:31)
Offline
Hi;
In Mathematica, C is a reserved constant. There also seems to be a missing bracket on the end. What is 30 supposed to do?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I realized that there were some certain mistakes while copying and pasting the function. I have now corrected them.
This isn't my input, I just copied and pasted it from the website and I realized it didn't work. But I'm gonna assume that the 30 means something like 30 decimal places.
So you're saying that I cannot use C when setting it equal to some variable?
Last edited by evene (2016-11-24 15:39:53)
Offline
C is a protected symbol and can not be used for an assignement.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
But if I replace C with something else, such as X, Mathematica still says that the action cannot be completed with the methods of NSolve, and a whole bunch of other things, such as
is neither a list of replacement rules, nor a valid dispatch table... and others too.What does this mean??
Offline
Please let see the new command you are running.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Never mind, I fixed it by replacing all the capital letters with lower case letters. And placing brackets everywhere.
How would you tell Mathematica to solve this system:
Solve[{-a^2+2 b-3 m x-3 n, b^2-2 a c+2 a^2 m x-4 b m x+3 m x^2+2 a^2 n-4 b n+6 m x n+3 n^2}=={0,0}]
For m and n in terms of a,b,c? I originally thought that you just had to put a comma at the end, then the variable you want, but Mathematica doesn't recognize that.
Offline
Hi;
What about x?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Yes, and
.Offline
Solve[{-a^2 + 2 b - 3 m x - 3 n,
b^2 - 2 a c + 2 a^2 m x - 4 b m x + 3 m x^2 + 2 a^2 n - 4 b n + 6 m x n + 3 n^2} == {0, 0}, {m, n}] // FullSimplify
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
How would you do it without
? Just wondering, in case that every comes up...Offline
I am not seeing how to do that with your question.
That is done with generating functions alot. I usually just set x = 1 or x = 0. It might work or it might not.
Solve[{-a^2 + 2 b - 3 m x - 3 n,
b^2 - 2 a c + 2 a^2 m x - 4 b m x + 3 m x^2 + 2 a^2 n - 4 b n + 6 m x n + 3 n^2} == {0, 0}, {m, n}] /. x -> 1
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Yeah, so I tried to solve for the variable
in the systemWhat went wrong? Here's my coding:
Solve[{a + b, a b + c, a c} == {p, q, r}, {a}] // FullSimplify
Last edited by evene (2016-11-28 12:43:19)
Offline
Hi;
One way:
Eliminate[{a + b, a b + c, a c} == {p, q, r}, b];
ans = Eliminate[a p == a^2 - c + q && r == a c, c];
Solve[ans, a]
or
Solve[{a + b, a b + c, a c} == {p, q, r}, {a, b, c}]
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Cool, you get the cubic formula!
You get that, mostly because
Offline
You mean Mathematica got it.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Yes, but that's also implied.. right?
Offline
As you can see that formula is very large and cumbersome.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
It's the cubic formula, so of course it will be large, cumbersome and not very useful...
Offline
True enough. There is no simple formula that everyone missed.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline