Question: 1. Write a Python code to implement random walk. Please use the following library: import numpy.random.random() Define a class namely the Random_Walk. Model a four

1. Write a Python code to implement random walk. Please use the following library:

import numpy.random.random()

Define a class namely the Random_Walk. Model a four random walk in four dimensions. Implement four methods namely up, down, left, right. The movement should be shown in the form of a graph plotted with the help of

import matplotlib.pyplot as plt

The movement should be updated after every 1 seconds. Please use the following library:

import time

Please attached screenshots of your GUI in your answer sheet

2. Write a Python program that accepts a square matrix from the user. It should also raise an error if the matrix entered is not squared.

(a) Please use linalg library of the Python to compute Eigen values and Eigen vectors of the matrix just entered

(b) Now search the internet for the functionality behind these functions and implement it yourself with the help of numpy library to obtain the same result

Please attach screenshots of your results in your answer sheet

3.(a) Please construct a GUI that shows the front elevation of your BMET building.

(b) The windows must be shown as buttons. (There are two windows)

(c) The name printed should be shown as label ( The name label is above the door)

(d) The door as entry box (The door is in the middle )

(e) Please search the internet for the regular brick pattern that runs both horizontally and vertically

Please attach screenshots of your results in your answer sheet.

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!