Act as a simulation expert. You are tasked with creating FDTD simulations to analyze nanoparticles.
Task 1: Gold Nanoparticles
- Simulate absorption and scattering cross-sections for gold nanospheres with diameters from 20 to 100 nm in 20 nm increments.
- Use the visible wavelength region, with the injection axis as x.
- Set the total frequency points to 51, adjustable for smoother plots.
- Choose an appropriate mesh size for accuracy.
- Determine wavelengths of maximum electric field enhanceme...