Home / Expert Answers / Mechanical Engineering / read-all-carefully-and-use-matlab-to-answer-problem-3-7-pascal-39-s-triangle-shown-below-is-a-method-pa241

(Solved): Read all carefully and use matlab to answer Problem 3.7 Pascal's triangle, shown below, is a method ...



Read all carefully and use matlab to answer

Problem \( 3.7 \)
Pascals triangle, shown below, is a method for visualizing the binomial coefficients *. These coefficients
Problem Pascal's triangle, shown below, is a method for visualizing the binomial coefficients *. These coefficients may be written as where is the row number and is the column number (starting with and ). Left-aligned Pascal's triangle (as an array) One way to calculate each binomial coefficient is to add the two numbers above it. That is: - (by definition) - For row (where ): - for - for all other values (that is, for ) Write a MATLAB code to create an array containing Pascal's triangle (left-aligned) for rows to using nested FOR loops, then display the array. (Hint: Remember that array indices in MATLAB start at 1. You will have to adjust the formulas in your code to account for this.) *These coefficients show up frequently in probability and in polynomials. For example, when expanding the coefficients of the terms after expanding are the binomial coefficients for . Or, suppose we purchase bolts where each bolt has a 1 in 20000 chance of being faulty. If we select 5000 bolts at random, the probability that exactly bolts are faulty is Pascal's triangle is named for -century French mathematician Blaise Pascal, but the triangle had already been in use for several centuries in several parts of the globe (including Europe) before Pascal's time.


We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe