WebMar 14, 2014 · The student went through getting the sine of a 45° triangle, and gave me the correct answer to 3 digits after decimal. (Note, the two legs of the triangle were both 7) My issue – she had 0.7071 as sine of 45°, but lost the radical as she got the decimal solution. Her answer 7.071 was right, but I felt that $5\sqrt{2}$ was a missed opportunity. WebJun 13, 2013 · 1. You compute (a + b + c) / 3 and then you store it in avgResult. avgResult is a double, but a + b + c is int, 3 is int, so the result of division is int. So you finally store an int in your double variable. Another way to get a double result, besides the already mentioned one: avgResult = a + b + c; avgResult /= 3; Share.
Converting decimals to exact values : r/askmath - Reddit
WebNov 4, 2009 · Since pi can not be written exactly as a decimal or fraction, you have two options:1) Keep the answer as 42 pi, to have the exact value.2) Round the number pi to the desired precision, for example 3.14, or 3.1416, then carry out the multiplication.Since pi can not be written exactly as a decimal or fraction, you have two options:1) Keep the ... WebApr 7, 2024 · If you want the value expressed in decimal form, in the great majority of cases these cannot be given exactly, since all our computers using matlab use binary numbers, not decimal numbers. ... There is one kind of matlab format that gives an exact value, and that is “format hex”, but it is in the special IEEE 754 hexadecimal format which ... glycerin shoes sale
Hey still totally confused forgot what to do if anyone could help ...
WebMay 20, 2010 · You'll need to think about mathematics behind this to understand it. Real numbers like 1/3 cannot be represented in math with decimal values since they're endless (e.g. - .333333333333333 ...). Some numbers in decimal cannot be represented in binary correctly. For example, 0.1 cannot be represented in binary correctly with a limited … WebFree math problem solver answers your algebra, geometry, trigonometry, calculus, and statistics homework questions with step-by-step explanations, just like a math tutor. ... WebAnswer (1 of 6): Do you KNOW the exact value or are you only given a (finite) decimal form? If you know the exact value is a rational number (form p/q, where p and q are … bolivar urology cleveland ms