turn addition and multiplication into a code

1 view (last 30 days)
hamda almaeeni
hamda almaeeni on 27 Oct 2020
Commented: madhan ravi on 27 Oct 2020
i am trying to write teh function y as an eqaution for x so the equation is y=0.5*0.024(x^2+(0.06+x)

Answers (1)

madhan ravi
madhan ravi on 27 Oct 2020
syms x
y = 0.5*0.024*(x^2+(0.06+x)^2);
I suggest you to do MATLAB On-ramp course.


Community Treasure Hunt

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

Start Hunting!

Translated by