turn addition and multiplication into a code

1 view (last 30 days)
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)

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.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!