Fuxue Jin
- 100
- 5
gatopardos said:For two objects rotating create two new coordinate system that pass through the C.M. of the rotating bodies and then add motion band for each body.
There is a special function in maxwell called pwl_periodic(ds1,time) that let's you define datasets, it's like a modulation for sine waves but maybe it can be used for rectangular waves.
Use the formula you mentioned above, and define the dataset "ds1". It cannot be a perfect rectangular wave form, you have to define a short period of time for rising and falling, such as 0.01s, depending on your frequency of the wave form. The dataset is more like, (0,0) (0.99,0) (1,1) (1.99,1) (2, 0)