Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You can use matlab, java, mathematica, R But not python. Write a program to calculate roots of quadratic and cubic equations. If no solution exists
You can use matlab, java, mathematica, R But not python.
Write a program to calculate roots of quadratic and cubic equations. If no solution exists (real numbers), then program should give an output mentioning that. Quadratic equations: ax2 + bx + c = 0 cubic equations: ax3 + bx2 + cx + d = 0 (You can use Newton-Raphson method to approximate the roots) 4. 5. Now use the program written in part (4) to answer following question Ace manufacturing agrees to pay $100,000 immediately and again in exactly two years in return for a loan of $210,000 one year from now. What is the internal rate of return associated with this transaction? Use program in part(4) to answer following question. Investor A agrees to invest $1,000,000 at t-0 and $3,471,437 at t-2. In return he will get $3,228,000 at t-1 and $1,243,757 at t=3. Find the IRR associated with this transaction. 6
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started