Community Profile

photo

David Campbell


University of Victoria

Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I am having problems finding the roots of the following non linear discontinuous equation
Below is the code I am using, and the error message I recieve: function y = firstorder(x) mat = 'mnfepas'; props = mat...

11 years ago | 2 answers | 0

2

answers

Question


solving a non linear equation that has constants that must be passed into the equation
I need to solve the following equation: (1/T)*(3*Tc*J*Brill(x,J)/(J+1) + g*muB*J*B/kB + (9/5)*(((2*J+1)^4)-1)*Tc*nu*((Brill...

11 years ago | 1 answer | 0

1

answer

Question


How do I get ode45 to output the dependent variable value at each time step? I have other material properties in my differential equation that change with temperature, so I must update them with each change in temperature.
the equation looks like this: dT/dt = T/cB(T,B) * d/dT( M(T)) * d/dt( B(t)) cB(T) = the specific heat M(T) = the magnetiz...

11 years ago | 1 answer | 0

1

answer

Question


I have a first order ODE with temperature as the dependent variable. In the equation I have two material properties that change as the temperature changes. I have them stored as arrays. How do I implement these arrays into ODE45?
this is my attempt... it did not work at all: function [comp] = f(t,T) load('cB_dmag_data.mat','c','d') dB = 0.1; cB...

11 years ago | 0 answers | 0

0

answers