Recent postsView all

Individual investigation
13 Apr 19
6 Apr 19
1000 questions
30 Mar 19
Student access
30 Mar 19
IA again
27 Mar 19
Instruction videos
24 Mar 19
It's omega not double u
13 Mar 19
Standing on shoulders
7 Mar 19
Gp4 project live
4 Mar 19
14 Feb 19
Gp4 hands off / hands on
10 Feb 19
Wolf blood moon
22 Jan 19

Animated Sombrero

Tuesday 20 March 2018

My first year classes are doing Introduction to waves activity which involves building a wave simulation in Geogebra. I thought I'd refresh my skills by trying to build a 2D version. I did it by using a sequence in a sequence to define a grid of points, a sin function gives the oscillation in the y component. To get the circular wave the phase of the oscillation is dependent on the distance from the centre which is calculated using Pythagoras. Lost?

Here is the code:

Sequence[Sequence[(a, b, sin(f t - sqrt(a² + b²))), a, -10, 10, 1], b, -10, 10, 1]

21 Mar 2018
It's a gas
10 Mar 2018


To post comments you need to log in. If it is your first time you will need to subscribe.