Numerical and simulation study of terahertz radiation generation by laser pulses propagating in the extraordinary mode in magnetized plasma