How to simplify differentiation

Hi,
I was wondering how to simplify differentiantion in the expression below:
L = 1 + 0.00004*x + 0.0000005*x^2
My answer returns the following value:
ans =
(4722366482869645*x)/4722366482869645213696 + 1/25000
I am looking for
ans =
0.00004 + 0.000001*x
Thank you in advance!
RB

 采纳的回答

Use the vpa function:
syms x
Eqn = (4722366482869645*x)/4722366482869645213696 + 1/25000;
Eqn = vpa(Eqn, 6)
producing:
Eqn =
0.000001*x + 0.00004
.

2 个评论

That's awesome!
Thank you very much.
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by