[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1 i 2
From: |
slaythemall |
Subject: |
Re: 1 i 2 |
Date: |
Wed, 22 Jun 2016 01:17:20 -0700 (PDT) |
Ostatnie poprawki:
function [i, w] = zad_2()
suma = 0;
n = 1;
while (1)
w = n * sqrt(n + 3) /(2^n);
suma += w;
if (suma > 4.8)
w = (n - 1) * sqrt(n + 2) /(2^(n - 1));
i = n - 1;
return;
endif
n += 1;
endwhile
endfunction
teraz powinno być już dobrze
--
View this message in context:
http://octave.1599824.n4.nabble.com/1-i-2-tp4677888p4677906.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Re: 1 i 2, slaythemall, 2016/06/22
- Re: 1 i 2, slaythemall, 2016/06/22
- Message not available
- Message not available
- Re: 1 i 2, slaythemall, 2016/06/22
- Re: 1 i 2, slaythemall, 2016/06/22
- Re: 1 i 2, slaythemall, 2016/06/22
- Re: 1 i 2, slaythemall, 2016/06/22
- Re: 1 i 2, slaythemall, 2016/06/22
- Re: 1 i 2, slaythemall, 2016/06/22
- Re: 1 i 2,
slaythemall <=
- Message not available
- Re: 1 i 2, slaythemall, 2016/06/22