Hello friends,
in this post we have a code to draw a dynamic graph:
https://groups.google.com/forum/#!category-topic/mitappinventortest/general-questions-about-app-inventor-programming/fNQVDN-GPIY
I used that code to display a graphic in an application with Arduino and Bluetooth.
https://groups.google.com/forum/#!searchin/mitappinventortest/dynamic$20graph|sort:date/mitappinventortest/q-DGa_PVo_o/9yW89uL-BwAJ
Now I have simplified the code and show several examples:
1.- Create random numbers and draw a dynamic graph with their values.
p91C_grafico_aleatorio.aia (7.4 KB)
2.- Draw the graph of a sinusoidal function.
p91C_grafico_sinusoidal.aia (7.7 KB)
3.- In this voltage inverter amplifier we apply an input voltage Vi = 5 mV. The Gain is -15, so its output Vo = -75 mV
p91C_grafico_amplificador.aia (24.8 KB)
4.- We can study the damped oscillator equation.
- https://web.njit.edu/~kenahn/11spring/phys106/Lecture/L23.pdf
- https://docplayer.es/337308-Movimiento-oscilatorios-libre-amortiguado-forzado.html
- http://phet.colorado.edu/sims/pendulum-lab/pendulum-lab_en.html
p91C_grafico_amortiguacion.aia (8.9 KB)
Regards.
http://kio4.com/appinventor/91C_grafico_dinamico.htm