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

 Akzeptierte Antwort

Star Strider
Star Strider am 4 Dez. 2020

0 Stimmen

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

2 Kommentare

Ruwan Badenhorst
Ruwan Badenhorst am 5 Dez. 2020
That's awesome!
Thank you very much.
Star Strider
Star Strider am 5 Dez. 2020
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by