turn addition and multiplication into a code

2 次查看(过去 30 天)
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)
^2)

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by