turn addition and multiplication into a code

2 visualizzazioni (ultimi 30 giorni)
hamda almaeeni
hamda almaeeni il 27 Ott 2020
Commentato: madhan ravi il 27 Ott 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)
^2)

Risposte (1)

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

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by