Homework Answers

Math 51397 50414
Physics 44335 44333
Chemistry 40988 40988
Economics 30646 30644
Programming & Computer Science 26878 26876
English 10084 10084
Biology 8111 8109
Management 6239 6239
Engineering 6056 6056
History 3490 3489
Psychology 2129 2129
Sociology 1858 1858
Geography 1574 1574
Marketing 1443 1443
Philosophy 1001 1001
Political Science 892 891
Law 876 876
French 438 438
Other 199 199

Questions: 238 634

Answers by our Experts: 237 641

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

You must use looping to solve the problem 

Given the following variables: 

slash = "/" 

backslash = "\\" 

asterisk = "*" 

uscore = "_" 

Define a function that builds the following patterns based on variables given above: 

  pattern1: 

  /\/\/\/\/\/\/\/\/\ 

pattern2: 

*-*-*-*-*-*-*-*-* 

Tip: You may pass those symbols to the function as arguments. For example, your function header could look as following: 

def create_pattern(symbol1,symbol2): 

 

where: 

symbol1 will be assigned to slash 

symbol2 will be assigned to backshash 

 

The same for the second pattern: 

symbol1 will be assigned to asterisk 

symbol2 will be assigned to underscore 

 

 

 

Once the function is ready, you can use it to print the following pattern on the screen: 

create_pattern(slash,backslash) 

create_pattern(asterisk,uscore) 

create_pattern(asterisk,uscore) 

create_pattern(asterisk,uscore) 

create_pattern(slash,backslash) 

 



10. The length of time, in minutes, for an airplane to wait for clearance to take off at a certain

airport is a random variable Y = 3X − 2, where X has the density function


f(x) = {1/4^e−x/4, 0.

x > 0

elsewhere,

Find the mean and variance of the random variable Y.


You were asked to check if a box with given sides could fit into a package. 

Your function should have the following interface: 

def boxToPackageSizeMatchCheck(box, package): 

        

Where box and package are lists of 3 elements of integer numbers. Each element in the list represents width, height and dept.  

To make the task easier for you, we are going to compare only related pairs of width, height and dept (we cannot spin or rotate box or package).  


1. What are optional function arguments & default values? Give an example.

2.Why should the required arguments appear before the optional arguments in a function definition?


Determination of charge/mass ratio of electron using narrow fine beam tube experiment procedure


A vibration damper unit is composed of a rubber cylinder of diameter d compressed inside of a wrought-iron cylinder by a force F applied to the steel rod. Develop, in terms of d, F, and Poisson’s ratio ν for the rubber, the following expression for the lateral pressure p between the rubber and the wrought-iron cylinder.


Compute the value of 𝑝 for the following data: 𝑑 = 63.5 𝑚𝑚, 𝜈 =


0.5, 𝑎𝑛𝑑 𝐹 = 9 𝑘𝑁.

9. The probability density function for a diameter of a drilled hole in millimeters is f(x) =

10e^−10(x−5)

for x > 5 mm. Although the target diameter is 5 mm, vibrations, tool wear,


and other nuisances produce diameters larger than 5 mm.

a) Determine the mean and variance of the diameter of the holes. [Hint: Use

integration by parts.]

b) Determine the probability that the hole exceeds 5.1 mm.


Determination of charge/mass ratio of electron using narrow fine beam tube experiment theory


8. Suppose the probability density function of the length of computer cables is f(x) = 0.1

from 1200 to 1210 millimeters.

a) Determine the mean and standard deviation of the cable length.

b) If the length specifications are 1195 < x < 1205, what proportions of cables are

within specifications?


Determination of charge/mass ratio of electron using narrow fine beam tube experiment objective


LATEST TUTORIALS
APPROVED BY CLIENTS