Results 1 to 4 of 4

Thread: math and GUI

  1. #1
    urbanleg is offline Member
    Join Date
    Jul 2011
    Posts
    25
    Rep Power
    0

    Default math and GUI

    Hello,
    can anyone suggest on a simple as possible GUI tool \ method
    that i can work with mathematical symbols \ equations with?

    my goal is to be able to create equations on screen such as
    ____________
    √(x+5)*(x-311)

    in other words i would like to be able to put root sign over a given equation.

    more over i would like to be able to create a display with:
    x (degrees)


    IMPORTANT:
    i would like that tool to get as an input strings such as:
    sqrt((x+5)*(x-311)) , x^2
    and get that output above


    thanks!

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    Are you wanting to do this alone? Or do you just want a tool to do it for you? It should be fairly simple to do, create a bunch of constants that know how to draw themselves, and do what's necessary from there. Perhaps an enum will be helpful, where each item has a name representation and the ability to draw itself.

  3. #3
    urbanleg is offline Member
    Join Date
    Jul 2011
    Posts
    25
    Rep Power
    0

    Default

    since wer'e taking about a very basic notions it is only reasonable to think someone already created it .
    so i will prefer to use an already built tool \class

    i will be extremely surprised if no such tool exists.

    Nir

  4. #4
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    I agree, it probably does exist, I don't know of any java based ones though. Latex is nice for stuff mathematical, but it's not java based.

Similar Threads

  1. Math.cos()
    By ravi1 in forum New To Java
    Replies: 5
    Last Post: 03-27-2011, 02:52 PM
  2. Create Math.sin without math.sin
    By vudoo in forum New To Java
    Replies: 11
    Last Post: 12-07-2010, 06:23 AM
  3. Math in java
    By blug in forum New To Java
    Replies: 2
    Last Post: 11-22-2010, 02:21 PM
  4. Help with java math
    By gabrielfirestorm in forum New To Java
    Replies: 6
    Last Post: 10-25-2010, 01:54 PM
  5. need help with math for a new program
    By gotenks05 in forum New To Java
    Replies: 13
    Last Post: 09-26-2008, 07:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •