Global Sources
EE Times - IndiaWebsite
eeBlog Home / eeBlog / Programmer's Toolbox

Profile
Nickname: Jack Crenshaw     Articles(25)    Visits(14363)    Comments(1)    Votes(0)    RSS
Jack Crenshaw's column features algorithms and plug-and-play routines, along with explanations of how they work.
Blog Archive:
2011 -  Jun.,  May.,  Mar
View All
Posted: 10:32:16 AM, 21/06/2011

There's some exciting news about a product I've lived with—and sometimes praised, sometimes cursed—for decades: Mathcad, PTC's premier math analysis tool.


Regular readers know that most of my columns are math-oriented, as is most of my work. For that reason, I'm a heavy user of Mathcad. For more than 15 years, I've maintained a love-hate relationship with Mathcad. I've mentioned it many times in my columns, in terms ranging from wholehearted endorsements to heated, curmudgeonly rants. Although I often curse Mathcad as I use it, the r......

Vote(0)

Views(456)

View Article    Comment(0)

Posted: 11:32:01 AM, 14/06/2011

Physicists know that many problems can be treated as though the dynamical event happened instantaneously. Examples might include the impact of a hammer and nail, two billiard balls colliding, or a baseball bat hitting the ball. Deep down, we know that there is a complex interaction involve. Materials get deformed, forces get exerted, and velocities get changed. But we don't need to know the details or the time history of the collision. From our perspective, the scale of time is so short that it might as well be zero.

 

We call such collisions impulsive. From our perspe......

Vote(0)

Views(491)

View Article    Comment(0)

Posted: 02:45:56 PM, 03/06/2011

Read the previous part here.

 

This is not an unreasonable approach, as long as you don't mind the 90 W part. A vertical descent is what we used for Surveyor and other unmanned missions. It simplifies the automated landing quite a bit, and you can change that landing longitude by making only the slightest tweaks to the outbound trajectory.

 

The vertical descent is simple to automate, but it's not very efficient. When you're landing vertically, your rocket motor expends a lot of fuel fighting gravity. With a grazing, nearly horizontal approa......

Vote(0)

Views(419)

View Article    Comment(0)

Posted: 06:38:09 PM, 02/06/2011

Click here to view the previous part.

 

This approach is, in fact, the same one adopted by Euler, Lagrange, and company. In their formulation of the RTBP, they wrote the equations of motion in the rotating system, which meant that they had to add centrifugal and Coriolis terms to the equations. We don't really have to do that. It's easier to compute things in an inertial system; we only need to use the rotating one during input and output transformations.

 

In 1960, I was using a simulation of the RTBP to study the circumlunar trajectory. I found it pre......

Vote(0)

Views(397)

View Article    Comment(0)

Posted: 01:10:15 PM, 31/05/2011

Read the first part here.

 

The three-body problem

One look at figure 1, though, tells you that this ain't your grandfathers ellipse. It's a strange and complicated trajectory, bending left, then right, then around the moon, in a sinuous path perhaps more familiar to a figure skater than an astronaut.

 

The trajectory is not an ellipse because this isn't a two-body problem, it's a three-body problem. As soon as the early astronomers—which included such mathematical giants as Gauss, Euler, Lagrange, and Poincaré......

Vote(0)

Views(388)

View Article    Comment(0)

Posted: 06:23:19 PM, 08/05/2011

 

Fly me to the moon

Let me play among the stars

Let me see what spring is like

On a Jupiter and Mars.

—Bart Howard, 1954 (jazz standard sung by Frank Sinatra, among others)

 

We have a new topic this month, and it has absolutely nothing—well, almost nothing—to do with the topics we've been discussing lately—software development, testing, and the like. On the other hand, it certainly has to do with embedded systems and software. Systems that tend to be rather remote. Like 240,000 miles remote.

 

If you happened to see m......

Vote(0)

Views(583)

View Article    Comment(0)

Posted: 05:02:31 PM, 22/03/2011

[Continued from How I test software, again and again (Part 1)]


Hand checks

Now we get to the real meat of the issue, which is how to do hand checks. I've been telling you for some time now that I do a lot of testing, including testing every single line of code, usually as I write it. When I say testing, I mean give the code under test some inputs and verify that it gives the right outputs.

 

But where do those inputs come from? From a test case, of course.

 

Now, almost all of my software tends to be mathematical in natureold-time readers know that. So my test cases tend......

Vote(0)

Views(1131)

View Article    Comment(0)

Posted: 12:59:22 PM, 21/03/2011

This is the continuation of my article, "How I Test Software". We have a lot to cover this time, so let's get right to it. I'll begin with some topics that don't fit neatly into the mainstream flow.


Test whose software?
As with my previous article, "How I Test Software", I need to make clear that the chosen pronoun in the title is the right one. This is not a tutorial on software testing methodologies. I'm describing the way I test my software.


Does this mean that I only write software solo and for my own use? Not at all. I've worked on many large projects. But when I do, I try to carve out a piece that I ca......

Vote(0)

Views(671)

View Article    Comment(0)

Posted: 12:30:42 PM, 18/03/2011

Do you get the impression from my previous column that I'm not a big fan of mediocrity? You're right.

 

I'm old enough to remember the days when there were no such things as franchise motels. Your average "motel" was more likely to be a collection of little cottages, much like an RV park of today. You paid your money, you got to sleep in one of the cottages, and the term "quality" was interpreted as, no roaches crawling across your nose. Maid service? Surely you jest.

 

Then along came the Interstate Highways. And with the highways, this wonderful franchise known as the Holid......

Vote(0)

Views(482)

View Article    Comment(0)

Posted: 05:46:29 PM, 17/03/2011

The U.S. Declaration of Independence says "All [people] are created equal." That's very true, but we don't all stay equal. Or, to paraphrase Animal Farm's pig Napoleon, all people are equal, but some people are more equal than others.

 

I'm not talking about politics here, though that might be an interesting topic for another day. I'm talking about variances in people's abilities to produce a product. More specifically, a high-quality software product.

 

Over the years, I've known a lot of software folk – some good, some bad, some mediocre. I've known a few who......

Vote(0)

Views(514)

View Article    Comment(1)

 

 

CONTACT US TO OWN A BLOGNew!  

Have Your Say!

Got something to say? Why not share itwith other engineers?

CONTACT US TO OWN ONE!

SEE WHAT OTHERS HAVE SAID?

Top eeBlog Keywords

1.  book review

2.  fpga

3.  processor

4.  ipad 2

5.  ipad

Datasheets

Datasheets

Looking for parts to specify for your design project? Browse our library of datasheets NOW!

  • LT1640AH Negative Voltage Hot Swap Controller
  • LT4220 Dual Supply Hot Swap Controller
  • LT4250H Negative 48V Hot Swap Controller
  • LT4254 Positive High Voltage Hot Swap Controller with Open-Circuit Detect
  • LTC1643A PCI-Bus Hot Swap Controller

...more datasheets

Industry News

...more

eeBlogs
eeForum homepage