simplified example; physical constants registered as variables