Page 1 of 2
lcm
Posted:
03 Sep 2013, 13:15
by jmat
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
Re: lcm
Posted:
03 Sep 2013, 16:55
by Bisam
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.
Re: lcm
Posted:
03 Sep 2013, 16:57
by Laurae
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.
Re: lcm
Posted:
03 Sep 2013, 17:58
by Bisam
Re: lcm
Posted:
03 Sep 2013, 18:03
by jmat
factor does not work, I do not want to simplify it, I want to make the LCM Manual...
thanks
Re: lcm
Posted:
04 Sep 2013, 11:01
by jmat
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
Re: lcm
Posted:
04 Sep 2013, 11:16
by Laurae
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.
Re: lcm
Posted:
04 Sep 2013, 11:30
by jmat
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...
Re: lcm
Posted:
04 Sep 2013, 11:45
by Adriweb
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
Re: lcm
Posted:
04 Sep 2013, 11:49
by Laurae
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))