Homework Answers

Math 50414 50414
Physics 44332 44332
Chemistry 40988 40988
Economics 30643 30643

Questions: 207 418

Answers by our Experts: 207 418

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

Develop a python application that will simulate a simple dice game by rolling two dice for the player as his bet followed by another roll of the two dice for the computer.


The mechanics as is follows:

1. If after the roll of the two dice, resulted to same number, then the sum will be doubled.

2. If the value of each dice is different, then just get the sum of the values of each dice.

Who gets the highest value wins the game.


I need the code to have an output stated above.


Develop a python application that will randomly select n integers from 1 to 9 and will count the number of occurrence of the numbers without using the Counter from collections library.



Sample Output 1:

How many numbers?: 5

[4, 6, 8, 3, 3]

1-4

1-6

2-3


I need the code to have an output stated above.


Create a program that will String input. Based on the number of inputs, the user will decide what shape it is. (1 input – circle, 2 inputs – square or rectangle, 3 inputs - triangle). The program will then display the shape type, details, perimeter and area.


Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar15

Type:Circle

Radius:15

Perimeter:94.2

Area:706.5


Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar15

Type:Rectagle

Length:24

Width:12

Perimeter:72.0

Area:288.0


Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar15

Type:Square

Side:12

Perimeter:48.0

Area:144.0


Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar 9 15 12

Type:Triangle

Sides:9, 15, 12

Perimeter:36.0

Area:54.0


Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar 9 15 12 8

Invalid input


Suppose a population is composed of only 3 measures: 1, 2, and 3. The possible samples of size 2 can be draw from this population. List all the possible sample size 2 when repetition is allowed or with replacement.

Using the numbers 2, 5, 7, 8, and 9 as the elements of the population, do the following:

Find the mean of the samples of size 2 (n=2)

Construct the sampling distribution of the sample means (SDSM).

Create a graph of the histogram of the SDSM. 

Compute the Mean, Variance, and Standard Deviation of the SDSM.



Simple Dice Game


Develop a Python application that will simulate a simple dice game by rolling two dice for the player as his bet followed by another roll of the two dice for the computer.


The mechanics is as follows:


1. If after the roll of the two dice, resulted to same number then the sum will be doubled.


2. If the value of each dice is different, then just get the sum of the values of each dice.


Who gets the highest value wins the game.

Frequency of Numbers


Develop a Python application that will randomly select n integers from 1 to 9 and will count the number of occurrence of the numbers without using the Counter from collections library.


Sample Output:


How many numbers?: 7


[2, 6, 8, 2, 1, 1,6]


2-2


2-6


1-8


2-1

  1. Let p and q be the propositions.

p: It is below freezing.

q: It is snowing.

Express each of these propositions in complete English sentences.

a) p ∧ q 

b) p ∧ ¬q 

c) ¬p ∧ ¬q 

d) q ∨ p 

e) p → q 

f) q ∧ ¬p 

g) q → p 

 

2. Solve the following.

a) Construct a truth table.

¬p ∧ ( p ↔ ¬q )

b) Construct a truth table.

p → ( q  r )

c) Construct a truth table.

p → q ) ∨ ( ¬p ↔ r )

d) Find out if the following is a tautology, contradiction, or contingency

∨ ) ∧ ( ¬p  ¬q )

e) Find out if the following propositions have logical equivalence.

p ↔ q ) ≡ ( p → ) ∧ ( q → )




Jepoy has one 100-peso bill, two 200-peso bills, and five 500-peso bills in his wallet. He wants to randomly pick one bill. Let X be the random variable of choosing one bill from his wallet.



Questions:


1. Construct the probability distribution table of X. [2 points]


2. Compute for the mean of X, denoted as E(X). [2 points]


3. Interpret the mean of X. [1 point]


4. Compute for the variance of X, denoted as V(X). [5 points]


5. Compute for the standard deviation of X, denoted as SD(X). [2 points]


Interpret the standard deviation of X. [1 point

A bus initially with a speed of 25 m/s slows down with an acceleration of -3 m/s2. How far does it travel before coming to a complete stop?

LATEST TUTORIALS
APPROVED BY CLIENTS