Strumenti informatici per la matematica applicata, le simulazioni, il disegno: Mathcad, Matlab, Scilab, Microcap, PSpice, AutoCad ...
Moderatori:
g.schgor,
dimaios
da
g.schgor » 15 nov 2011, 10:57
Ecco la variante:
- Codice: Seleziona tutto
For x=2011 to 1900 step -1
for t=log(x)*log(x)*500 to 0 step -1
next t
CLS
print x
next x
For x=1899 to 1800 step -1
for t=log(x)*log(x)*200 to 0 step -1
next t
CLS
print x
next x
For x=1799 to 0 step -1
for t=log(x+1)*log(x+1)*100 to 0 step -1
next t
CLS
print x
next x
(si sono suddivisi i periodi e aggiunto un andamento quadratico)
Ovviamente per le velocità relative si possono ancora
variare i vari coefficienti (500,200,100)
-

g.schgor
57,8k
9
12
13
- G.Master EY

-
- Messaggi: 16971
- Iscritto il: 25 ott 2005, 9:58
- Località: MILANO
-
da
g.schgor » 16 nov 2011, 16:19
Sembra non interpreti i logaritmi
(anche se compresi nel repertorio:
- Codice: Seleziona tutto
LOG( n )
Description:
This function returns the natural log of n.
Usage:
print log( 7 ) produces: 1.9459101
(prova questo esempio)
E' strano, perché a me funziona regolarmente.
(hai provato a vedere il dettaglio del warning?)
-

g.schgor
57,8k
9
12
13
- G.Master EY

-
- Messaggi: 16971
- Iscritto il: 25 ott 2005, 9:58
- Località: MILANO
-
Torna a Programmi applicativi: simulatori, CAD ed altro
Chi c’è in linea
Visitano il forum: Nessuno e 1 ospite