Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions