π
<-

lcm

Pour le TI-Basic sur Nspire

lcm

Unread postby jmat » 03 Sep 2013, 13:15

hello, good afternoon, I would like to make a program that would make me not only complete the LCM of the denominators,as I show below:

p / 2.cos(45) + p.cos(45) = p+2.p.cos^2(45) / 2.cos(45)

I appreciate the help
User avatar
jmat
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 12.5%
 
Posts: 50
Joined: 24 Jul 2013, 01:03
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: lcm

Unread postby Bisam » 03 Sep 2013, 16:55

I don't understand !
1) There already is a LCM function on Nspire.
2) Your example doesn't show anything to me (especially because some parenthesis are missing). I really don't see what you want to do...
3) cos(45°) should be simplified by the calculator... but you have to specify Degree by adding °, or choosing Degree in the settings.

Maybe you should explain a little more and give a better example.
User avatar
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 69.6%
 
Posts: 5670
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):
MyCalcs profile

Re: lcm

Unread postby Laurae » 03 Sep 2013, 16:57

Bisam wrote:I don't understand !
1) There already is a LCM function on Nspire.
2) Your example doesn't show anything to me (especially because some parenthesis are missing). I really don't see what you want to do...
3) cos(45°) should be simplified by the calculator... but you have to specify Degree by adding °, or choosing Degree in the settings.

Maybe you should explain a little more and give a better example.


Il veut simplement factoriser les deux membres pour avoir une fraction seule. factor(...) devrait fonctionner non ?

He simply wants to factor both members and get only one fraction. "factor" should work, no ?

[Edit by Bisam]
J'ai traduit en anglais ton message...
I translated your message to english.
User avatar
LauraeAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 78.8%
 
Posts: 1685
Images: 22
Joined: 25 Jun 2010, 00:00
Location: France, La Défense
Gender: Male
Calculator(s):
MyCalcs profile
Class: Professeur, Etudiant, Formateur

Re: lcm

Unread postby Bisam » 03 Sep 2013, 17:58

Yes, or "comdenom" ( :nsme: :ns2: :ns7: :ns4: ) which sets an expression to a common denominator.
Oui, ou "comdenom" ( :nsme: :ns2: :ns7: :ns4: ) pour mettre au même dénominateur.
User avatar
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 69.6%
 
Posts: 5670
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):
MyCalcs profile

Re: lcm

Unread postby jmat » 03 Sep 2013, 18:03

factor does not work, I do not want to simplify it, I want to make the LCM Manual...
thanks
User avatar
jmat
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 12.5%
 
Posts: 50
Joined: 24 Jul 2013, 01:03
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: lcm

Unread postby jmat » 04 Sep 2013, 11:01

I already had it set right in degrees instead of radians, and could make a code to give me the simplification steps (step by step)

(p / 2.cos(45)) + p.cos(45) = (p*(2*(cos(45))^(2)+1))/(2*cos(45))

thank you very much
User avatar
jmat
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 12.5%
 
Posts: 50
Joined: 24 Jul 2013, 01:03
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: lcm

Unread postby Laurae » 04 Sep 2013, 11:16

a/b + c = (a+cb)/b

Which step do you want ? I don't see any other possible step than the one I just wrote.
User avatar
LauraeAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 78.8%
 
Posts: 1685
Images: 22
Joined: 25 Jun 2010, 00:00
Location: France, La Défense
Gender: Male
Calculator(s):
MyCalcs profile
Class: Professeur, Etudiant, Formateur

Re: lcm

Unread postby jmat » 04 Sep 2013, 11:30

I've spelled wrong ....I mean the steps to go from this (p / 2.cos(45)) + p.cos(45) expression this (p*(2*(cos(45))^(2)+1))/(2*cos(45)) ,intermediate steps...
User avatar
jmat
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 12.5%
 
Posts: 50
Joined: 24 Jul 2013, 01:03
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: lcm

Unread postby Adriweb » 04 Sep 2013, 11:45

Ok, you made a parentheses mistake, here, it's :

(p / (2*cos(45))) + p * cos(45)
and
(p*(2*(cos(45))^(2)+1))/(2*cos(45))

It's just simple refactoring, see above and below

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.9%
 
Posts: 14745
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: lcm

Unread postby Laurae » 04 Sep 2013, 11:49

Image

that's exactly what I wrote before : a/b + c = (a+bc)/b



p / (2*cos(45)) + p*cos(45) = (p + (p*cos(45)*2*cos(45))) / (2*cos(45)) = (p * (1 + 2*cos(45)*cos(45))) / (2*cos(45)) = (p * (2*(cos(45))^2 +1)) / (2*cos(45))
User avatar
LauraeAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 78.8%
 
Posts: 1685
Images: 22
Joined: 25 Jun 2010, 00:00
Location: France, La Défense
Gender: Male
Calculator(s):
MyCalcs profile
Class: Professeur, Etudiant, Formateur

Next

Return to Nspire-Basic

Who is online

Users browsing this forum: ClaudeBot [spider] and 1 guest

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1012 utilisateurs:
>953 invités
>50 membres
>9 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)