Does anybody know how can solve this equation in Matlab?

Does anybody know how can solve this equation in Matlab?

Answers (1)

func=@(x)a*sqrt(1+x^2)-x*log(x+sqrt(1+x^2));
a=2;
xsol=fzero(func,[3 5]);
Best wishes
Torsten.

2 Comments

Thanks. Could you explain how can I use this function in a for loop?
What do you want to loop over ? Different values for a ?
Best wishes
Torsten.

This question is closed.

Asked:

on 6 Aug 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!