Skip to content

Homogenous Wave Equation 1D with user custom input using analytical Solutions

License

Notifications You must be signed in to change notification settings

mluckyw/AN_wave_eq_1D

Repository files navigation

Introduction

Hello There! I'm an Aerospace/Aeronautical Engineering Students currently diving too much time in MATLAB With further intrest in Java and Phyton.
As this is my second time uploading my works to GitHub, Please do forgive me for doing something wrong.
Further Feedback is welcomed as i dont get one from my proffesor.

Story Behind this Program

Coming from the last repositories of heat conduction 1D equation and easily implemented into wave equation by changing the General solution and CN.
Further addition for CN forming as it usually have more than one initial conditions.

What can this program do

  • Calculating the temperature for one dimensional heat conduction with each end are fixed With the equations below


  • With input at the command window such as :
    • String length
    • Order of Fourier Series
    • (a) constant as a function from periode
    • Step of iteration in the string
    • Initial condition (Polynominal or constant) with separation for each section
    • Time elapsed
  • With Output of :
    • Cn Variable and General Equation of U(x,t)
    • Velocity Distribution across the wave
    • Plotting the Velocity based on order and time categorizations

    Velocity Plotting from V1.0

    Grouping based on Time input

    Grouping based on Order input

What this program does not do (yet)

  • Calculating the temperature for one dimensional wave equation with each/one end is a non fixed boundaries (Non - Homogeneous)

What's The difference in difference version?

This program has only one version as it is derived from the 2.0 heat conduction with significatly faster computing time.

  • Version 1.0
    • Computation of Velocity are splitted into two loops with Cn and U(x,t) separated by using Matlab int function for Cn at each desired section of initial conditons
    • Displaying equation for Cn and U(x,t) in the command window
    • Computational is unlimited with as much as user input for order count and time elapsed (Though only debugged at max 3 each)
    • Plotting Based on categorization of order and time elapsed

Disclaimer

  • If you are using this code to do a calculation i did not held any responsiblility of any wrong data outputs that may affected you (altough Feedback is very much welcomed)
  • This is copyrighted by using MIT license with the details in the license file

About

Homogenous Wave Equation 1D with user custom input using analytical Solutions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages