Ask Experts Questions for FREE Help !
Ask
    mnhk2006's Avatar
    mnhk2006 Posts: 18, Reputation: 1
    New Member
     
    #1

    Feb 19, 2006, 11:15 PM
    Math Equations in Databases. How to?
    :eek: Hi tech guys. I am in a software development process for an educational institution. Overview of project is random question generator which deals with all subjects like maths, phy, chemistry,. User enters a question, it may contain mathematical symbols, sub scripts & superscripts. My front end is VB. I don't want to store data as images. How do I retrieve data into front end and how do I store into backend (oracle) without losing formats and symbols. Kindly help me. Very urgent
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    Feb 20, 2006, 10:55 AM
    I'm assuming you are referring to storing the formulas themselves. If these are really complex math equations, then you are better off using an Equation editor (like the one in Word) and storing as an image. There are a number of mathematical symbols that can be used in text strings. The obvious +-/* plus ^ for power may be sufficient for many formulas.
    dmatos's Avatar
    dmatos Posts: 204, Reputation: 26
    Full Member
     
    #3

    Feb 20, 2006, 08:23 PM
    How are the users going to enter the question into the front end? I suspect you will need some form of markup language (for entering and storing the equations) plus a rendering engine (for displaying them).
    mnhk2006's Avatar
    mnhk2006 Posts: 18, Reputation: 1
    New Member
     
    #4

    Feb 21, 2006, 01:38 AM
    My front is vb. I'll be using text boxes to capture data from user. Special symbols are loaded into list box and after selecting a symbol it concats at the end of text box. I need to store it into database and further I should be able to retrieve it. What data type I should use to preserve the formattings and what input controls I should use to retrieve the data.
    dmatos's Avatar
    dmatos Posts: 204, Reputation: 26
    Full Member
     
    #5

    Feb 21, 2006, 05:37 PM
    How are the special symbols represented in the list boxes? Are they selected from a choice of images? I would suggest that you create text representations of the special symbols, like <integral> or <delta>, store them that way, then when retrieving from the database, you could parse for those tags and display an appropriate image.
    mnhk2006's Avatar
    mnhk2006 Posts: 18, Reputation: 1
    New Member
     
    #6

    Feb 21, 2006, 07:22 PM
    I am loading text in list box by setting the font as SYMBOL. So I can select any symbol and this symbol will be padded with text in text box. But when getting the data into text box, it'll be changing the format to its own type. How to do it

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Redox half-equations [ 4 Answers ]

Can anyone help with the equtions for a) oxidation of Fe2+ to Fe3+ b) reduction of MnO4- to Mn2+ and then explain how to combine the equations for the titration of the Mno4- solution with the Fe2+ Thanks in advance

Trig equations [ 1 Answers ]

solve the following for 0 is less than or equal to x which is less than or equal to 2pie sinxcscx-cscx+2sin=0

Thermochemical equations [ 1 Answers ]

I have been given this thermochemical equation: http://images5.theimagehosting.com/chem2.1.JPG and I need to calculate the quantity of heat liberated by the reaction of 50.0g of N2O(g) with excess NH3(g) and also the quantity of heat liberated by the reaction that produces 50.0g of N2(g) ...

How do you do these equations? [ 1 Answers ]

-x+(5-x)=1 and 13-(-2x+)+8 and 3x-7(x-1)=-3(2x+3)

Access databases [ 1 Answers ]

Anyone know of any good sites with sample databses?


View more questions Search