Matlab code guide me ZZZZZZZZZZ

Click For Summary

Discussion Overview

The discussion revolves around solving a second-order partial differential equation (PDE) using MATLAB. Participants explore the challenges faced by a newcomer to MATLAB in addressing this specific mathematical problem, including the application of different thermal properties based on varying conditions.

Discussion Character

  • Homework-related
  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant seeks assistance in solving a specific PDE involving temperature (T) and various parameters, indicating a lack of familiarity with MATLAB.
  • Another participant questions the clarity of notation used in the equation, specifically the terms Δ, δ, and ∂, and their meanings in the context of the problem.
  • A participant notes that the equation is a second-order differential equation and suggests that MATLAB has built-in functions for solving such equations.
  • Some participants express skepticism about the difficulty of solving second-order PDEs in MATLAB, indicating a need for further guidance.
  • One participant shares their experience of converting a second-order differential equation into a system of first-order equations to facilitate solving in MATLAB, but admits uncertainty regarding PDEs.

Areas of Agreement / Disagreement

Participants generally agree that the problem involves a second-order PDE and that MATLAB can be used to solve it. However, there is no consensus on the best approach to take or the specific methods to employ, and some participants express uncertainty about the complexity of the task.

Contextual Notes

There are unresolved questions regarding the notation used in the equation and the specific methods available in MATLAB for solving PDEs. Participants have not reached a clear agreement on how to proceed with the solution.

Who May Find This Useful

This discussion may be useful for individuals new to MATLAB who are attempting to solve partial differential equations, as well as those seeking to understand different approaches to mathematical problem-solving in computational environments.

psm1
Messages
9
Reaction score
0
Hi i Would like to solve the the following eqn using Matlab

Since I am new to Matlab, I would request u to help me in this regard
(∂^2 T)/〖∂r〗^2 + 1/r (∂T )/∂r+(∂^2 T)/〖∂z〗^2 = 1/α (∂T )/∂t+τ/α (∂^2 T)/〖∂t〗^2 - { (1+δ(t) )-(1+δ(t-tp) }*IoKa/k 〖exp( - 2r/σ^2 〗_^2)exp(-zka)

where δ(t) =76ns

Δz = 0.- 2.5
Δz = 2.5 - 50
Δr = 4

If Δz = 0.- 2.5, I have to use thermal properties of my material

if Δz = 2.5 - 50, I have to use thermal properties of glass.

Could u help me in this regards
Forward Message
 
Physics news on Phys.org
Please do not start multiple threads with the exact same message; this will not increase the likelihood of a response, no matter how many z's you add. Additionally, this probably more properly belongs in the Homework Help subforum.

Now then, what are you trying to solve for? T?

Also, you seem to have a mixture of \Delta, \delta, and ∂. Do these all mean the same thing, or do they stand for Finite Difference, change, partial derivative, etc.?
 
no it means finite differnce, change,partial derivative

all are not same

And SORRY for it, I am New to this forum
 
Last edited:
You seem to have a second order differential equation. I assume you have the values for the constants. MATLAB has built in functions to solve this kind of equations, you can use the 'help' menu to go and look for the best thing that fits your system.
 
I think its hard to solve second order PDE using matlab

AS I am new to Matlab I don't to how to proceed
 
Hi Since I am New to Matlab

Im finding difficuilty in solving second order PDE in MATLAB

COuld u please help me
 
Yes, but would you first try and look into the 'help' section of MATLAB and search for partial differential equation solvers , from there, try to select possible ways to solve your equation.

I needed to solve an ordinary second order differential equation once. I changed it into a 2 first order differential equations, then transformed it into a matrix form (MATLAB is quite good with matrices) and solved. I am not sure how to progress with partial differential equations though.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 41 ·
2
Replies
41
Views
10K
  • · Replies 3 ·
Replies
3
Views
4K