Jump to content



Photo
- - - - -

Why Cp Doesn't Calculate This:


  • Please log in to reply
5 replies to this topic

#1 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 15 January 2009 - 06:30 PM

Why Cp doesn't calculate this (line 2):
[...] => u
Sum{u[1,i],i,1,5}

Note that u is a 5*5 matrix and sum means sigma.
I need this or my exam on saturday.
I use this command in main and eActivity.

#2 Gualberto Soto Sivila

Gualberto Soto Sivila

    Newbie

  • Members
  • Pip
  • 23 posts
  • Gender:Male
  • Location:Oruro - Bolivia (591) 72489039 <u title="Email protected, replace &quot; AT &quot; by &quot;@&quot;">gsoto.s<i> AT </i>gmail.com</u>

  • Calculators:
    CFX 9850GC Plus, Algebra FX 2.0 Plus, Classpad 330

Posted 15 January 2009 - 11:55 PM

Why Cp doesn't calculate this (line 2):
[...] => u
Sum{u[1,i],i,1,5}

Note that u is a 5*5 matrix and sum means sigma.
I need this or my exam on saturday.
I use this command in main and eActivity.

This command Sum( ) is for list and not for matrix

Edited by Gualberto Soto Sivila, 15 January 2009 - 11:57 PM.


#3 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 16 January 2009 - 04:52 AM

I use symbol Sigma from 2D tab, this is:
Sigma {u[1,i],i,1,5}.

#4 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 16 January 2009 - 07:54 AM

Why don't you just use your brain and calculate it without using direct functions?

Anyway...

sum(matToList(trn(u),1))

Change 1 to whatever line you want to calculate. Remove "trn" if you want to get the sum of columns instead of lines.
Also, it's sum here, not sigma.

Edited by Kilburn, 16 January 2009 - 07:55 AM.


#5 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 17 January 2009 - 06:31 PM

Why don't you just use your brain and calculate it without using direct functions?

Anyway...

sum(matToList(trn(u),1))

Change 1 to whatever line you want to calculate. Remove "trn" if you want to get the sum of columns instead of lines.
Also, it's sum here, not sigma.


Thanks for your comment.
I always use my brain. :twisted:
using classpad and my brain, I did my exam in 1/3 of provided time. :roflol:
I wrote more than 30 eactivity for my Advance Numerical analysis.
Btw, the problem was bigger than what I said. It was something like this:
Sigme(Sigma(u(i,j),i,1,10),j,1,10)
You know, I hate labour! :roflol:

#6 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 19 January 2009 - 02:34 AM

define library\mSum(m)=sum(matToList(m×fill(1,listToMat(matToList(trn(m),1))),1))
or
define library\mSum(m)=trn(m×fill(1,listToMat(matToList(trn(m),1))))×fill(1,listToMat(matToList(trn(trn(m)),1)))

Posted Image

Edited by vanhoa, 19 January 2009 - 02:50 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users