Community Profile

photo

Jacob Wagner


Last seen: 3일 전 2022년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 2

배지 보기

Feeds

보기 기준

질문


I am trying to simulate a blackjack game
initially I wrote a function that takes as input the number of the card (in the sense of the columns labeled # in the table), an...

1년 초과 전 | 답변 수: 0 | 0

0

답변

질문


new user to matlab, need help with simulating a game of black jack
Write a Matlab function called card_value.m which takes as input the number of the card (in the sense of the columns labeled # i...

1년 초과 전 | 답변 수: 0 | 0

0

답변

질문


I want to be able to calculate and plot the total interest if the extra payment each month is changing
my code is: which calls on my file: function P = amortization(a, R, n) r = R/12; P = a*(r*((1+r)^n))/(((1+r)^n) - 1); e...

1년 초과 전 | 답변 수: 1 | 1

1

답변

질문


I am having trouble saving a value and calculating new values from it.
my code is: n = 180; a = zeros(1,n); a(1) = 20000; R = 0.06; r = R/12; z = amortization(a(1),R,n); for i = 2:n b(i) ...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to save outputs from previous iterations and plot
my code is: a = 20000; R = 0.06; n = 180; r = R/12; z = amortization(a,R,n); for i = 1:180 b = a*r; %b is interest payed...

1년 초과 전 | 답변 수: 1 | 0

1

답변