Difference between revisions of "DigitsTolType"
Jump to navigation
Jump to search
(Created page with "<h2>Digits TolType</h2> <! Header for these sections  no modification needed > <p style="backgroundcolor:#eeeeee;border:black solid 1px;padding:3px;"> This describ...") 

Line 1:  Line 1:  
+  {{UnderConstruction}} 

+  
<h2>Digits TolType</h2> 
<h2>Digits TolType</h2> 

Revision as of 16:40, 28 April 2021
Digits TolType
This describes an alternative way for determining the tolerance type based on the number of digits.
PG problem file  Explanation 

DOCUMENT(); loadMacros( "PGstandard.pl", "MathObjects.pl", "PGML.pl" ); TEXT(beginproblem()); 
Initialization: This is builtin to MathObjects. 
Context("Numeric")>flags>set(tolType=>'digits',tolerateTruncation=>0); 
Setup:

BEGIN_PGML Graph the circle given by the following equation. [`[$circle_eq_lhs] = [$r ** 2]`] [_]{$gt} END_PGML 
Main Text: This asks to graph the circle given by the equation. And the code: [_]{$gt} inserts the GraphTool. 
BEGIN_PGML_SOLUTION The equation of the circle of the form: [`[$circle_eq_lhs] = [$r ** 2]`] has a center at [`([$h],[$k])`] and radius [$r]. To enter the graph, click the circle tool, then click the center at [`([$h],[$k])`] and then click a second point that is [$r] units from the center. This is easist going left, right, up or down from the center. END_PGML_SOLUTION ENDDOCUMENT(); 
This is the solution. 
 POD documentation: [1]