Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this homework assignment. I dont really understand programming. When you help me, could you please answer step by step? I dont

I need help with this homework assignment. I dont really understand programming. When you help me, could you please answer step by step? I dont want to get confused on what part was answered. This is what my profressor posted:

Submit your Program and program code (in a word file) separately. I will run your program in my computer. Therefore, I need actual program. I also need the code in a word file. Question 1: Using R, Mathematica or Matlab write a computer program which can calculate PV, FV, N, PMT, I/Y for annuity due and annuity immediate given other four quantities. In short, I want your program to imitate what BA II-Plus calculator annuity functions do. In BAII-Plus, when you enter four of FV, PV, PMT, N, I/Y it will give you the remaining quantity.

A. -Your program should work for annuity due as well as annuity immediate.

B. -In BAII plus calculator, I/Y is nominal rate and inside that function you can input C/Y and P/Y, your program should imitate this too.

C. Extend the program to arithmetic progression annuity by requesting P and Q (for annuity due and immediate). - This program should calculate present value/ future value

D. Extend the program to geometric progression annuity by requesting g (for annuity due and immediate) - This program should calculate present value/ future value

E. In BAII-Plus, you have to enter nominal rate in I/Y. Modify your program, so you can enter effective rate and still use C/Y and P/Y functions (In BAII-Plus, if we enter effective rate for I/Y then we have to set C/Y=1 , which limit the ability of calculator function)

For all these questions, you should have user-friendly interface. For example, for question 01, here is a sample interface using R-Shiny package. User should not bothered with what happening behind the interface. That mean all user see is this type interfaces for all three questions.

image text in transcribed

TVM Worksheet Calculator Results Compute N Compute 1% Effective P/Y: Leave P/Y set to 1 if not calculating annuity. Check box if using effective interest rate instead of nominal PV: Compute PV FV: Compute FV PMT Compute PMT DBGN Increase: GEO Leave PMT set to 0 if not calculating annuity. Check BGN box for payments at beginning of period (annuity-due) Check GEO if increase in payments is geometric instead of arithmetic TVM Worksheet Calculator Results Compute N Compute 1% Effective P/Y: Leave P/Y set to 1 if not calculating annuity. Check box if using effective interest rate instead of nominal PV: Compute PV FV: Compute FV PMT Compute PMT DBGN Increase: GEO Leave PMT set to 0 if not calculating annuity. Check BGN box for payments at beginning of period (annuity-due) Check GEO if increase in payments is geometric instead of arithmetic

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Foundations Of Personal Finance

Authors: Sally R. Campbell, Robert L. Dansby

9th Edition

1619603578, 9781619603578

Students also viewed these Finance questions

Question

2. 23.5b Describe the role of the swap dealer.

Answered: 1 week ago