Need to convert my equation in to a decimal number

4 Ansichten (letzte 30 Tage)
Hasintha Amaranayaka
Hasintha Amaranayaka am 27 Feb. 2015
Beantwortet: Greig am 27 Feb. 2015
(9973*sin(1867/500))/80000 + (16813*sin(1867/1000))/20000 - (1187*sin(1867/2000))/1000 - (1187*sin(5601/2000))/3000 + 18619591/40000000
>how to i covert this final answer in to a single decimal num?

Antworten (1)

Greig
Greig am 27 Feb. 2015
If by a "single decimal num", you mean round to 1 decimal point, then...
Let X be your big long equation
X2 = round(X*10)/10;
X2 is X rounded to 1dp

Kategorien

Mehr zu Elementary Math finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by