Commentary on science, math, education, and aerospace.
Old

Posting Source Code in Computing and Technology

Posted Jan12-12 at 07:16 PM by jhae2.718 (Divergent Thoughts)
Updated Feb1-12 at 08:04 PM by jhae2.718

When posting code on Physics Forum for help, it's important to make sure it is readable and understandable. Directly pasting code into a post fails to accomplish this, as all formatting and whitespace is stripped by the forum software. Indentation and formatting exists for a reason: to allow others to easily read and comprehend your code. This is especially important in languages where whitespace is significant, such as the Python programming language.

The following is an example...
jhae2.718's Avatar
Aerospace Dynamicist
Posted in Uncategorized
Views 2061 Comments 1 jhae2.718 is offline
Old

LaTeX Problems

Posted May13-11 at 08:05 PM by jhae2.718 (Divergent Thoughts)
Updated Jun7-11 at 09:54 AM by jhae2.718
Tags latex, tex

Edit: PF is now using MathJax to process [itex]\LaTeX[/itex]. This issue should no longer occur.

For the record:

There is a known bug on the site wherein the LaTeX implementation incorrectly displays images when previewing or updating TeX. This is caused by problems with the caching of the generated images.

You can:
  1. Clear the cache on your browser
  2. Refresh the page with F5
  3. Submit the post/edit, and then refresh
  4. Write the markup in LaTeX locally
...
jhae2.718's Avatar
Aerospace Dynamicist
Posted in Uncategorized
Views 5293 Comments 0 jhae2.718 is offline
Old

Derivations of Introductory Physics Formulary

Posted Mar24-11 at 10:18 PM by jhae2.718 (Divergent Thoughts)
Updated May19-11 at 08:53 AM by jhae2.718

Introduction
For reference, I thought I'd post some derivations of introductory calculus-based physics formulas, starting with those from mechanics.

Nomenclature
Bold face indicates a vector quantity.
Italic variables are scalar quantities.
For first and second order time derivatives, Newtonian notation is used.
For all other derivatives, Leibniz notation is used.


I. Kinematics
The most basic equation in kinematics...
jhae2.718's Avatar
Aerospace Dynamicist
Posted in Uncategorized
Views 9194 Comments 2 jhae2.718 is offline
Old

Introduction to Programming, Part II

Posted Mar18-11 at 10:23 PM by jhae2.718 (Divergent Thoughts)
Updated Mar18-11 at 10:33 PM by jhae2.718

--- Continued from Part I---


Flow Control
If a program could only go from one step to the next, it wouldn't be of much use. Luckily, there are constructs that allow us to change the way the program flows. These include loops, conditionals, and switches.

Loops

A loop is a programming constant that repeats a block of code if a condition is met.

Loops allow us to repeat code in certain cases. Their are two main kinds of loops,...
jhae2.718's Avatar
Aerospace Dynamicist
Posted in Uncategorized
Views 9483 Comments 4 jhae2.718 is offline
Old

Introduction to Programming, Part I

Posted Mar18-11 at 10:09 PM by jhae2.718 (Divergent Thoughts)
Updated May18-11 at 03:16 PM by jhae2.718

The following is part of an essay on elementary programming concepts I wrote for my group in my engineering class. I thought it might prove useful to someone, so I have posted a version here converted from the original LaTeX.

Abstract:

The art of programming is nontrivial; the programmer is required to master concepts of logic, program flow, and syntax. This requires learning to think in a different manner than persons are normally accustomed to. This paper attempts...
jhae2.718's Avatar
Aerospace Dynamicist
Posted in Uncategorized
Views 5554 Comments 0 jhae2.718 is offline