Stand With Ukraine

Thursday, December 24, 2009

Mireille Mathieu

J'aime bien cette chanteuse, et ici sont les liens à mes chansons préférés.
http://www.youtube.com/watch?v=78a2NYmgGZI
http://www.youtube.com/watch?v=W-4g-pXZ8AQ
http://www.youtube.com/watch?v=-NBMGID3HaY

Gravity waves

Gravity waves.

Gravity waves in a system with rotation.

Gravity waves in a system with rotation. (So called geostrophic adjustment). Here is an analytic solution expressed in terms of the Bessel functions (see Gill, "Atmosphere and ocean dynamics" 1982).


All the pictures were created using python library matplotlib and converted to gif using the command convert from imagemagick.

Wind velocity vector, at a given point (sea breeze modelling)

Rotation of wind vector at a given point given by a solution of 2 dimensional linearized system of Euleur's equations. Taking into account only the pressure and Coriolis forces.

Wednesday, December 23, 2009

Permutations

It is time to write something about programming. Here I want to present a function implemented in python which returns the list of permutations of the given string.

#return the list of the permutations of s
def get_permutations(s):
result = []
if len(s) == 1:
result.append(s)
return result

for i in range(0,len(s)):
s_tmp = s.replace(s[i],s[0])[1:]
subset_permuts = get_permutations(s_tmp)
for perm in subset_permuts:
result.append( s[i] + perm )
return result

It takes 16.5364508629 seconds in order to find the permutations of the string '1234567890'.
For the code

print get_permutations('123');
print 'Execution time: ', time.time() - t0, ' s'

The output is following:
['123', '132', '213', '231', '321', '312']
Execution time: 5.88893890381e-05 s

Tuesday, October 20, 2009

My first program in javascript...

Recently we studied the wet bulb temperature concept (wet bulb temperature for isobaric and adiabatic process). And in order to calculate it I created a simple javascript program. This is actually my first programm in javascript. The method is a simple Newton's method (http://en.wikipedia.org/wiki/Newton%27s_method). Check it out, if you are interested http://people.sca.uqam.ca/~huziy/WetBulbTemperature/main.html.

Monday, October 5, 2009

Publications 2008-2009

1.“ВИКОРИСТАННЯ ЗАСОБІВ ПАРАЛЕЛЬНИХ ОБЧИСЛЕНЬ ДЛЯ ПІДВИЩЕННЯ ЕФЕКТИВНОСТІ СИСТЕМ ПРОГНОЗУВАННЯ ПОГОДИ ММ5- ТА ВРФ-УКРАЇНА”, О.М. Гузій, І.В. Ковалець, А.А. Кущан, М.Й. Железняк, дистанційна онлайн конференція “Системи підтримки прийняття рішень. Теорія і практика. СППР ’2009”, 8 червня 2009 р., Україна, м. Київ (http://conf.atsukr.org.ua/files/conf_dir_10/Guziy_sppr2009.pdf)
2. “Моделювання катастрофічного паводку в карпатському регіоні в липні 2008р. каскадом метеорологічних та гідрологічних моделей”, Бойко А., Железняк М.Й., Гузій О.М., Збірник доповідей Четвертої науково-практичної конференції з міжнародною участю “Математичне та імітаційне моделювання систем. МОДС ’2009”, м. Київ, 21 Червня ,2009р. С.21
3. Система чисельного прогнозування погоди WRF-Україна / Гузій О.М., Ковалець І.В., Кущан А.А., Железняк М.Й. // Математичні машини і системи. - 2008. - № 4. - С. 123 - 131.
4. http://ums.rshu.ru/news/event79

Friday, September 11, 2009

Le premier devoir à l'UQAM


C'est le champ de la pression.
Si vous verrez les fautes, n'hesitez pas à m'écrire, merci beaucoup.