It is currently December 7th, 2022, 11:08 pm

Algebra Solver -- Unfinished

Skins that control functions in Windows or Rainmeter
User avatar
balala
Rainmeter Sage
Posts: 14770
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Algebra Solver -- Unfinished

Post by balala »

revolt4peace wrote:Oh, thanks! you found a bug! I'll be sure to fix that for 28.8. :D

It's come a long way since version 0, hasn't it?
Yes and congratulations! It's a great idea and a great skin.
One more thing you should take a look: if the equation has imaginary solutions the results are always -1.#INDi, no matter what equation I enter (eg x^2+1=0 or x^2+2x+4=0).
User avatar
revolt4peace
Posts: 83
Joined: February 3rd, 2015, 4:36 pm

Re: Algebra Solver -- Unfinished

Post by revolt4peace »

Oh, look at that, it is. i'll make sure to fix that! New version though - fixes your first bug. Uploading it now. V 30
-__--__-- Explodingcreeperssss --__--__-
Click Me! - My Algebra Solver for Rainmeter!
User avatar
revolt4peace
Posts: 83
Joined: February 3rd, 2015, 4:36 pm

Re: Algebra Solver -- Unfinished

Post by revolt4peace »

It's up. Going to go fix your second bug now!
-__--__-- Explodingcreeperssss --__--__-
Click Me! - My Algebra Solver for Rainmeter!
User avatar
revolt4peace
Posts: 83
Joined: February 3rd, 2015, 4:36 pm

Re: Algebra Solver -- Unfinished

Post by revolt4peace »

Fixed it! Please try out 30.2 and see if you can find any more bugs! you're super helpful!

:D

Also, I'm about to work on adding < and > for the forms i've already done with =s to the equations list, just so you know.
-__--__-- Explodingcreeperssss --__--__-
Click Me! - My Algebra Solver for Rainmeter!
User avatar
balala
Rainmeter Sage
Posts: 14770
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Algebra Solver -- Unfinished

Post by balala »

revolt4peace wrote:Fixed it! Please try out 30.2 and see if you can find any more bugs! you're super helpful!
Ok, I'll check it imediatly.
revolt4peace wrote:Also, I'm about to work on adding < and > for the forms i've already done with =s to the equations list, just so you know.
Interesting idea, I'm curious!
User avatar
balala
Rainmeter Sage
Posts: 14770
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Algebra Solver -- Unfinished

Post by balala »

The editing of the equation is now ok, but I hope you won't consider I'm teasing you, if I say that there's still a trouble with the imaginary solutions: the x^2+2x+2=0 equation has these solutions: -1+i and -1-i. The skin gives 0i and -2i.
User avatar
revolt4peace
Posts: 83
Joined: February 3rd, 2015, 4:36 pm

Re: Algebra Solver -- Unfinished

Post by revolt4peace »

No, thank you! I'll look into that soon, i'm a bit busy.
...Could you create a function that calculates the imaginary roots?

right now i have:

Code: Select all

function Result21(a, b, c)
   d = (math.pow(b,2))-4*a*c
   d = math.abs(d)
   return (-b+math.sqrt(d))/2*a
end
and

Code: Select all

function Result22(a, b, c)
   d = (math.pow(b,2))-4*a*c
   d = math.abs(d)
   return (-b-math.sqrt(d))/2*a
end
-__--__-- Explodingcreeperssss --__--__-
Click Me! - My Algebra Solver for Rainmeter!
User avatar
revolt4peace
Posts: 83
Joined: February 3rd, 2015, 4:36 pm

Re: Algebra Solver -- Unfinished

Post by revolt4peace »

Nevermind, I got it, lol.

Updating in just a moment to 30.4
-__--__-- Explodingcreeperssss --__--__-
Click Me! - My Algebra Solver for Rainmeter!
User avatar
balala
Rainmeter Sage
Posts: 14770
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Algebra Solver -- Unfinished

Post by balala »

revolt4peace wrote:Nevermind, I got it, lol.
Sorry, I was awea for an hour.
revolt4peace wrote:Updating in just a moment to 30.4
Ok, if you'll have it, I'll give it a try.
User avatar
revolt4peace
Posts: 83
Joined: February 3rd, 2015, 4:36 pm

Re: Algebra Solver -- Unfinished

Post by revolt4peace »

I actually updated to 30.5, because I had broken a few commands, but they're better now. :)

Thank you so much for your involvement with the development of this skin; I would really appreciate your continued support!
-__--__-- Explodingcreeperssss --__--__-
Click Me! - My Algebra Solver for Rainmeter!