数学题目怎么保存到mysql中,如何将数学方程式保存到数据库..?

My website is in Asp.net and I am using MySql as database. I have some sample math papers in Microsoft office word. I want any kind of HTML input tool like textbox or editor so that I can copy office word formulas direct to editor and that I have to save into database

Example:

Solve the inequation and represent the solution on the number line: (7x-5)/(2x+14) ≥ 1 1/4 (x ≥ -7), x ∈ R. [x ≥ 5]

Consider the above question if I do copy paste into textbox some of symbols it takes as garbage..

解决方案

To save math equation into database, a text format is more applicable. You can convert it to any format.

Refer to this question understanding a mathematica equation on mathematica.stackexchange.com, there are many math formula with many specified chars and in text format.

There are many ways to render a text formula.

, the math equation is with text format n(r) = \frac{2\pi r^2}{\sqrt{3}} in latex format.

n(r)=2πr23 is in mathml format.

You also can use a render in your server or a client render to render the text formual to a image, like ?e=n(r)%20=%20%5Cfrac%7B2%5Cpi%20r%5E2%7D%7B%5Csqrt%7B3%7D%7D

So you can choose a common formula format, when use it you can render it directly or convert it to other format, or image.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值