subject

Computer Science A PLTW Computer Science
[
1.2.9 Annuity Free Response Question
An annuity is a financial account that produces a fixed payment to the account's owner every year until the
funds in the account are gone. The present value of an annuity is calculated using the amount of the
payment, the interest earned, and the number of payments that will be made.
Specifically, the present value (PV) of an annuity at the time it is created can be determined with the following
formula
PV = pmt
Where: pnt is the payment amount
1 is the interest rate
n is the number of payments to be made
An incomplete Annuity class is provided
public class Annuity
/
• Returns the present value of the annuity
./
public double getPresentValue(int pmt, int i, int n)
to be implemented /
}
// there may be instance variables, constructors, and methods not shown
}
FRQ Using the method header below, write the method getPresentValue. You must convert the given
interest value i to an interest rate percentage.
public double getPresentValue(int pmt, int i, int n)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
The following is an excerpt from a slide presentation. today we will inverse operations solving equations using inverse operations solving inequalities using inverse operations from which part of the presentation does the slide most likely come from? a. introduction b. outline c. body d. conclusion
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What statement best describes operating systems? it’s possible for modern computers to function without operating systems. most operating systems are free or very inexpensive. operating systems are managed by the computer’s microprocessor (cpu). operating systems manage the computer’s random access memory (ram).
Answers: 1
question
Computers and Technology, 23.06.2019 00:40
Consider the following statements: struct nametype{string first; string last; }; struct coursetype{string name; int callnum; int credits; char grade; }; struct studenttype{nametype name; double gpa; coursetype course; }; studenttype student; studenttype classlist[100]; coursetype course; nametype name; mark the following statements as valid or invalid. if a statement is invalid, explain why.a.) student.course.callnum = "csc230"; b.) cin > > student.name; c.) classlist[0] = name; d.) classlist[1].gpa = 3.45; e.) name = classlist[15].name; f.) student.name = name; g.) cout < < classlist[10] < < endl; h.) for (int j = 0; j < 100; j++)classlist[j].name = name; i.) classlist.course.credits = 3; j.) course = studenttype.course;
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
Worth 50 points answer them bc i am not sure if i am wrong
Answers: 1
You know the right answer?
Computer Science A PLTW Computer Science
[
1.2.9 Annuity Free Response Question
...
Questions
question
English, 15.01.2021 18:00
question
SAT, 15.01.2021 18:00
question
Mathematics, 15.01.2021 18:00
question
Mathematics, 15.01.2021 18:00
question
Mathematics, 15.01.2021 18:00
question
Mathematics, 15.01.2021 18:00
question
Chemistry, 15.01.2021 18:00
Questions on the website: 13722362