Java Learning Made Easy by Dheeraj Mehrotra - HTML preview
PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.
Download the book in PDF, ePub, Kindle for a complete version.
Math Functions of JAVA


(i). sin(): (vi). atan();

(xi). ceil()

FORMAT: FORMAT:


Math.sin(a); Math.atan(a); FORMAT: Math.ceil(a);

(ii). cos(); (vii). pow(); (x). floor()
FORMAT: FORMAT: FORMAT: Math.floor(a);Math.cos(a); Math.pow(a,b);



(xi). rint()

(iii). tan(); (viii). exp()

FORMAT: Math.rint(a);

FORMAT: FORMAT:
Math.tan(a); Math.exp(a); (xii). abs()



(iv). asin(); (ix). log() FORMAT: Math.abs(a);
FORMAT: FORMAT: (xiii). max()Math.asin(a); Math.log(a);



FORMAT: Math.max(a,b); (v). acos(); (x). sqrt()



(xiv). min()

FORMAT: FORMAT:
Math.acos(); Math.sqrt(a); FORMAT: Math.min(a,b);




attention@computerscienceexpertise.com























