(a) $B$ at ends of solenoid is $\frac{\mu_{0}}{2}ni$
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.