|
|
DataMuseum.dkPresents historical artifacts from the history of: RegneCentralen RC759 "Piccoline" |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RegneCentralen RC759 "Piccoline" Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 762 (0x2fa)
Types: TextFile
Names: »SP-KILDE.VRD«
└─⟦37cf4f704⟧ Bits:30003051 Dymos II - Modeller
└─⟦this⟧ »MODEL2\SP-KILDE.VRD«
dt := 0.001 // sek U0 := 10 // volt f := 10 // Hz m := 1 func U_ydre(t) If m = 1 then return U0 // konstant If m = 2 then return U0 * sin(2*pi*f*t) // sinus If m = 3 then return U0 * sgn(f*t-round(f*t)) // firkant If m = 4 then return U0 * (f*t-round(f*t))*2 // savtak If m = 5 then If (f*t-int(f*t))<0.1 then return U0 // peak return 0 // afbrudt endfunc h1: m := m + 1; If m>5 then m := 0 // skift signal h2: U0 := U0 * 1.2 // h▶91◀v sp▶91◀ndingen h3: U0 := U0 / 1.2 // s▶91◀nk sp▶91◀ndingen