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

 Respuesta aceptada

Star Strider
Star Strider el 4 de Dic. de 2020
Use the vpa function:
syms x
Eqn = (4722366482869645*x)/4722366482869645213696 + 1/25000;
Eqn = vpa(Eqn, 6)
producing:
Eqn =
0.000001*x + 0.00004
.

2 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Preguntada:

el 4 de Dic. de 2020

Comentada:

el 5 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by