Raj S. answered 01/21/17
Tutor
4.9
(31)
Computer Science & MS Office lessons from an Engineer in Chicagoland.
Dear Soriya,
I will not go through answer, instead I will talk on how the input data is interpreted.
A compiler on Calculator device or on computer's calculator will consider "tan35/65" as "( tan(35) )/ 65" as no brackets provided in input data.
While in case of tan(35/65) it will be considered as ( tan ( (35) / (65) ) which will end up with different answer.
Always keep BDMAS rule in mind while working with an equation
(B) Bracket, (D) Division, (M) Multiplication, (A) Addition, (S) Subtraction
Thank,
Raj
Math | Computer Science | Programming