|
-
October 22nd, 2001, 07:48 PM
#1
ActiveX dll
does anybody have an ActiveX dll for numerical integration? or give me some tips on that. I am trying to develop one but it seems more difficult than I thought.
Thanks,
tk
-
October 22nd, 2001, 10:22 PM
#2
Re: ActiveX dll
I can give u a hint on developing the Program (It's an easy job to make it an ActiveX Dll or Exe or any thing)
Note that the answer is an approximate one & not the exact one. To make the accuracy high, the time required will be more
Trick is to get a data set for the function and use the Trapizoidal rule.
If u want me to explain I'll do it.
If u r have a Mathematics background, u know what I Mean??
R U worried about ActiveX or the way to do the integration programatically?
Srinika
If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it 
-
October 23rd, 2001, 12:06 PM
#3
Re: ActiveX dll
I have a background in mathematics. I know how to programmize simpson's rule and trapizodal in matlab. but I don't know in VB. Right now, I am developing a project in VB and I need numerical integrations for that project.
Please explain to me.
thanks for your reply.
-
October 23rd, 2001, 12:25 PM
#4
Re: ActiveX dll
the biggest problem is that the function to be numerically integrated is not known. how can I deal with this problem in VB? for instance, using simpson's rule,
public function simps(a as single, b as single, n as integer, f() as single) as single
Like you see, I used a dynimic array for the unknow function. the problem is how to connect the arrary with the unknow function. Do you see my problem?
Thanks,
-
October 23rd, 2001, 09:33 PM
#5
Re: ActiveX dll
Tell Me, out of the following what u need to do
1. Integrate any function given ? eg. At one time y = Sin(t) another time y = x^3 + 2x + 7 and so on.
2. Only one complex function eg. y = Sin(7t) + t^8 + Tan(t^4) + 4t^.25
3. U have a set of data related to the function & u want to integrate those. eg. (y=0,x=11),(y=1,x=14),(y=2,x=15),(y=3,x=6).....
4. Any other
If the case is 1., it would be a bit difficult task. 2. & 3. are simple
Srinika
If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it 
-
October 23rd, 2001, 09:51 PM
#6
-
October 23rd, 2001, 10:37 PM
#7
Re: ActiveX dll
Here I can give u the following hints:
1. In a help file (to be used by any user), the way of defining formula has to be defined. eg. To the Power -- > "^" , Multiply --> "x" ...
2. The Function has to be given in a text box with appropriate Format in 1.
3. In a Routine where there is string manipulation to take place all operators & values are to be identified & stored in an array or a stack
4. Complicated Error Checker has to be written
5. If syntax is correct, the evaluation routine has to be called
6. In the evaluation routine, the data in the above 3 . are manipulated
Also u can have pre-defined buttons to place the necessary mathematical symbol, rather than writing the formula manually. Then the creation of the formula would be taken place more easily. Also identifying the mathematical operations for each number would be easier
Any way this is not a small task, but a rather complicated one
Srinika
If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it 
-
October 23rd, 2001, 11:18 PM
#8
Re: ActiveX dll
could you give me a simple example for that?
I don't think i understand that.
thanks,
-
October 23rd, 2001, 11:32 PM
#9
Re: ActiveX dll
cosider point by point that I have given.
Each is having an example.
Which one u couldn't understand? It is easier to answer in point form
Srinika
If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it 
-
October 24th, 2001, 12:47 PM
#10
Re: ActiveX dll
I don't understand the string manipulation process. I guess u recommend using collection for that. is that right?
thanks,
-
November 5th, 2001, 04:38 AM
#11
Re: ActiveX dll
Hi srinika,
I just want to develop some tiny ActiveX dll code in VB. Can you give me some steps to build Activex Dll and use it. Give any small example.
santhosh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|