Your most advanced math snippets

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
5 posts Page 1 of 1
Contributors
User avatar
Diazepa
VIP - Donator
VIP - Donator
Posts: 70
Joined: Sat Sep 12, 2009 11:38 pm

Your most advanced math snippets
Diazepa
Hey! I'm creating a calculator that can do certain math operations, like solve a quadratic formula (ax^2+bx+c=0). Now, I created a function that could do this, but i want to give the application a little more meat on its bones. I'm imagining a tool that can solve most equations, reduce fractions and all of that stuff, and if it for some reason should fail to do so, ther could be a "search engine" that would run the equation through computional engines like wolframalpha and quickmath. Also, there could be a chatroom involved for chatting with other users of the application. Now, is this acctually doable in VB2010?

TLDR I want a pseudo intellegent program in VB2010 that can solve equations and algebra generally

So yeah, lets post our snippets for doing this stuff! I'll give you what i have
Code: Select all
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        On Error Resume Next
        Dim a, b, c, x1, x2 As Single
        a = TextBox1.Text
        b = TextBox2.Text
        c = TextBox3.Text
        x1 = (-b + Math.Sqrt(b ^ 2 - 4 * a * c)) / (2 * a)
        x2 = (-b - Math.Sqrt(b ^ 2 - 4 * a * c)) / (2 * a)
        TextBox4.Text = x1
        TextBox5.Text = x2
    End Sub
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Yes everything s perfectly doable on VB.NET, but what do you mean by pseudo intelligent? If you want a program with an artificial intelligence then you should check out NeuronDotNet.
Check out viewtopic.php?f=71&t=5082#p39126 for a calculator I previously made that has over 100 different functions.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Diazepa
VIP - Donator
VIP - Donator
Posts: 70
Joined: Sat Sep 12, 2009 11:38 pm

By pseudo intellegent i mean that it has a somewhat adnvaced AI, at least to the point where it can handle xeptions in a equation and such.

Thanks man, ill be sure to check it out!

EDIT: Your link is corrupt, I really dont care about the credit, but could you please send me the calculator? Thanks
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Yes, but not before tmorrow. My pc won't boot. All the links appear to be down :?
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Diazepa
VIP - Donator
VIP - Donator
Posts: 70
Joined: Sat Sep 12, 2009 11:38 pm

Thank you!
5 posts Page 1 of 1
Return to “Tutorial Requests”