Why is my integration in Mathematica not working?

  • Context: Mathematica 
  • Thread starter Thread starter aminbkh
  • Start date Start date
  • Tags Tags
    Mathematica
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
aminbkh
Messages
24
Reaction score
0
Hi,
I have a question about fitting in Mathematica.I have a function like this:
F=T*Y^(0.5) T is temperature but Y obtained from this coupled equation 1-u*Y=u(1-u/Y^.4)^.5*Y
I have T and F from experimental data.so I want to obtain u from fitting.
could you please advise me how can I do it by Mathematica.
Thank you
 
Physics news on Phys.org
Question about matlab

Hi,
I have question if you could answer me, I really appreciate it. I have an equation which I wan to solve it to experimental data \[Rho] = t*Y^.5*a + Y^.8/sqrt (1 + 4*Y)*t*a^2 where a is parameter which I want to obtain by fitting and t is vector that I know for each experiment. and Y obey this equation 1 - (1 - u)*Y = u*(1 + g/t*y^.5)^.5*Y^.43 where u and g are again system dependent parameter which should be obtained by fitting it means that in each iteration first that coupled equation should be solved with respect to Y and put in rho equation to obtain u,g and a do you know if MATLAB is able to do that or not?or ant other suggestion I really appreciate your help
 


thank you for your answer
but the problem is the function Y should be solved and then put in second equation and both of them have some adujstable parameters,
could you advise me more please.
 


Hi all,
I have this integration in mathematica but I don't know why doest work.
Could you please help me?

Integrate[HeavisideTheta[0.1 - x], {x, 0, 100}]

Thank you so much for your help
 


aminbkh said:
Hi all,
I have this integration in mathematica but I don't know why doest work.
Could you please help me?

Integrate[HeavisideTheta[0.1 - x], {x, 0, 100}]

Thank you so much for your help

It works when I do it. See the attached notebook. Did you mis-type it?

Edit: Oops, I see what you mean. The answer should be 0.1, not 100.0. Looks like a bug. It plots the Heviside function correctly, but appears not to integrate it correctly. Hmmm.
 

Attachments

Last edited: