Skip to main content
1-Visitor
October 6, 2012
Question

Solving a function for a variable within a range

  • October 6, 2012
  • 1 reply
  • 859 views

I am new to using mathcad and am having problems creating a program that will solve for an output value for an input variable within a given range. Basically I have a function with an input angle between 0 and 360 degrees (1 degree increments) and I want to solve for an output angle at each given input angle.

The mathcad function that I am attempting to create uses the Newton-Raphson method to solve a non-linear equation for multiple input values.

I have attatched the mathcad file that I am working with. If you think you can help, please take a look at it and let me know what I am doing wrong.

alpha = input

phi = output

Maybe I could also do this using the built in root function. I tried playing around with that but had no luck. If you have any suggestions please let me know.

Thank you!!

1 reply

19-Tanzanite
October 7, 2012

Have a look at the attached.

Alan