%typeset_mode True
var('x, y, t') # E_z = sin(2 * pi * (x + t)) + cos(2 * pi * (y - t)) # B_x = sin(2 * pi * (x + t)) + cos(2 * pi * (y - t)) # B_y = -cos(2 * pi * (x + t)) + sin(2 * pi * (y - t)) # E_z = sin(2 * pi * (x + t)) + cos(2 * pi * (y - t)) # B_x = cos(2 * pi * (y - t)) # B_y = sin(2 * pi * (x + t)) E_z = sin(2 * pi * (x + t)) + cos(2 * pi * (y - t)) B_x = cos(2 * pi * (x + t)) + sin(2 * pi * (y - t)) B_y = 2 * pi * sin(2 * pi * (x + t)) * (y - t) E_z B_x B_y
(x, y, t)
cos(−2πt+2πy)+sin(2πt+2πx)
cos(2πt+2πx)+sin(−2πt+2πy)
−2π(t−y)sin(2πt+2πx)
eq_1 = diff(E_z, t) - diff(B_y, x) + diff(B_x, y) eq_1 eq_2 = diff(B_x, t) + diff(E_z, y) eq_2 eq_3 = diff(B_y, t) - diff(E_z, x) eq_3
2(π+2π2t)cos(2πt)cos(2πx)−2(π+2π2t)sin(2πt)sin(2πx)−4(π2cos(2πt)cos(2πx)−π2sin(2πt)sin(2πx))y+2(πcos(2πt)−πsin(2πt))cos(2πy)+2(πcos(2πt)+πsin(2πt))sin(2πy)
−2πcos(2πx)sin(2πt)−2πcos(2πt)sin(2πx)−2(πcos(2πt)−πsin(2πt))cos(2πy)−2(πcos(2πt)+πsin(2πt))sin(2πy)
4(π2cos(2πt)cos(2πx)−π2sin(2πt)sin(2πx))y−2((π+2π2t)cos(2πt)+πsin(2πt))cos(2πx)−2(πcos(2πt)−(π+2π2t)sin(2πt))sin(2πx)