Jump to content

User:CasualCycloneTracker180897

From Wikipedia, the free encyclopedia

Hello there! I am CasualCycloneTracker180897. The origin of the numbers in my username come from Hurricane Milton's operational analysis from the NHC. I enjoy tracking tropical systems around the world, as well as some mathematical topics. I like to visit the Wikipedias of other languages, even though I do not wholly understand the content of those wikis.

Testing Wikipedia things

[edit]

Tropical cyclone things

[edit]

Hurricane page

[edit]
Test hurricane
An example image used for testing a Wikipedia template. This hurricane isn't real and never will be.
Meteorological history
FormedJanuary 1, Undefined
DissipatedDecember 31, Undefined
Category 5 major hurricane
1-minute sustained (SSHWS/NWS)
Highest winds200 mph (325 km/h)
Lowest pressure879 mbar (hPa); 25.96 inHg
Overall effects
Areas affectedOne volcanic island

Test hurricane was a hurricane that never existed and never will. The analysis isn't real and never will be. It began as a tropical wave off the coast of an undisclosed and undefined location. It formed on January 1st as a minimal tropical storm. It then explosively strengthened within an unusually short period of 6 hours, peaking with maximum 1-minute sustained winds of 200 mph (325 km/h) and a minimum central pressure of 879 mbar/hPa (25.96 inHg). It managed to retain this intensity for 364 days and 12 hours before abruptly dissipating on December 31.

It had affected a previously undiscovered volcanic island that had very recently formed on July 1st, coincidentally midway through the year.

My cyclone scale

[edit]

This scale was designed in miles per hour. Conversions to other units are rounded. The sustained wind speed measurement is in 1-minute sustained, for easy conversions between the Saffir-Simpson scale and this one.

Category Abbreviation m/s knots mph km/h SSHWS equivalent
Depression D ≤16 ≤32 ≤37 ≤60 TD
Storm S 17-27 33-53 38-61 61-99 TD, TS
Severe Storm SS 28-34 54-68 62-78 100-126 TS, C1
Cyclone C 35-47 69-93 79-107 127-172 C1, C2
Strong Cyclone SC 48-62 94-121 108-139 173-224 C2, C3, C4
Violent Cyclone VC 63-72 122-149 140-172 225-277 C4, C5
Extreme Cyclone EC ≥77 ≥150 ≥173 ≥278 C5

Score

[edit]

\relative c' {
c4 d e f g a b c <c, e g>1^"C major"
\key c \minor
<c ees g>^"C minor"
}

Here is a little part of a score of mine:


<<
\new Staff
\relative c' {
\key c \minor
\tempo "Vivace" 4 = 166
c8 d c d ees d ees d c-. d-. c-. d-. ees-. d-. ees-. d-. c'4-. bes-. c-. g-. c-. bes-. c-. g-. c^"rit. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _" bes aes c bes aes g bes aes g f aes <d, g>1\fermata \bar "|."
}
\new Staff
\relative c {
\key c \minor
\clef bass
R1*2 <aes c>4. <bes d> <c ees>4 <c ees>8-.( <c ees>8-. <c ees>8-. <c f>8-. <c f>8-. <c ees>8-. <c ees>4--)
<<
{
\voiceOne
c'4 bes aes c bes aes g bes aes g f aes <d, g>1\fermata
}
\new Voice {
\voiceTwo
aes'8 f g ees f4 aes g8 ees f d ees4 g f8 d ees c d4 f
}
>>
}
>>

Mathematics

[edit]

I know a little of calculus, a lot of arithmetic, much of algebra, a moderate amount of geometry, etc. I will not be solving equations on request, and I do mathematics often as a recreational activity.

The antiderivative of (or simply 1, assuming ) is equivalent to x plus the constant of integration.

The antiderivative of the sign of x is equivalent to the absolute value of x plus the constant of integration.

The absolute value of x can also be represented as x times the sign of x.

Given the circumference of a circle, this equation can be used to find the diameter of said circle.

This parametric equation can be used to render a circle in a graphing calculator, given the radius and origin, separated into two numbers and .

, assuming

Chemistry

[edit]

A dihydrogen monoxide molecule is made up of two hydrogen atoms and one oxygen atom.

An insulin molecule is uhh... oh dear... 257 carbon atoms, 383 hydrogen atoms, 65 nitrogen atoms, 77 oxygen atoms, and 6 sulfur atoms.

The lithium-7 isotope, as an atom, has 3 protons, 4 neutrons, and 3 electrons.

