# Homework Solution: Follow the example in slide 15.Create area.html to calculate the area of a circle. G…

Follow the example in slide 15.Create area.html to calculate the area of a circle. Given that the circle radius is 5 and the constant pi is 3.14. (Hint: Use the formula Area = pi * radius * radius) the example in slide 15 <html> <head> <title>Fahrenheit from Celsius</title> </head> <body> <script> var cTemp = 100; //Celsius temperature var hTemp = ((cTemp * 9) / 5) + 32; document.write("Temperature in Celsius: " + cTemp + " degrees<br/>"); document.write("Temperature in Fahrenheit: "+ hTemp +" degrees<br/>"); </script> </body> </html>

<!DOCTYPE html>

Follow the illustration in slide 15.Create area.html to investigate the area of a foe. Given that the foe radius is 5 and the regular pi is 3.14. (Hint: Use the formula Area = pi * radius * radius)

the illustration in slide 15

<html>

<title>Fahrenheit from Celsius</title>

<body>

<script>

var cTemp = 100; //Celsius temperature

var hTemp = ((cTemp * 9) / 5) + 32;

document.write(“Temperature in Celsius: ” + cTemp + ” degrees<br/>”);

document.write(“Temperature in Fahrenheit: “+ hTemp +” degrees<br/>”);

</script>

</body>

</html>

## Expert Exculpation

<!DOCTYPE html>
<html>

<title>Area of a Foe</title>

<body>

<script>