From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,541695d68c6dd3f5 X-Google-Attributes: gid103376,public From: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: Jumping Ahead Date: 1997/02/20 Message-ID: #1/1 X-Deja-AN: 220176871 References: <5edu5k$lb0@ultranews.duc.auburn.edu> Organization: The Mitre Corp., Bedford, MA. Newsgroups: comp.lang.ada Date: 1997-02-20T00:00:00+00:00 List-Id: In article <5edu5k$lb0@ultranews.duc.auburn.edu> greerjo@mail.auburn.edu (John M. Greer) writes: > I'm a Computer Engineering Major in my first Ada course, and we have a > lab assignment due Thursday that is not complicated, just uses a few > procedures, etc. The problem is, I've programmed since HS (using c++, > only an amateur), but my only advantage is an addiction to "proper > style." My dilemma is this: we have not yet learned to implement > RECORDs. To do this program justice, I could: > (1): Put everything in the program declarations and throw global > variables across namespace. > (2): Declare a record, encapsulate with packages, etc. (3) Pass all the elements that would be record components as separate parameters? > We didn't learn this in class yet, but I learned it on my own and > used it. Now I'm proud of my program, but I'm worried. Do you > think my lab instructor will be annoyed that I skipped a few > chapters ahead? (I'm not doing this for brownie points, just > something I wanted to do.) Then do it. But sometimes you can't win. Years ago there was a question on a calculus test: A twenty foot rope with a (frictionless) pulley A on one end is passed over two (frictionless) pulleys B and C five feet apart and twelve feet above the floor, then through the pulley on the end of the rope. The free end is attached to a ten pound weight. When the system is at equilibrium, what is the angle ABC? Show your work. Well the answer is obvious--at equilibrium the sum of the forces on pulley A must be zero, and that can only happen if the three rope segements meet at 120 degrees, so ABC is 60 degrees. But I still have no clue as to how to solve this problem using calculus... -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...