Questions
1. Magnitude & Direction of Vector Write a function m-file to find the magnitude and the...

1. Magnitude & Direction of Vector

Write a function m-file to find the magnitude and the direction of cosine of vector F which expresses 3 dimension - x, y, and z.

Here are requirements for the function m-file.

- Parameter-list (input(s)): · 3 dimensional vector · row vector or column vector

- undetermined - Return Value (outputs):

· Magnitude of a given vector, |F| = √ F2 x + F2 y + F2 z

· Angles(degree) from direction of cosine cos(α) = Fx |F| cos(β) = Fy |F| cos(γ) = Fz |F|

· Order of outputs : [Magnitude, α, β, γ]

- Function name : ‘Mag_Vec_yourEmailAccount’ Using a script m-file which will call the Mag_Vec_yourEmailAccount function, save outputs with following given inputs. - F1 = 3ˆi + 2ˆj − 6ˆk. Save it on EX1_1.dat.

- F2 = 4ˆi − 2ˆk. Save it on EX1_2.dat.

- F3 = 4ˆi + 3ˆj. Save it on EX1_3.dat.

- F4 = 5ˆj − 12ˆk. Save it on EX1_4.dat.

- F5 =ˆi +ˆj + ˆk. Save it on EX1_5.dat.

using mathlab functions, thank you!

In: Advanced Math

A set of firms N = {1,...,n} select quantities of the same good to sell. Each...

A set of firms N = {1,...,n} select quantities of the same good to sell. Each firm i selects qi, and P(q1,...,qi,...,qn) = 1,000−(q1 +···+ qn). Assume they will choose q1 +···+ qn < 1,000. Each firm has the same linear cost for producing the goods, so C(qi) = cqi.

(a) Write down each firm’s set of strategies, and profit function.

(b) Write the FOC’s for each firm.

(c) Since firms are symmetric, let qi = qj for each pair i and j. Solve for qi.

(d) Solve for the market price, and each firm’s profit. What happens when n is large?

(e) Do you think this is reasonable/observed?

(f) What elements do you think are missing from the model? Write as many as you can.

(g) What are some difference between Bertrand and Cournot competition? Why are the results different?

In: Advanced Math

Week 10 DB: Misleading Statistics No unread replies.No replies. 1. Where can you find misleading statistics?...

Week 10 DB: Misleading Statistics

No unread replies.No replies.

1. Where can you find misleading statistics?

2.Why do you believe misleading statistics are used in our everyday lives?

3. Find an example of a misleading statistic.Identify where you found it and provide us with either a link or a picture of it. Make sure to state what information from your example makes it misleading and how you were about to identify this.

4.Can you think of another way to illustrate or express this information that might make the authors purpose clearer?

In: Advanced Math

Solve the following differential equations: 1.) y"(t)- 6 y'(t)+9 y(t)=6t^2e^(3t) ; y(0)=y'(0)=0 2.)x"(t)+4x(t)=t +4 ; x(0)=1...

Solve the following differential equations:

1.) y"(t)- 6 y'(t)+9 y(t)=6t^2e^(3t) ; y(0)=y'(0)=0

2.)x"(t)+4x(t)=t +4 ; x(0)=1 , x'(0)=0

In: Advanced Math

Hexadecimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C,...

Hexadecimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.

  1. How many hexadecimal strings of length twelve have five A’s and five B’s?
  1. How many hexadecimal strings of length twelve have at most three E’s?
  1. How many hexadecimal strings of length twelve have exactly three A’s and at least two B’s?

  1. How many hexadecimal strings of length twelve have exactly two A’s and exactly two B’s, so that the two B’s are sandwiched between the A’s? 00A0 B8B8 111A is an example of such string.

  1. How many hexadecimal strings of length twelve have six digits from the set 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and six digits from the set A, B, C, D, E, F? No repetition is allowed.

  1. How many hexadecimal strings of length twelve have four digits from the set 0, 1, 2, 3, 4, 5, four digits from the set 6, 7, 8, 9, A and four digits from the set B, C, D, E, F?

  1. How many hexadecimal strings of length twelve have at least three distinct digits?
  1. How many hexadecimal strings of length twelve, have the sum of all digits equal to 30? Allowed digits are 2, 3,..., 9

In: Advanced Math

