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

1 vue (au cours des 30 derniers jours)
Conner O'Neal-Carden
Conner O'Neal-Carden le 9 Juin 2022
Commenté : Sam Chak le 9 Juin 2022
sqrt{x}+sqrt{1+x}=4

Réponse acceptée

David Hill
David Hill le 9 Juin 2022
eqn=@(x)sqrt(x)+sqrt(1+x)-4;
f=fzero(eqn,3)
f = 3.5156
  3 commentaires
Conner O'Neal-Carden
Conner O'Neal-Carden le 9 Juin 2022
is there a way of graphing it
Sam Chak
Sam Chak le 9 Juin 2022
fplot(@(x) sqrt(x) + sqrt(1 + x) - 4, [-2 8])

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by