Community Profile

# Sherman Ng

Last seen: 12 months ago Active since 2022

#### Content Feed

View by

Question

What to do with for-while loop?
The question is "Create the matrix based on the probabilities [0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125] until you get t...

12 months ago | 1 answer | 0

### 1

Question

How to do inverse tranform in dice throw simulate?
Hi so I'm trying to simulated loaded dice throw and do a inverse transform, here's my code so far: a = [0.125 0.125 0.125 0...

12 months ago | 0 answers | 0

### 0

Question

Output doesn't seem right
Hi, so this is the output that I have so far, but the question has T-i and T-0 variables and I'm not sure what to do wit...

1 year ago | 1 answer | 0

### 1

Question

Output doesn't seem to be correct
Hi so this is the polynomial question that I've been stuck on for a while, this is what I have so far but apparently my ou...

1 year ago | 0 answers | 0

### 0

Question

I'm not sure about the objective of this question
I'm not sure about what the objective of the question. I assume that the polynomial coefficient vector means that I should...

1 year ago | 0 answers | 0

### 0

Question

How to replace letters with numbers in matrix
Hi, so I would like to replace A with 4, B with 3, C with 2, D with 1, and F with 0 in this matrix, here is the code that I have...

1 year ago | 1 answer | 0

### 1

Question

Matrix value multiplication error
Hi, so I'm trying to get the n values to multiply each values in the P matrix in order to get the compound interest values, bu...

1 year ago | 1 answer | 0

### 1

Question

Getting a compound matrix to work
So my goal is to: Create a matrix with four columns: the first column contains the principal amount that is deposited in a bank,...

1 year ago | 1 answer | 0

### 1

Question

How do I create this matrix?
Apparently this is supposed to be 4 separate blocks, two of them diagonal and two of them constant. So should I do something lik...

1 year ago | 1 answer | 0