How would you determine the orientation of a neodymium magnet?
You can use a compass to determine the orientation of a neodymium magnet. Place the north end of the compass close enough to the magnet that it is influenced by its magnetic field. This will cause the needle in the compass to rotate and point toward either North or South depending on which pole of your neodymium magnet is closest. The side that’s pointed towards will be considered to be the north pole, while whichever way it points away from will be considered to be south.

In absence of a compass, you can use another magnet or an iron filing. Place the second magnet or iron filings near the neodymium magnet and observe how it behaves. If the second magnet is attracted to one side of the neodymium magnet, then this side is considered to be its north pole; if it is repelled from one side of the neodymium instead, that side will be considered south.
How can I get a such magnet?
You can purchase neodymium magnets from various sources. They are widely available both online and in brick-and-mortar stores. Some places to consider buying neodymium magnets include:

1. Online retailers: Websites like Amazon, eBay, and Alibaba often have neodymium magnets available in various sizes, shapes, and strengths.
1. Specialty magnet stores: Some online stores specialize in magnets, such as K&J Magnetics, Apex Magnets, or First4Magnets. They usually offer a wider variety of magnets, including neodymium magnets, in different dimensions and strengths.
1. Hardware stores: Large hardware stores, such as Home Depot, Lowe's, or your local hardware store, may carry neodymium magnets in their inventory. They might not have as wide a selection as online retailers or specialty stores, but they can be a convenient option if you need a magnet quickly.
1. Electronics and hobby shops: Some electronics and hobby stores sell neodymium magnets for various applications, such as for DIY projects or educational purposes.

When purchasing a neodymium magnet, be sure to pay attention to the size, shape, and strength (often referred to as the grade) to ensure you get the right magnet for your needs. Additionally, always handle neodymium magnets with care, as they are very strong and can cause injuries if not handled properly.