[go: nahoru, domu]

Skip to content

Calculator command line for Engineering Economics homework problems

Notifications You must be signed in to change notification settings

aidoraide/engineeringeconcalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Engineering Economics Calculator

How to use:

python3 calculator.py

You will be given a prompt. Enter an equation without variables (use defined values for i and N) and it will calculate the result as well as the result rounded to the nearest cent.

Examples

$: 500(P/A, 0.06, 10)
3680.0435257073514
500(P/A, 0.06, 10) = 3680.04

$: 20000(P/F, 0.09, 10) + 1000(P/A, 0.09, 40) + 5000(P/A, 0.09, 10) + 2000( (P/A, 0.09, 40) - (P/A, 0.09, 10) )
59973.26982710777
20000(P/F, 0.09, 10) + 1000(P/A, 0.09, 40) + 5000(P/A, 0.09, 10) + 2000( (P/A, 0.09, 40) - (P/A, 0.09, 10) ) = 59973.27

This calculator can also solve for i to find IRR

$: 0 = 2200(P/A, i, 15) + 6000(P/F, i, 15) - 9500
i = 0.22751940767673506
0 = 2200(P/A, i, 15) + 6000(P/F, i, 15) - 9500, for i = 0.23

About

Calculator command line for Engineering Economics homework problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages