Message Boards Message Boards

Solve error: "..." is not a valid variable

Posted 9 months ago

Hi, I'm trying to solve this equation for H but I'm getting some errors. Not sure how to fix or what kind of syntax error I'm having. Any help will be greatly appreciated.

Solve[n Exp[-(z - z0)/H] == na, H]
Solve::ivar: 1/z is not a valid variable.
Solve[E^(z (z - z0)) n == 1/z, 1/z]

The variable H had been given a value already. Clear[H] and start again.

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract