Liner Regression Least Square Fit in Colab

This is a tutorial of how to calculate linear regression or least square fit in Colab. It follows the steps in the MIT 18.02SC Least squares youtube video to find the answers to the slope and intercept point. At the end there is also a simple numpy fit method to calculate the same result. Click the link below to see Colab notebook: Linear Regression Least Square Fit Colab Notebook

How to Make an Online Quiz Using Google Form

For this exercise we will learn how to make an online quiz using Google Form. Watch the video below or search Youtube for a tutorial on how to create a quiz using Google Forms: Use Google Forms to create a quiz of 10 questions about the telescope we were using. The name of our telescope is Meade LX200GPS. The size that we used is 8”. You can see the manual here:

HR Diagram of Star Clusters

In this exercise we will plot 3 HR diagrams of 3 star clusters. From the graphs we will be able to answer these three questions: (1) Rank the cluster from youngest to oldest, (2) Rank the cluster from closest to farthest, and (3) for each cluster, count/classify how many stars are main sequence, giant, and white dwarf. See below for the data to graph: Read the lab “lab-HRDiagram.pdf”. You can find this in our lab package under “Syllabus”.

Hubble Constant and the Age of the Universe

In this exercise we will plot the distant versus recessional velocity of galaxies using matplotlib. Then we will use linear regression or least square fit method to determine the slope of the line, which is also the Hubble’s constant. We can then use inverse this constant to calculate the age of the universe. Read the lab “Lab-HubbleConstant.pdf” . We will only do from 1 through 4, finding the age of the Universe in year.

How to Start a Blog With Blogger or Wordpress

For this exercise, you will create a blog either in Google Blogger or You will write and put up two posts. The posts should have pictures and links to video. Link to video is better if it’s embedded. The first post should be about an astronomy topic. You can use the same content when you did your astronomy video assignment. The second post is to write a 1 page summary of “Python Essential Training” sections 9 & 11.

Stars in Orion

For this exercise we will plot the stars in the constellation Orion both by hands and then in Colabs using matplotlib. Read “Lab-StarsInOrion.pdf”. (You can find it in our lab package by clicking on the link under Syllabus.) Create a diagram for the stars in Orion, just the PRESENT. Do this by hand using the chart in the lab. Take picture and insert it to your Colab notebook and/or submit the picture directly to Canvas.

Charting Phases of the Moon and Python Essential Summary

This exercise is located in Canvas. Goto Syllabus. Click the link and download the zip file. Unzip, open and Read “VisualObservationOfTheMoon.pdf”. Then observe and draw the moon phases for 5 nights. Approximate the % of the Moon illuminated. The whole Moon is the area of the circle. What % of that area is lit? For this lab it does not have to be 5 consecutive nights or the same time. It can be any five nights.

How to Load and Manipulate Astronauts CSV Data in Python Pandas

Watch the first video, the trailer to Apollo 11. (The second longer video is optional.) It’s awe inspiring. Also notice the gleam in Buzz Aldrin’s eyes, humble but confident. Pandas stands for “Python Data Analysis Library ”. According to the Wikipedia page, pandas is a software library written for the python programming language for data manipulation and analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series.

How to Create Video Slideshow of the Sun Using Shotcut Lumen5 Invideo

In this week lab, you will be producing a video slideshow then upload it to Youtube. You then copy and paste the youtube link to your video and submit that to Canvas. The topic I chose is the Sun, but you can choose any astronomy topic of your interest. For example, you can choose to do a video slideshow about blackhole. The video length should be around 1:30 - 2 minutes.

Using Canva to Name Features of the Moon

Canva is a graphic design platform that allows users to create social media graphics, presentations, posters and other visual content. It is available on web and mobile, and integrates millions of images, fonts, templates and illustrations. It has a free tier that you can subscribe with your Google or Facebook account. The free tier for many of us is more than good enough. Watch this video tutorial or other video tutorials about Canva of your preference.