Question: Write python code for this 1. Plot a graph which compares the simple interest and the compound interest of the principal amount of 5000 for

Write python code for this

1. Plot a graph which compares the simple interest and the compound interest of the principal amount of 5000 for 10 years at the interest rate of 15%. Please create two line charts in a single plot with appropriate labels and different colors/styles

2. For the two matrices below, please write a Python program using numpy arrays that calculates their sum and dot product

A = [[1 0 0] B = [[1 1 1] [0 2 0] [1 1 1] [0 0 3]] [1 1 1]]

Generate another random 3x3 matrix, print this randomly generated matrix and provide the sum of all the three matrices.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!