Results 1 to 10 of 10

Thread: Maths Function?

  1. #1

    Thread Starter
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535

    Unhappy

    Does anyone know how to do integration and differentiation in VB ?


    Kinjal

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Boulder, Colorado, USA
    Posts
    325

    Red face

    Get a Calc Book, read it, then implement!

    VB does not have integration and differentiation built into it, that would be lame. there is prolly an ocx somewhere that does this, but I dunno of one off the top of my head.
    -Shickadance

  3. #3

    Thread Starter
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535
    Now I knew why programmers go in for C and not for VB even though it is 1000's of times easier than C


    Still any help will be appreciated

    Kinjal

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    I'm probably starting to work on one, if noone finds any. Thank's for the idéa
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5
    Guest
    C is easy..... as long as you are doing dos based programming...
    for win. based programming in C you have to draw all of the command buttons etc...
    doesnt sound so bad....
    i meant you have to draw them with code!
    like
    createpen draw... etc...
    i dont know any win. C code... only dos...
    C++ is much better with MFC.. you can draw your controls on like in VB... you dont have to use code to draw stuff on....
    if your gonna use anything other than VB, use something like VC++ unless you already know and love C

  6. #6
    Guest

    So you can do a DFFT perhaps?

    I'd suggest a numerical methods book.
    But the Deeth solution should help you.
    (FT versus FFT versus DFFT)

  7. #7
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    Differentiation is easy, but you need to know a lot about it, you need to know how to differentiate every basic function you can think of, and you ned to be able to use the chain rule and the product rule(you'll need a calculus book, I'm not explaining them (I'd just quote formulae to know what I mean you'd need worked examples, decent explanations etc)

    Integration is hard, It could well be possible using taylor approximations and non linear simultanious equations, I don't know if that's possible on a computer. (I have an exam on wednesday and I have to be able to tell if any operation is possible on a computer and I am screwed)

    I warn you, your maths has to be very very good if you're going to do algebraic Integration on a computer, Numerical integration is trivial in comparison.

    There's a package called Maple that can do Algebraic Integration, You may be able to use some of the DLLs. Maple's very expensive though because what you're trying to do is so hard.

    remember, some functions are easy to integrate, but some almost identical functions can't be integrated at all, This is really really hard.

  8. #8
    Lively Member
    Join Date
    Apr 2000
    Posts
    70

    Lightbulb

    *IDEA*
    Get OpenBSD, http://www.openbsd.org
    Its free, simple, and has free c/c++ compilers because it is a *nix platform and has *Open Source* what a novelty, eh?
    Daniel Rose
    VB 5.0 Enterprise.
    irc:irc2.dynam.ac

    If TheCodeInTheSig() Is Not Lame() Then IDontKnowWhatIs()

  9. #9

    Thread Starter
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535

    Talking

    Yes VirtuallyVB you are right. I wanted this functions to solve my FFT problem.

    Please help me someone ;(


    Kinjal

  10. #10
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Sam, i don't think it's too hard. I know alot about differentiation, and i've already done a script and a equation solver, so it's only time that i need.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

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



Click Here to Expand Forum to Full Width