Sodium chloride, also commonly known as salt, can be expressed most commonly as , but given that the sodium is present in the form of cations and chlorine is present in the form of anions, can be used. But the isotopes inside are likely sodium-23 and chlorine-37. Therefore, this can be used.

Code

[edit]

Lua

[edit]
function getNumberRoot(x: number, root: number)
    return x ^ (1 / root)
end
print(getNumberRoot(8, 3))

This simple program outputs 2, as .

Roblox (Modified Lua)
[edit]

Given a selected anchored Part, move it upwards at an exact speed given an amount of studs per second.

local part = workspace.Part -- Replace this if you want
local speed = 1 -- This can be changed to any real number
game:GetService("RunService").Heartbeat:Connect(function(delta) -- Parameter delta is the difference in time between the previous frame and current frame, referred to as "delta time" in documentation
    if part:IsA("Part") then
        if part.Anchored == true then
            part.Position += Vector3.new(0, delta * speed, 0)
        end
    end
end)

Given a set of waypoints, move a BasePart along each waypoint in order given a speed.

local part = workspace.Part -- Replace this if you want
local speed = 24 -- This can be changed to any real number
local waypoints = {
    Vector3.new(32, 0, 0);
    Vector3.new(32, 32, 0);
    Vector3.new(32, 32, 32);
} -- This is a set of 3-dimensional coordinates that the BasePart will move to
local tweenService = game:GetService("TweenService")
for _, v in pairs(waypoints) do
    local origin = part.Position
    local move = tweenService:Create(part, TweenInfo.new((origin - v).Magnitude / speed, Enum.EasingStyle.Linear), {Position = v})
    move:Play()
    move.Completed:Wait()
end

JavaScript

[edit]

I learned JavaScript pretty quickly!

class MoonPhase {
    constructor(name, progress) {
        this.name = name;
        this.progressValue = progress;
    }
}

let phases = [new MoonPhase("New Moon", 0), new MoonPhase("Waxing Crescent", 0.125), new MoonPhase("First Quarter", 0.25), new MoonPhase("Waxing Gibbous", 0.375), new MoonPhase("Full Moon", 0.5), new MoonPhase("Waning Gibbous", 0.625), new MoonPhase("Last Quarter", 0.75), new MoonPhase("Waning Crescent", 0.875)]
console.log(phases[5].progressValue)

The program above lists each of the popularly known moon phases in an array called phases, then prints out in the console the progress value for the sixth phase.

Old test code
[edit]

Please understand that this code is from when I didn't know too much about JavaScript.

var number = 10;
function cubeNumber(x) {
    return x * x * x
}
cubeNumber(number);

The program above returns 1000.

var array = [25, 4, 1, 16, 9];
function addAllItems(x) {
    var result = 0;
    for (let i = 0; i < x.length; i++) {
        result += x[i];
    }
    return result;
}
addAllItems(array);

The program above returns 55, the sum of all squares from to , which can also be written in math as .

Java

[edit]

Although I don't know much about coding Java (I do know that a lot of apps use it), here's what little I do know!

enum ProgrammingLanguage {
    Java,
    JavaScript,
    Python,
    Lua
}

public class WikipediaTestI {
    public static void main(String[] args) {
        String lang = ProgrammingLanguage.Python;
        System.out.println(lang);
    }
}

Python

[edit]

I learned a lot of Python using an iOS app called Mimo, which is an app (however does have a website) that uses a Duolingo-like system for teaching programming languages.

This code is basic, because this was in early lessons.

course = "Python"
primary = "Lua"

print(course == primary)

This outputs False. The variable primary is "Lua" because that's the programming language I am most familiar with.

Getting further, I learned functions!

def product(number_list):
  count_list = number_list.sort()
  result = count_list[0]
  index = 0
  for number in count_list:
    if index > 0:
      result *= number
    index += 1
  return result

list = [5, 2, 3, 8, 13]
print(product(list))

This outputs , or 3120. The list is sorted before the total product is calculated. To get the total product of the list, a new variable called result is created, initially defined as the first item in the sorted list. Then, result is multiplied by each item after the first. If you haven't already noticed, I put the 1, 1 Fibonacci sequence here.

HTML

[edit]
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>This is a test</title>
    </head>
    <body>
        <h1>This is a heading</h1>
        <p>And I am a paragraph!</p>
    </body>
</html>

Swift

[edit]

Although I am new to Swift, I am learning it on the aforementioned app Mimo (See this page § Testing Wikipedia things § Code § Python).

let myConstant = !true
var numeral = 1234 - 123

print(myConstant)
print(numeral)

! followed by a boolean true or false is the negation operator, like not true in many other programming languages. The console first prints false and then 1111, which is .