Sunday, November 5, 2023

Solidworks macros eith ChatGPT

 Record a simple using thr Solidworks macro recorder, upload it to ChatGPT, and explain to ChatGPT how you want it changed: https://youtu.be/QJfYaIGAmdY?si=j2N52jE9NZl67tWA

A  similar second example where we start with giving ChatGPT some basic code ideas and even telling the references to use:https://youtu.be/ksOW4Sap6So?si=5bhrn3TmI8qSuJHb

Tuesday, September 19, 2023

Musical theory behind Bach Prelude in CMaj

 Theory explained https://andrewhennington.wordpress.com/2015/10/22/j-s-bach-prelude-no-1-in-c-major-bwv-846/

Tonic cord - the root cord

Supersonic: the second note in a normal 8 note (heptatonic: 7 pitches) scale

Phrase- usually 4 bars long, ending in some form of a cadence. The first phrase ends in a imperfect authentic cadence 

Authentic cadence goes from the dominant to the tonic. Perfect cadence has tonic the highest tone in the final cord. Imperfect does 

Thursday, August 24, 2023

Friday, February 10, 2023

Checkmark in Office Products

 Font: Wingding, ALT 0525: ✓

Note that the Unicode for that to be able to see it in HTML is &#x2713

Note that the Blogger editor gets this messed up if you switch between HTML view and Compose View. This post was written stricly in HTML view

Wednesday, December 21, 2022

Import Vector Graphics image from Solidwords Drawing to Word

 Inside Solidworks, create the drawing. Print it to PDF. You may want to change the orientation to Portrait

Inside Adobe Acrobat Pro, clean whatever you don't want in the pdf.

Inside MS Word, open PDF and chose the option to convert to word document.

It will bring it in as an image on a page. Now you can add text to that page.

Wednesday, October 19, 2022

OneNote Math Operations

 

Supported arithmetic operators

Operator

Meaning

Example

+ (plus sign)

Addition

3+3

- (minus sign)

Subtraction
Negation

3-1
-1

* (asterisk)

Multiplication

3*3

X (upper- or lowercase)

Multiplication

3x3

/ (forward slash)

Division

3/3

% (percent sign)

Percent

20%

^ (caret)

Exponentiation

3^2

! (exclamation)

Factorial computation

5!

Supported math and trigonometry functions

Function

Description

Syntax

ABS

Returns the absolute value of a number

ABS(number)

ACOS

Returns the arccosine of a number

ACOS(number)

ASIN

Returns the arcsine of a number

ASIN(number)

ATAN

Returns the arctangent of a number

ATAN(number)

COS

Returns the cosine of a number

COS(number)

DEG

Converts an angle (in radians) to degrees

DEG(angle)

LN

Returns the natural logarithm of a number

LN(number)

LOG

Returns the natural logarithm of a number

LOG(number)

LOG2

Returns the base-2 logarithm of a number

LOG2(number)

LOG10

Returns the base-10 logarithm of a number

LOG10(number)

MOD

Returns the remainder of a division operation

(number)MOD(number)

PI

Returns the value of π as a constant

PI

PHI

Returns the value of Φ (the golden ratio)

PHI

PMT

Calculates a loan payment based on a constant interest rate, a constant number of payments, and the present value of the total amount

PMT(rate;nper;pv)

RAD

Converts an angle (in degrees) to radians

RAD(angle)

SIN

Returns the sine of the given angle

SIN(angle)

SQRT

Returns a positive square root

SQRT(number)

TAN

Returns the tangent of a number

TAN(number)

Tuesday, October 11, 2022

OneNote Latex Math Support

Getting into Equation Mode use <alt> and = to get into the equation editor.

Radicals$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$ 

$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$ is generated from: x = {-b \pm \sqrt{b^2-4ac} \over 2a}

For example, to get the $\sqrt[6] {64}$ (6th root of 64), you would type: \sqrt(6&64)

    See MathJax support here: https://math.meta.stackexchange.com/questions/32647/how-to-write-roots-other-than-square-roots-in-mathjax

Note that the above is the UniCode Math notation. The Latex notation of \sqrt[6]{64} does not work in OneNote

Aligning to a character, using UniCode Math

\eqarray(x+1&=2@1+2+3+y&=z@3/x&=6)<space>

which resolves to:


This can be done using the MathJax as follows:

$$\begin{eqnarray} 
y &=& x^4 + 4      \nonumber \\
&=& (x^2+2)^2 -4x^2 \nonumber \\
&\le&(x^2+2)^2    \nonumber
\end{eqnarray}$$




Wednesday, October 5, 2022

OneNote Files From Locally stored to Cloud, and Back to Local Storage

OneNote for Office 365 has the capacity to store the Notebook locally. 

For a locally stored notebook, to be shared one can do the following:

Open the locally stored notebook in OneNote for Windows 10. It will automatically sync up to OneNote on the web.

At some point, you may want to be able to create a backup of this: Open OneNote for Office 365, go to File | Open | Sign In, then Search for the Notebook. Once it is open, go to File | Export | Notebook, select OneNote Package (*.onepkg). Store that to a location. You can then open it with OneNote 365.

Solidworks macros eith ChatGPT

 Record a simple using thr Solidworks macro recorder, upload it to ChatGPT, and explain to ChatGPT how you want it changed:  https://youtu.b...