I need an equation in correct format and code.

I have an equation that needs to be solved in scilab: with X varies from -1 to 1 for 1000 point and same with y. Can you give the correct format. I am getting one error all the time: Rows and columns do not match! This is the equation:



The_1 = 1.570796327

Phi_1 = 0, 6.283185307

beta = 245.0540291

a = 0.1282

E0 = 1

Scilab 10-08-21, 1:49 a.m. hannabeprakash
Nobody can help debug the above code. The trick is that you have to learn how to develop a code that works correctly. If I were you, I will start defining variables, and build the above equation gradually, while checking that the equation is correctly formed (taking care of row, column conditions, etc.) at every step.
10-08-21, 8:07 p.m. kannan

Log-in to answer to this question.