zondag 11 november 2018

zaterdag 10 november 2018

Opgelost...:-)



SOLVE([2·s + 2·s + 2·s = 30, h + h + 2·s = 20, 2·f + 2·f + h = 13], [f, h, s])
[f = 2  h = 5  s = 5]
f := 2
h := 5
s := 5
s + h*f
15

Opgelost...:-)

vrijdag 9 november 2018

Proof en pudding

\( \eqalign{ & \frac{{\cos \left( u \right) + \sin \left( u \right)}} {{\cos \left( u \right) - \sin \left( u \right)}} = \frac{{1 + \sin (2u)}} {{\cos (2u)}} \cr & \frac{{\left( {\cos \left( u \right) + \sin \left( u \right)} \right)\left( {\cos \left( u \right) - \sin \left( u \right)} \right)}} {{\left( {\cos \left( u \right) - \sin \left( u \right)} \right)^2 }} = \frac{{1 + \sin (2u)}} {{\cos (2u)}} \cr & \frac{{\cos ^2 \left( u \right) - \sin ^2 \left( u \right)}} {{\cos ^2 (u) - 2\sin (u)\cos (u) + \sin ^2 (u)}} = \frac{{1 + \sin (2u)}} {{\cos (2u)}} \cr & \frac{{\cos \left( {2u} \right)}} {{1 - \sin (2u)}} = \frac{{1 + \sin (2u)}} {{\cos (2u)}} \cr & \cos ^2 (2u) = 1 - \sin ^2 (2u) \cr & \sin ^2 (2u) + \cos ^2 (2u) = 1 \cr & {\text{Klopt!}} \cr} \)

maandag 8 oktober 2018

Opgave


Programmeren voor dummies (2)

function kapIPv6(ip)
    dim s
    iF ip<>"" AND InStr(ip,":")>0 Then
        s=Replace(ip,":","|",1,3)
        s=Left(s,Instr(s,":")-1)
        s=Replace(s,"|",":",1,3)
        kapIPv6=s
    else
        kapIPv6=""
    end if
end function

zondag 7 oktober 2018

Programmeren voor dummies

Function RemoveNumber(s)
     s=replace(s,"0. ","")
     s=replace(s,"1. ","")
     s=replace(s,"2. ","")
     s=replace(s,"3. ","")
     s=replace(s,"4. ","")
     s=replace(s,"5. ","")
     s=replace(s,"6. ","")
     s=replace(s,"7. ","")
     s=replace(s,"8. ","")
     s=replace(s,"9. ","")
     s=replace(s,"A. ","")
     s=replace(s,"B. ","")
     s=replace(s,"C. ","")
     s=replace(s,"D. ","")
     s=replace(s,"E. ","")
     s=replace(s,"F. ","")
     RemoveNumber=s
End Function

woensdag 3 oktober 2018