Jump to content

User:Tentacles/testcases

From Wikipedia, the free encyclopedia
Test cases for the User:Tentacles/sandbox code

Testing for new {{vec}} code

[edit]

Including {{math}} (current {{vec}} code)

[edit]

Illustration of all possibilities for italic A:

Default Overarrow Underarrow
Default A A A
Left A A A
Right A A A
Double A A A

with code:

Default Overarrow Underarrow
Default {{math|{{vec|''A''}}}} {{math|{{vec|''A''||over}}}} {{math|{{vec|''A''||under}}}}
Left {{math|{{vec|''A''|left}}}} {{math|{{vec|''A''|left|over}}}} {{math|{{vec|''A''|left|under}}}}
Right {{math|{{vec|''A''|right}}}} {{math|{{vec|''A''|right|over}}}} {{math|{{vec|''A''|right|under}}}}
Double {{math|{{vec|''A''|double}}}} {{math|{{vec|''A''|double|over}}}} {{math|{{vec|''A''|double|under}}}}

Formulae:

Vorticity of a fluid with velocity field u:

ω = ∇ × u

Tangential velocity in rigid body dynamics:

v = ω × r

Rotating reference frame:

dAdt = dAdtω × A
dA/dt = dA/dtω × A

Including {{math}} (User:Tentacles/sandbox code for {{vec}})

[edit]

Illustration of all possibilities for italic A:

Default Overarrow Underarrow
Default A A A
Left A A A
Right A A A
Double A A A

with code:

Default Overarrow Underarrow
Default {{math|{{User:Tentacles/sandbox|''A''}}}} {{math|{{User:Tentacles/sandbox|''A''||over}}}} {{math|{{User:Tentacles/sandbox|''A''||under}}}}
Left {{math|{{User:Tentacles/sandbox|''A''|left}}}} {{math|{{User:Tentacles/sandbox|''A''|left|over}}}} {{math|{{User:Tentacles/sandbox|''A''|left|under}}}}
Right {{math|{{User:Tentacles/sandbox|''A''|right}}}} {{math|{{User:Tentacles/sandbox|''A''|right|over}}}} {{math|{{User:Tentacles/sandbox|''A''|right|under}}}}
Double {{math|{{User:Tentacles/sandbox|''A''|double}}}} {{math|{{User:Tentacles/sandbox|''A''|double|over}}}} {{math|{{User:Tentacles/sandbox|''A''|double|under}}}}

Formulae:

Vorticity of a fluid with velocity field u:

ω = ∇ × u

Tangential velocity in rigid body dynamics:

v = ω × r

Rotating reference frame:

dAdt = dAdtω × A
dA/dt = dA/dtω × A