Archive for the ‘Software’ Category

Surface plotting from a set of points

sabato, Novembre 19th, 2022

surface plotting from a set of points,mathematica


Here a real function f of two real variables x, y, is assigned, i.e. f (x, y), through the values assumed in assigned points. It is asked to draw the graph (surface in R ^ 3). Mathematica has the ListSurfacePlot3D statement which is the three-dimensional analog of ListPlot (the latter plots the graph of a function of a variable f (x)). Here are some suggestive graphics taken from the Mathematica library.

(altro…)




Intrecci armoniosi (moto piano, equazioni orarie. Mathematica)

lunedì, Luglio 11th, 2022

moto piano, particella,equazioni orarie
Fig. 1


Una particella compie in moto piano. Le equazioni orarie sono x(t)=cos(t)+1/2*cos(7*t)+1/3*cos(17*t+π/2)
y(t)=sin(t)+1/2*sin(7*t)+1/3*sin(17*t+π/2).
Di seguito il codice Mathematica per plottare la traiettoria. Lasciamo come parametro libero tmax, in modo da creare l'animazione grafica in fig. 1. (altro…)