What can I use as a Plus or Minus sign?

29 views (last 30 days)
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))));

Accepted Answer

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

More Answers (0)

Categories

Find more on Physics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!