What can I use as a Plus or Minus sign?

2 Ansichten (letzte 30 Tage)
John Steele
John Steele am 22 Sep. 2015
Beantwortet: Joseph Cheng am 22 Sep. 2015
In this equation I can't figure out how to make the + into a plus or minus sign to get both answers other than doing it twice with s1 and s2 instead of s.
s=(-800/(2*.1))+(sqrt(((800/(.1*2))^2)-(1/(.1*.000001))));

Akzeptierte Antwort

Joseph Cheng
Joseph Cheng am 22 Sep. 2015
s=(-800/(2*.1))+[1 -1]*(sqrt(((800/(.1*2))^2)-(1/(.1*.000001))))

Weitere Antworten (0)

Kategorien

Mehr zu Physics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by