My idea is a planet that orbits a red dwarf at a distance in which the apparent magnitude of this seen from the planet is the same as that of the sun seen from Earth. Does this mean that the daylight on the planet will be as intense as that of Earth?
I know that the red dwarfs emit most of their energy in the infrared spectrum, invisible to humans, therefore, a planet located at a distance from it in which it receives the same amount of energy as that received by the Earth of the sun, it will be darker, despite having the same equilibrium temperature. My question is, is the apparent magnitude measured considering the entire electromagnetic spectrum or just the visible spectrum?
If it is not enough for the star to have the same apparent magnitude as the sun so that the daylight of the planet is the same as that of the Earth, how is its visual magnitude calculated?