Skip to content

Add equation for pendulum length from its period - #47

Open
Mikolaj-A-Kowalski wants to merge 1 commit into
jatkinson1000:mainfrom
Mikolaj-A-Kowalski:add-length
Open

Add equation for pendulum length from its period#47
Mikolaj-A-Kowalski wants to merge 1 commit into
jatkinson1000:mainfrom
Mikolaj-A-Kowalski:add-length

Conversation

@Mikolaj-A-Kowalski

Copy link
Copy Markdown

It is based on inversion of the expression for the pendulum period.

Closes #33

It is based on inversion of the expression for the pendulum period.

@jatkinson1000 jatkinson1000 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Mikolaj-A-Kowalski but I think we need some changes!

"""
return 60.0 / get_period(len)

def l(t):

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please could you add some documentation.

Comment on lines +97 to +98
t = t / np.pi * 2
return 9.82 * t * t

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is quite the right equation, and the use of t is confusing to me as a reader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add length equation

2 participants