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

 Accepted Answer

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

2 Comments

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

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!