Wednesday, November 22, 2023

M_Mysteries

 Chatgpt is great for finding precise answers to questions. Helped me solve one of the

great mathematical mysteries in my life by locating just the helpful answer:

                                                                     














*     *     *




                                                                       

There is no polite way to say it: neither Chatgpt nor Bard can handle 

complex exponents. The above are from Hackmath!!!









Tuesday, November 21, 2023

Style_Moment

 On Matplotlib, I keep looking up the same things all the time when it

comes time to style the plot. So i have decided to take a simple example

of a plot from YouTube and style it for the most obvious elements. Below:

https://youtu.be/K6eGR3inAm0?si=A0N0RSU2bluqLBpt



I'll come back to it, from time to time, to do more elaborate things...




Monday, November 20, 2023

PYGAME9


This week's Pygame tutorial segment showed how to use collision detection.

It's actually simple, there is a function that detects it (on the encirling rect box).

Here, the collided with goes to a new random position...                                                          

               

                                                                            


                                                                                 


I had been annoyed that the screen femained black while the introductory song played.

The song has been silenced. Sound effects work fine, with movement from hero_right.





 
The text has been silenced, for the moment:



Hero_right now is center, as the game opens:


It is useful to color the rectangles during gamedevelopement to see if the action makes

sense and the character is close to the rect on all sides...












Sunday, November 19, 2023

Calculating

 Some brave soul on an Internet forum shared the formula

for calculating complex exponents of the form (a + bi).

It is your number (x^a)*(x^bi). Below, a worked through

example.








                                                                                  


*     *     *


Started working on Duckters' Electricity last night. Not quite through the whole 

set yet...

Saturday, November 18, 2023

Comfortable

 I'm starting to feel more comfortable around complex numbers. We

are encouraged to remember that Descartes - discussing false roots -

scoffed at  'imaginary numbers'. i for us is the imaginary constant -sqrt(-1),

but far from useless.


So the square root of a negative number may seem daunting, but in fact

one needs to consider what is happening in the larger situation. Below, 

my function1 on the Cartesian plan is but 1 away from from touching the

x-axis. If I subtract 1, voilà. My function is perfectly usable.


So, someone working at the local supermarket sees on the shelve a box

of bottles of wine, and a lone bottle of the product next to it. If the label says 

'contains 9', he is looking at a 3x3 container...


Next to it, a cubic case of lettuce, containing 64 but missing 4...



*     *     *


Couldn't help but play with Geogebra riemann function:

                                                                     

So, found a zero for the imaginary term...

                                                                           


                                                                           *     *     *
-Putting everything on e to find the angle

-Using sine and cos



















Friday, November 17, 2023

Sideways

 Not all graphers allow one to do it, but Desmos does. I am graphing quadratic

equations sideways by inverting the variables...



Should I want to go back to a more usual formulation. I can find algebraically that

y = x^.5 ± 1

                                                                             





                                                                                *     *     *

Should I take an umbrella??

                                                                                     

...

I got rained on, but scored some raisin bread!!

Wednesday, November 15, 2023

Taylor_S


So for today's work, I think I need to become more clear about Taylor series

which can be used to estimate a function about a point, or actually define a

trigonometric function. These arose as the power of Calculus was starting to

be appreciated to 'backwards engineer' . Will be on my ever-appreciated Math is Fun

site, and their helpful problem sets.



Asked Bing/Chatgpt how a calculator does operations on e:
                                                          



                                                               *     *     *

Taking the plunge on series, with the simplest I could find. Using

my python skills to generate results is turning out a bit wordy...

                                                                                          

                                                       



                                                                           


                                                      ...

Up to seven sound decimals on the Maclaurin expansion for e^x!



                                                                                  

Here's the fun part about this series. The very same series expansion is what defines e

to begin with, only with x set to 1. Put differently, we are computing e anew every time we

ask for e to some power...

                                                                         

                                                                            

                                                                            *     *     *