Over the past five weeks, we have covered many subjects related to technical wri
ID: 673960 • Letter: O
Question
Over the past five weeks, we have covered many subjects related to technical writing. If someone asked you to prepare a written summary of this five-week course, what would you write? Summaries are often written to make long documents quickly understandable. However, as our text explains, we often have to write summaries to report on meetings, conferences, projects, or programs. Using the information you learned in Chapter 9 of the text, write a 200 - 250 word response that incorporates the elements of a usable summary and summarizes the essential messages of this COM 340 course
Explanation / Answer
Answer :
mortgagePaymentTable.html
<head><title>Mortagage Payment Table</title></head>
<body bgcolor="cyan">
<form name="loan">
<table>
<tr><td colspan="3"><b>Enter Your Loan Information:</b></td></tr>
<tr>
<td>1)</td>
<td>Enter The Loan Amount:</td>
<td><input type="text" name="principal" size="12"
></td>
</tr>
<tr>
<td>2)</td>
<td>Enter Given Rate of Interest 1/8 i.e 0.125 or Any :</td>
<td><input type="text" name="interest" size="12"
></td>
</tr>
<tr>
<td>3)</td>
<td>Enter The Loan Period in Number of Years:</td>
<td><input type="text" name="years" size="12"
></td>
</tr>
<tr><td colspan="3">
<input type="button" value="Compute">
</td></tr>
<tr><td colspan="3">
<b>Your Payment Information of Loan:</b>
</td></tr>
<tr>
<td>4)</td>
<td>Your Monthly Payment Will Be:</td>
<td><input type="text" name="payment" size="12"></td>
</tr>
<tr>
<td>5)</td>
<td>Your Total Payment Will Be:</td>
<td><input type="text" name="total" size="12"></td>
</tr>
<tr>
<td>6)</td>
<td>Your Total Interest Payments Will Be:</td>
<td><input type="text" name="totalinterest" size="12"></td>
</tr>
</table>
</form>
<script language="JavaScript">
function calculate()
{
var principal = document.loan.principal.value;
var interest = document.loan.interest.value / 100 / 12;
var payments = document.loan.years.value * 12;
var x = Math.pow(1 + interest, payments);
var month = (principal*x*interest)/(x-1);
if (!isNaN(month) &&
(month != Number.POSITIVE_INFINITY) &&
(month != Number.NEGATIVE_INFINITY)) {
document.loan.payment.value = round(month);
document.loan.total.value = round(month * payments);
document.loan.totalinterest.value =
round((month * payments) - principal);
}
else {
document.loan.payment.value = "";
document.loan.total.value = "";
document.loan.totalinterest.value = "";
}
}
function round(x) {
return Math.round(x*100)/100;
}
</script>
</body>
</html>
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.