## DESCRIPTION
## ENTER DESCRIPTION HERE
## ENDDESCRIPTION

## DBsubject(Thermodynamics)
## DBchapter(Temperature, Kinetic Theory, and the Gas Laws)
## DBsection(Temperature)
## Date(January 2018)
## Institution(Brock University)
## Author(Brandon Lostracco)
## Edited(Connor Wilson, May 17, 2018)
## TitleText1('College Physics')
## AuthorText1('Urone et. al')
## EditionText1('2017')
## Section1('13.1')
## Problem1('5')
## KEYWORDS('temperature')

DOCUMENT();
loadMacros( "PGbasicmacros.pl",
                "MathObjects.pl",
	        "PGauxiliaryFunctions.pl",
	        "PGchoicemacros.pl",
	        "PGanswermacros.pl",
                "PG_CAPAmacros.pl",
    		"BrockPhysicsMacros.pl",
                "answerHints.pl"
);

TEXT(beginproblem());

$showPartialCorrectAnswers = 1;
$showHint =3;

$temp = random(5750,6250,1);

$A1 = (9/5)*($temp-273.15)+32;

Context() -> texStrings;
BEGIN_TEXT

$PAR

<b>If you do not answer this question correctly in $showHint attempts, you can get a hint.</b>

$PAR

The surface temperature of the Sun is about \($temp\) \(\textrm{K}\). What is this temperature on the Fahrenheit scale?

$PAR

\{ans_rule(40)\} \(^{\circ}\textrm{F}\)

$PAR

END_TEXT
BEGIN_HINT
Can you first convert this Kelvin temperature to Celsius? If so, then you could, in turn, recalling the appropriate formula, convert from Celsius to Fahrenheit.
END_HINT

Context() -> normalStrings;

ANS(num_cmp("$A1"));


ENDDOCUMENT()