how to I write sqrt{x}+sqrt{1+x}=4 in mathlab

1 view (last 30 days)
sqrt{x}+sqrt{1+x}=4

Accepted Answer

David Hill
David Hill on 9 Jun 2022
eqn=@(x)sqrt(x)+sqrt(1+x)-4;
f=fzero(eqn,3)
f = 3.5156

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!