I entered
h[x_] := Sqrt[x] + cos x
into the system and then entered
Plot[h[x], {x, -10, 10}]
and it's showing up with plot but with no curve plotted. I've tried scaling up and down the area to be shown, but nothing changes. I've also tried re-entering my function into the system and it's not affecting anything. Is there anything else I can try?
Edit
I changed my original function to
h[x_] := Sqrt[x] + cos[x]
and it is still not plotting. I also changed my range to {x, 0, 2pi} and that has not affected anything either.
Edit 2
I capitalized the c in cosine and it is now plotting the function. Thank you!
h[x_] := Sqrt[x] + Cos[x]. The Wolfram Language is case sensitive and the names of all built-in functions begin with capital letters. And{x, 0, 2pi}should be{x, 0, 2 Pi}– m_goldberg Nov 06 '18 at 01:12Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign!
– Chris K Nov 06 '18 at 01:45