Paul Sutton

Personal Blog

John Lennon

John Lennon

Born John Winston Lennon 9 October 1940 Liverpool, England Died 8 December 1980 (aged 40) New York City, US Cite : WikiPedia : https://en.wikipedia.org/wiki/John_Lennon


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Solute calculator

This is a basic Python program to calculate how much solute is needed to make a particular concentration of a chemical for a given solution.

Enter mass of chemical, volume and concentration required. Program will calculate required solute needed.

#Chemical solute calculator
print("Chemical solute calculator")
print(" ")
print("This program will ask you for some basic data and will then calculate how much solute is needed for a given volume and concentration")
print(" ")
print("1 mol solution is formula weight in 1 liter of water")
print("")
print(" ")
print("Mass is the molecular mass of the chemical solution you're making e.,g Copper Sulfate is 249g")
print(" ")
print("Volume the total solution volume in litres,  100ml is written as 0.100")
print(" ")
print("Concentration required in Mols")
print(" ")
mass = input ("Mass in g: ") 
#print("Solute requred")
volume = input("Volume in l: ")
print((volume) + " l")
conc = input ("Required Concentration in M: ") 

solute = float(mass) * float(volume) * float(conc)
print("Solute required: ")
print(str(solute) + " g")
print(" ")
print("Note:  This program is a guide, and you should double check calculations")

There is a better online solution to this here

Program 2

This is a related ruby program to calculate different molar masses

# molar weight calculator
puts "molecular weight calculator"
puts
print "Enter Weight: "
weight = gets
print ("Weight :"); 
print (weight)
puts 
print ("0.5 Mol: ")
print weight.to_f / 2
puts
print ("2 Mol: ")
print weight.to_i * 2
puts 
print ("4 Mol: ")
print weight.to_i * 4
puts
puts 
print ("End")

Enter a molecular weight, and it will calculate ½, 2 and 4 moles accordingly. It is not perfect, just works.

Tags

#Science,#Chemistry,#Calculator,#Mole,#Solution,#Solute


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Unsolved problems in cosmology

I decided to sign up to another free open learn course with the Open University. Unsolved problems in cosmology is an extract from a level 3 course, S385 Cosmology and the distant Universe.

After studying this course, you should be able to:

  • understand the basis of modern cosmology based on the hot big bang
  • summarise the main candidate dark matter particles, and the prospects for directly detecting them
  • compare models to explain the late-time acceleration of the Universe's expansion, i.e. dark energy and the cosmological constant
  • discuss observational prospects for understanding the nature of dark energy
  • explain the theoretical problems that led to the theory of inflation, how an early inflationary period solves them, and how researchers are investigating inflation.

Tags

#Study,#OU,#OpenUniversity,#OpenLearn,#Cosmology,#Physics


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Temperature conversion

I wrote both of these in about ¼ hour, convert from Celcius to Kelvin, and Kelvin to Celcius

#!/usr/bin/env python3
#
#  Cel2Kel.py


# https://www.metric-conversions.org/temperature/celsius-to-kelvin.htm

import sys

print("celcius to Kelvin Converter")
print("Please enter value in Celcius")
tempc= input()
#print (tempc)
print ("conveted to Kelvin")
kelvin = int(tempc) + 273.15
print (kelvin)


sys.exit()
#!/usr/bin/env python3

import sys

print("Kelvin to Celcius Converter")
print("Please enter value in Kelvin")
tempk = input()
#print (tempk)
print ("conveted to Celcius")
kelvin = int(tempk) - 273.15
print (kelvin)


sys.exit()

They work, and do the job intended, as I have zero interest in coding they are not written to reflect coding proficiency.


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Mastodon Follow Pack

With numerous people abandoning X for Bluesky and or the Fediverse, I am sharing this as it complements other collections to help people find interesting accounts to follow.

Categories include; Astronomy, Climate, Cyber Security,Legal,


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Satellite distribution

This was posted to Fedi by @helenczerski@fediscience.org">Helen Czerski

Interactive animation showing how many satellites are orbiting earth, you can rotate the graphic, interesting what is up there and to what extent, hover over an object to find out the name, there are 1000s to investigate. Some seems to be space debris, such as a propulsion module.


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

BepiColombo

The ESA's BepiColombo mission is due to make its fifth flyby of Mercury on 1st December. A major milestone before the orbital phase of the mission starts. You can read more about the mission on the ESA Blogpost

Tags

#ESA,#Mission,#Mercury,#BepiColombo


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

George Harrison

George Harrison

Born February 25, 1943, Liverpool, England Age at death 58 years Died November 29, 2001, Los Angeles, California, US

Cite : WikiPedia : https://en.wikipedia.org/wiki/George_Harrison


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Hubble ExoPlanet Research

The Hubble Telescope has measured the size of our nearest Earth-sized exoplanet. The planet orbits the star LTT 1445A, which is part of a triple system of three red dwarf stars that is 22 light-years away in the constellation Eridanus.

Tags

#NASA,#ESA,#NEWS,#Science,#Hubble,#ExoPlanet


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Future space telescopes

Future space telescopes could be made from thin membranes, unrolled in space to enormous size

Interesting article on the future of space telescopes so the idea seems interesting as it allows deployment of large telescopes in space quickly.

The JWST is 6.5 meters, the ELT is 39 meters (ground based) as the JWST is foldable then the technology is already there.

This could offer some real opportunity to make strides forward, as we have seen with the JWST. Larger telescopes allow for the collection of more light, I would guess that telescopes can be built to collect different light e.g. UV, Visible and IR.

Should be good.

Tags

#Space,#Telescope.#Astronomy,#Physics


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay