A project for school 21, written in C and Python
-
Arithmetic operators:
Operator name Operator call Brackets (a + b) Addition a + b Subtraction a - b Multiplication a * b Division a / b Power a ^ b Modulus a mod b Unary plus +a Unary minus -a -
Functions:
Function description Function Computes cosine cos(x) Computes sine sin(x) Computes tangent tan(x) Computes arc cosine acos(x) Computes arc sine asin(x) Computes arc tangent atan(x) Computes square root sqrt(x) Computes natural logarithm ln(x) Computes common logarithm log(x) -
Credit calculator
- Input: total credit amount, term, interest rate, type (annuity, differentiated)
- Output: monthly payment, overpayment on credit, total payment
-
deposit profitability calculator
- Input: deposit amount, deposit term, interest rate, tax rate, periodicity of payments, capitalization of interest, replenishments list, partial withdrawals list
- Output: accrued interest, tax amount, deposit amount by the end of the term