Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

displaying degrees, mintues & seconds for angles in MathCad

Status
Not open for further replies.

bailey

Structural
Mar 24, 2001
12
Is there a way to display degrees, minutes & seconds in Mathcad? MathCad defaults are in radians and decimal degrees. Any help is greatly appreciated.
 
Replies continue below

Recommended for you

I belive that there is not a direct command in MathCad that provide directly the conversion to Degree, Min & Sec. However, this can be obtain as follow:

Deg(X)=trunc(X)

Min(X)=trunc(60(X-Deg(X))

Sec(X)=trunc(3600.(X-Deg(X))-60.(Min(X))

ex.

X=5.23 Deg(X)=5 Min(X)=13 Sec(X)=48

Notice that MathCad recognise the unit "deg" and "rad" (See the HELP index in your program). In the simplified sample above the input value X is in degree.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor