Author name: PythonCSIP CS IP

5. Write a program to calculate working capital for company A that has cash of about ^ 2,50,000, Accounts received of about ? 1,50,000 and inventories of about ? 5,00,000. Company A also has accounts payable of ? 3,00,000, short term borrowings of ? 75,000 and accrued liabilities of about ? 1,25,000. [Hint. Working Capital = Current assets – Current liabilities]

cash = 250000 ar = 150000 inv = 500000 ap = 300000 stb = 75000 al = 125000 print(‘Working Capital is equal to’, cash+ar+inv-ap-stb-al) # Output Working Capital is equal to 400000

5. Write a program to calculate working capital for company A that has cash of about ^ 2,50,000, Accounts received of about ? 1,50,000 and inventories of about ? 5,00,000. Company A also has accounts payable of ? 3,00,000, short term borrowings of ? 75,000 and accrued liabilities of about ? 1,25,000. [Hint. Working Capital = Current assets – Current liabilities] Read More »

6. Write a program to calculate EMI as per fortnula : E = PR (1+ R)n /((1+ R)” -1 ) where E = EMI ; P = Principal Loan Amount ; R = Rate, of interest per month i.e., (Annual rate of interest/100/12) ; n = tenure of loan repayment in months. Get the input from user (e.g., calculate EMI for loan amount of 2,00,000 at 10% p.a. rate of interest (10/100/12) for a period of 2 years i.e., 24 months.

p = int(input(‘Enter principal : ‘)) r = int(input(‘Enter annual rate of interest : ‘))/1200 n = int(input(‘Enter tenure of loan : ‘)) print(‘EMI is’, p*r*pow((1+r), n)/(pow((1+r), n)-1))

6. Write a program to calculate EMI as per fortnula : E = PR (1+ R)n /((1+ R)” -1 ) where E = EMI ; P = Principal Loan Amount ; R = Rate, of interest per month i.e., (Annual rate of interest/100/12) ; n = tenure of loan repayment in months. Get the input from user (e.g., calculate EMI for loan amount of 2,00,000 at 10% p.a. rate of interest (10/100/12) for a period of 2 years i.e., 24 months. Read More »