Does anyone know how to do integration and differentiation in VB ?
Kinjal
Printable View
Does anyone know how to do integration and differentiation in VB ?
Kinjal
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.
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 :D
:p Kinjal :p
I'm probably starting to work on one, if noone finds any. Thank's for the idéa
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
I'd suggest a numerical methods book.
But the Deeth solution should help you.
(FT versus FFT versus DFFT)
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.
*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?
Yes VirtuallyVB you are right. I wanted this functions to solve my FFT problem.
Please help me someone ;(
:p Kinjal :p
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.