You are not logged in.

 Discussion: All Topics Topic: how to use the program editor on voyage

 Post a new topic to the General Discussion in Calculus on TI Calculator discussion

 Subject: how to use the program editor on voyage Author: paal Date: Jan 5 2010
Hi, I recently got me slf a ti voyage 200, and i want to learn how to use the
program editor. i am a user of matlab and i need to write som big functions. but
i havent figured out the logic of the program editor application. i know how to
use the "define function" tool, but it is not practical with these function i am
to write.

An example with a matlab function:

function [phi,lam,h]=ECEF2ell(a,b,X,Y,Z)
lam=atan(Y/X);
phi=atan(Z/(sqrt(X^2+Y^2))); %lat(0)

for i = 1:5
phi=atan(Z/(sqrt(X^2+Y^2))+(N*((a^2-b^2)/a^2)*(sin(phi)))/(sqrt(X^2+Y^2)));
%lat(1)
end
h=(sqrt(X^2+Y^2))*cos(phi)+(Z*(sin(phi)))-N*(1-((a^2-b^2)/a^2)*(sin(phi))^2);

end

i want to program this on ti voyage 200. can somebody help me to program this or
tell me the logic behind the program editor on ti voyage?

lot of thanks to anyone that helps

Paal