Yes sonar can be used at periscope depth. Surface ships also have sonar arrays on them. They are usually used to detect submarines.
You use Sonar
They use Radar , Sonar, and at periscope depth- optical range finders, the tech manual for the latter is over 300 pages, so its a skilled craft to operate these specialized sights.
SONAR
Scientsts use sonar to map the depth of water in sea and river etc..,they also use sonar to locate and identify object underwater
Scientist use the device "Sonar."
to calculate the depth of the ocean floor
sonar
Periscopes allow a submarine, when submerged at a shallow depth, to search visually for nearby targets and threats on the surface of the water and in the air. When not in use, a submarine's periscope retracts into the hull.
It depends on the submarine. If measure the distance from the top a fully extended periscope to the bottom of the boat you will get the "Depth of the Keel" at which the periscope is out of the water. Generally between 30 feet and 70 feet.
The depth of the ocean is found using sonar. Having two eyes allows an animal to have depth perception. Surrounded by eminent professors, the biology teacher felt out of his depth.
'Sonar". And determines depth. The ocean floor topography can be mapped by 'sonar scanning'.
With sonar