Jump to content

Maths dll and asp.net Help

- - - - -

  • Please log in to reply
3 replies to this topic

#1
avosoft

avosoft

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
Hello guys,

Am developing a dll, math library, that i want to use in my asp.net website. people will submit maths questions, and on submit this will be passed to my maths library for processing and output.

How do i implement this.

Pass questions from my asp.net page to the dll, and post he desired answer back to the asp.net page?

Can you suggest any maths parsing code, dll, or algorithm for me

thanks
Programming is all about good logic. Spend more time here

vHost for Apache:thumbup1:

#2
gokuajmes

gokuajmes

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 518 posts
I really appreciate your initiative :) , but there are lot's of pre-compiled libraries already available for free .Why do you want to re Invent the wheel ?
as for your question , i suppose the below proposal would work.
1.JavaScript is more Friendly than sending your code to server for Just adding 2 numbers.
2.JavaScript Runs in clients browser.
3.easier to output a message via alert message box.[cannot with a ASP.NET web application]

after all this advice if you want to still , go ahead wasting precious time then Try developing a Copy Cat of Windows Calculator but a web application .

All the best for your endeavors :thumbup1:

#3
avosoft

avosoft

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
hello, thanks for the response.

but the idea is that a user can select a maths category like fractions and enter a question like this

2/26+77/586(-8/9), and click solve.

the website will send this to the asp.net dll, which will parse it to determine if its properly formed, and send to the solver dll.

The libraries you mentioned, are they for solving maths problems like fractions and algebra, if so can you point me to the place i can get them?
Programming is all about good logic. Spend more time here

vHost for Apache:thumbup1:

#4
l@mbd@

l@mbd@

    Newbie

  • Members
  • PipPip
  • 27 posts
Is your googler broke at the moment? I can find a lot of math parsers by googling:

"c# parse evaluate math"

if you want to implement your own parser, it's not that difficult. A stack has always been the structure of choice, though I wrote one once entirely using strings, just for fun.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users