问题描述
我需要在pl/sql中解析数学方程式/函数.
oracle pl/sql提供了哪些数学运算/函数可以帮助我解析这样的数学函数:
I need to resolve a math equation/function in pl/sql.
What kind of math operations/functions are available in oracle pl/sql that could help me resolve a math function like this :
(3.5/(1+x))+(3.5/(1+x)^2)+(3.5/(1+x)^3)+(3.5/(1+x)^4)+(100/(1+x)^4)=101.55
我想要一个函数来解析此语句并找出x
的值.
I want a function to resolve this statement and find out the value of x
.
有帮助吗?谢谢.
推荐答案
可惜Oracle数据库不是数学工具.它具有许多算术和统计函数但它没有能够解释方程式的内置功能.对不起.
Alas the Oracle database is not a mathematical tool. It has lots of arithmetical and statistical functions but it doesn't have built-in functionality capable of interpreting equations. Sorry.
Marc巧合(又名 Odie_63 )最近已发布他用PL/SQL编写的反向波兰符号表示计算器.它并不能完全满足您的要求,但是我提供了一个链接,以供将来可能偶然发现此线程的所有寻求者使用. 了解更多信息.
By sheer coincidence Marc (AKA Odie_63) has recently published a Reverse Polish Notation calculator which he has written in PL/SQL. It doesn't do precisely what you want but I'm including a link for the benefit of any seekers who may stumble upon this thread in the future. Find out more.
这篇关于解析数学函数PL/SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!