Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#26 2014-01-01 02:04:04

prathima
Member
Registered: 2013-09-19
Posts: 33

Re: scilab programmes

yes...

Offline

#27 2014-01-01 02:04:35

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,706

Re: scilab programmes

Yes, to what?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Online

#28 2014-01-01 02:06:25

gAr
Member
Registered: 2011-01-09
Posts: 3,462

Re: scilab programmes

What is pg?

She means Post Graduation.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#29 2014-01-01 02:09:22

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,706

Re: scilab programmes

Hi prathima;

Okay, but you do not know anything at all about programming in any language. This is obvious.

I can write the program for you. You might pass if your teacher is very stupid. Also you would learn nothing.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Online

#30 2014-01-01 02:11:08

prathima
Member
Registered: 2013-09-19
Posts: 33

Re: scilab programmes

for above vector to get 1st element A(1,1)

Offline

#31 2014-01-01 02:11:36

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,706

Re: scilab programmes

And the 10th element?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Online

#32 2014-01-01 02:16:55

prathima
Member
Registered: 2013-09-19
Posts: 33

Re: scilab programmes

there are only 3 elements in above example

Offline

#33 2014-01-01 02:18:12

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,706

Re: scilab programmes

If I pseudocode it for you it will not run right away. You will have to adjust syntax, headers, variable types...

If you can not do that then you will be unable to make it work.

0) Make an array = [1,2,3,4,5,6,7,8....] as long as you need. Call it A.

1) x1 = 1;
2) x2 = 1;
3) h = x2;
4) x2 = x1 + x2;
5)A[1,x2]=0. I assume that is the correct format of the array.
5) x1 = h;
6) Goto 3

When you have finished going through the list just print out A.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Online

#34 2014-01-01 02:31:40

prathima
Member
Registered: 2013-09-19
Posts: 33

Re: scilab programmes

thank u

Offline

#35 2014-01-01 02:43:11

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,706

Re: scilab programmes

Your welcome.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Online

Board footer

Powered by FluxBB