Solve as much as you can Using the Lehmer algorithm (Zi = (a Zi-1 + c)...

Solve as much as you can

  1. Using the Lehmer algorithm (Zi = (a Zi-1 + c) (mod m)      0 < Zi < m-1

                   Ui = Zi / m,

with m = 16, a = 5, c = 3, and Z0 = 7, generate three random numbers (U1,U2,U3 ) ………….(SO (a))

subject is Modeling and Simulations

In: Advanced Math

solve the initial value problem using the method of undetermined coefficients y''+9y=sin3t, y(0)=0, y'(0)=2. Please list...

solve the initial value problem using the method of undetermined coefficients y''+9y=sin3t, y(0)=0, y'(0)=2. Please list every step for algebra.

In: Advanced Math

Given vector s = [4, -5, 7], u = [-6, 8, 11], and v = [-5,...

Given vector s = [4, -5, 7], u = [-6, 8, 11], and v = [-5, 3, -7]
a. Let r1(t) be the vector equation through s and u. Express the vector equation r(t) in two ways and then find r(1); r(-5); r(9)
b. Let r2(t) be the vector equation through u and parallel to r1(t), Express r2(t) in two forms and then find r(-3); r(13); r(2)
c. Let w = 2s -4v, find r(t) through u and v

In: Advanced Math

Prove the follwing statements Suppose that S is a linearly independent set of vectors in the...

Prove the follwing statements

Suppose that S is a linearly independent set of vectors in the vector space V and let w be a vector of V that is not in S. Then the set obtained from S by adding w to S is linearly independent in V.

If U is a subspace of a vector space V and dim(U)=dim(V), then U=V.

In: Advanced Math

Create your own 2 × 2 payoff matrix for a two-person zero-sum game with v −...

Create your own 2 × 2 payoff matrix for a two-person zero-sum game with v − < v+. Solve your game (find a saddle point and the value of the game).

In: Advanced Math

In matlab ask the user to select whether to repeat the Newton-Raphson calculation or end the...

In matlab ask the user to select whether to repeat the Newton-Raphson calculation or end the program. If the user exits out of the menu, repeat the request until the user makes a selection. If the program is repeated, store the new final value of the root and new number of iterations in the same variables without overwriting the previous results. Once the user chooses to end the program, save the variables containing the root values and numbers of iterations as calculation res.mat

this is my code so far

vector = input("Enter a vector which has an even number of elements: ");

the vector you enter is the polynomial you work with

the vector that is entered is [0.2 0.3 0 2.4 9.8 -21.4]

In: Advanced Math

(a) Let G be a finite abelian group and p prime with p | | G...

(a) Let G be a finite abelian group and p prime with p | | G |. Show that there is only one p - Sylow subgroup of G. b) Find all p - Sylow subgroups of (Z2500, +)

In: Advanced Math

What are the five forces of Porter's model? What are the specific elements that should be...

What are the five forces of Porter's model? What are the specific elements that should be assessed under each of Porter's five forces? What is the difference between the company you are evaluating, the country industry and the global industry? What is the purpose of the Competitor Profile Matrix? What are different key success factors that a company would consider? What is the purpose of completing a partial SWOT (OT)? From where did the factors of the EFE matrix derive

In: Advanced Math

Find the Fourier coefficients of the following signal. x(t) = 5 + 2sin(w0.t) + cos(2.w0.t) -...

Find the Fourier coefficients of the following signal.

x(t) = 5 + 2sin(w0.t) + cos(2.w0.t) - 3sin(2.w0.t)

In: Advanced Math

(1 point) Suppose that R1={(2,2), (2,3), (2,4), (3,2), (3,3), (3,4)},R1={(2,2), (2,3), (2,4), (3,2), (3,3), (3,4)}, R2={(1,1),...

(1 point)

Suppose that

R1={(2,2), (2,3), (2,4), (3,2), (3,3), (3,4)},R1={(2,2), (2,3), (2,4), (3,2), (3,3), (3,4)},
R2={(1,1), (1,2), (2,1), (2,2), (3,3), (4,4)},R2={(1,1), (1,2), (2,1), (2,2), (3,3), (4,4)},
R3={(2,4), (4,2)}R3={(2,4), (4,2)} ,
R4={(1,2), (2,3), (3,4)}R4={(1,2), (2,3), (3,4)},
R5={(1,1), (2,2), (3,3), (4,4)},R5={(1,1), (2,2), (3,3), (4,4)},
R6={(1,3), (1,4), (2,3), (2,4), (3,1), (3,4)},R6={(1,3), (1,4), (2,3), (2,4), (3,1), (3,4)},

Determine which of these statements are correct.
Check ALL the correct answers below.


A. R3R3 is transitive
B. R2R2 is not transitive
C. R3R3 is reflexive
D. R5R5 is transitive
E. R5R5 is not reflexive
F. R4R4 is antisymmetric  
G. R6R6 is symmetric
H. R1R1 is not symmetric  
I. R1R1 is reflexive
J. R2R2 is reflexive  
K. R3R3 is symmetric
L. R4R4 is transitive
M. R4R4 is symmetric

In: Advanced Math