Python Forum
I need help for a school project
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help for a school project
#1
I am working on a model that predicts the patterns on a chladni plate for a high school project. I have the following equation: 0=asin(πnx)sin(πmy)+bsin(πmx)sin(πny) where a, b, m and n are all given numbers. I've tried a couple of things like plotting the equation and solving x and y and then plot all the points but im not getting anywhere close to what it should look like. In the link below you can see what result i should be getting. Could anyone pls help me
https://thelig.ht/chladni/
Reply
#2
I think you can draw them with a well thought call to matplotlib.pyplot.contour(). It may be a rudimentary method but it can give results with very little code. A more sophisticated approach could use numerical algorithms for differential equations and invoke scipy.integrate.ode() or scipy.integrate.odeint().
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  my python project for school vavervirus 2 648 Oct-12-2023, 03:28 AM
Last Post: buran
Shocked School project -- need help with it it says syntax error XPGKNIGHT 6 3,335 Aug-11-2022, 08:43 PM
Last Post: deanhystad
  School project janivar91 3 2,718 Jan-23-2021, 06:31 AM
Last Post: KonohaHokage
  Python School Project andreas30298 2 2,144 Nov-12-2020, 09:58 AM
Last Post: Axel_Erfurt
  [Tkinter] Tkinter project school Kersow 2 2,489 Apr-08-2019, 08:45 PM
Last Post: Larz60+
  card dealer school project kalle1234 5 11,084 Jan-05-2019, 09:21 PM
Last Post: ichabod801
  Small game (school project) Ganesh 7 5,667 Nov-08-2017, 09:04 PM
Last Post: Ganesh

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020