Author Topic: Confessions of an Alpha-Numerically Hypnotized Number-Crunching Consciousness  (Read 1053 times)

0 Members and 0 Guests are viewing this topic.

Henry the Fool

  • { }
  • { ∅, { ∅ } }
  • Posts: 3748
  • Life teaches me not to want it.
    • What Now?
In an intimidating text on the shelf, now on my lap, Computational Modeling: AND VISUALIZATION OF PHYSICAL SYSTEMS by Jay Wang c.2016 - a book I sneak a peak at only rarely, but secretly wish to one day engage with - in 1.2 The Science and Art of Numerics:

Scientific computing naturally involves numerical computations (number crunching).  It uses integers and real values, or floating point numbers.  Integer arithmetic on the computer is exact, but its range is limited.  It is unsuitable for scientific computing because our physical world encompasses a vast scale over many orders of magnitude.  Floating point numbers have a much expanded range, but their operations may not be exact in the mathematical sense, so exactness is sacrificed for enlarged range.

This text screams to be studied, but the Queen, or one of Her Faces, Abstract Algebra [was called "Modern" in the mid part of last century], is a jealous mistress for sheezy, and I am currently devoted to Analysis (Algebra/Trigonometry/Calculus) - the mathematical roots of Physics.   I feel I need to spend a few more years tinkering with my current agenda just in case this is as far as I get before I croak.

If I live to be a very old man, maybe I will be crazy enough to fancy myself a Computational Physicist.

I can put it down as my religion when admitted to the funny farm, as in:

RELIGION:  computational physics

Until I become more comfortable and familiar with differential equations, three-dimensional vectors, refamiliarized with basic physics concepts, and maybe remembering some the math(s) intensley studied in the late 1990's by yours truly, I don't know how far I would make it.  I would first wish to give a couple years to Matter and Interactions so as to become familiarized with VPython in Jupyter Notebooks.  As you may know, my plate is already full and my cup overflows with "material worthy of consideration" which this realities of animal existence most likely will not allow time for "consideration."   Ahhh, out of nowhere, the screen goes black!   Hocus Pocus.


 So I've opted to zero in on the merging of fundamental algebraic structures and algorithms with computational programming language structures and algorithms, namely C++ templates.   This not only helps me extend mathematical generalizations into code, but may also help me develop this mathematical attitute and mathematical style in the way I approach the "design" of the solution.  Such interests, if I can maintain shelter and feed myself the necessities, grant me more satisfaction than wearing the costume society would have me wearing, feeling like a loser wishing I had a job with Microsoft or Apple.  [no, I would not cut the mustard since I normally don't play so well with others in "the sandbox."] 

The code, although I favor the command-line in a GUI-hypnotyzed world and put my efforts into making programs for MY OWN USE, as Mathematical Assistance at the Command Line, my own arsenal of homemade organic mathematically oriented programs.  I prefer the term "digital computer program" to the term "App" for I am an A-ss-hole, yes sir ree.

Anyway, the code that spews from my monkey brains is more than a little "mathematical" in nature.  Maybe it is simply more apparent to me because of the philosophical implications of this symbiosis.

If they put me in the looney bin tomorrow, I would have to say I am into my own personal religion these days, something I call Algebra++ - it's like Real Analysis but with an attempt to use a generic [algorithms taking various types which behave in the ways required by the program].

I dare say, this message board brings out the Dead Man in me.  That is, it is as though I might speak post-mortem via these transmissions.  That makes me more aware and alert as I observe these transmissions into the webs of radio signals through wires and space.   Mind-bogglingly complex and gargantuan artifice, so, yes, surrealistic and creepy as Hell.

In the meantime this animal body is in quite a pitiable predicament, lighting tobacco with a Bic, plugged into electricity, fresh coffee beans.  By the skin of my teeth, but yes, protected from witnessing the true nature of my natural state (Senor Raul's "monstrosity") by the power of irrigation technology, plumbing. sewage disposal systems, electricity, cellular connectivity.  Even a "poor" man having access to such things for long enough periods to study and contemplate, to heal, rest, store food and library, even to have experienced this lifestyle (semi-poverty, but passionately studious) has been rewarding enough, so, in event a branch falls on my head and I kick the bucket with by bruised and tender pinky toe, I will have lived several consecutive days rejoicing, "The day is mine!"    :D

And a voice in my head screams, "SHUT UP, already!"   >:(

Do you want another Peanut Butter Sandwhich?  Poor Man's Paradise Feast, Jailbird style.
« Last Edit: October 03, 2019, 11:59:14 pm by Haywire Baboonery »
Things They Will Never Tell YouArthur Schopenhauer has been the most radical and defiant of all troublemakers.

Gorticide @ Nothing that is so, is so DOT edu

Share on Facebook Share on Twitter


Henry the Fool

  • { }
  • { ∅, { ∅ } }
  • Posts: 3748
  • Life teaches me not to want it.
    • What Now?
Just for the record (please skip this read if you have no interest in C++ or computer programming in general):  C++ Programming Language creator calls proposals 'insanity' ...


Quote from: Bjarne Stroustrup
I donít worry about other languages or new languages. I like programming languages. If a new language offers something useful that other languages donít, it has a role and we can all learn from it. And then, of course, each language has its own problems. Many of C++ís problems relate to its very wide range of application areas, its very large and diverse user population, and overenthusiasm. Most language communities would love to have such problems.

For what it's worth ...

I'm just a Weirdo Rejectionist who is still interested in using [modern] C++ for my tinkerings with mathematics.   I'm not trying to be popular, in case you couldn't tell already.
« Last Edit: January 20, 2020, 12:06:13 am by { I Do Not Exist } »
Things They Will Never Tell YouArthur Schopenhauer has been the most radical and defiant of all troublemakers.

Gorticide @ Nothing that is so, is so DOT edu

Henry the Fool

  • { }
  • { ∅, { ∅ } }
  • Posts: 3748
  • Life teaches me not to want it.
    • What Now?
  /*
    Introductory Analysis
    Chapter 6, section 1 : Exercises 1 and 2 SPECIAL VERSION using pair
    and bindings C++17 (-std=c++17):
     for (const auto & [f, eq] : Functions)
   
     g++ -g -Wall function_pair_++17.cpp -std=c++17 -o analyze_pair++

     enscript -1rG --portrait --line-numbers -p function_pair++.ps
               --highlight=cpp -c function_pair_++17.cpp

    Mike Hentrich   18 February 2020
 
  1. Write and run a program to approximate the slope of
     the line tangent to the graph of the function f(x) = x^3
     for input values of x.
     
     Use the formula S(x) = ( f(x + h) - f(x) ) / h
     with h = 1, 0.1, 0.01. 0.001. and 0.0001

  2. Modify and run the program in Exercise 1 for each function.
     (a)   f(x) = -x^2
     (b)   f(x) = 4*x
     (c)   f(x) = x^3 - 2*x

6-3:   25, 22, 21:
   Modify and run the program in Exercise 1 for each function. // use std::pow
     (a)   f(x) = (1-x)^(-1)
     (b)   f(x) = (1-x)^2
     (c)   f(x) = (1+x)^2
 
  NOTE:

  double(*f)(double x)
  The above tells the compiler that the parameter f is a pointer to a function.
  The pointed-to function takes a double input and returns a double.
  */
« Last Edit: February 19, 2020, 07:47:37 am by mudslide mic »
Things They Will Never Tell YouArthur Schopenhauer has been the most radical and defiant of all troublemakers.

Gorticide @ Nothing that is so, is so DOT edu