The function

35 Reputation

3 Badges

0 years, 95 days

MaplePrimes Activity


These are replies submitted by The function

@Rouben Rostamian  

I should try to do math earlier in the day. Now its the end of the day. Yesterday i was sleep drunk, just could not see anything that would look like an answer. 

Seeing your answer now, man, i should really try harder, the solution you gave actually is pretty obvious. How could i not see this?? :P 

Getting just the y on one side and the rest on the other side gives something that looks like a "normal" function. It is actually luck that it has a root, otherwise the half circle may not even have been possible. (Would they otherwise ask this question? Probably not...) 

Any way.

Thank you!

Greetings,

The Function 

@Kitonum 

I really dont know why your function plotting worked the way it did, i would expect it to go through the x-axis at Pi/2 and Pi, but it however crossed it at x=2. So odd. 

So it actually creates the cosine and sine circle. And you multiplied it with 2, thus giving the half circle. 

Really interesting. See, if you dont know what good input is. You could try all day in vain. Really helpful answer. Thank you!

Greetings,

The Function. 

@Ronan

That is still having the bottom of the circle, but it does not shot is how it is drawn. 

So that is not what i am looking for. Thanks for the answer though!

Greetings,

The Function  

@The function 

Going through it again, using factor(%) works works with some of the questions its solutions, but definitely not all of them. Not with the one i showed. 

Greetings,

The Function 

@acer 

You answer looks something similar to what my mathbook states the following (its in Dutch but if you only read the code you will get what is happening: 
 

But i want to know if there is any way to simplify the really long answer because that is what i am looking for. Not working around the long answer by making a more smart way to do the calculations. 

Thanks everybody! 

I could figure the answers out while they were not too difficult. But i just had to get my right on that -3 answer. And you agreed. So i am happy with that. 

But is there a way that the answer could have been 3 instead?

Greetings,

The Function 

@Mac Dude @mmcdara

So the book is indeed wrong. Well that is what i was saying, but i found it so odd they would add a wrong answer in the book. 

I am glad you can confirm my assumption. 

Greetings,

The function. 

@acer 

I would have to look up those done by hand. I did those a couple of years ago. 

I did get the ?implicitdiff opened up, and tried it like that. It gave me the right answers that i was looking for. If i remember correctly, i could make it like the solutions in the book. 

The important part for me is that im learning how to use maple and that i get the right results. 

Greetings,,

The Function

@acer 

Yes i did that right away, to check the "?implicitdiff". I did not know about the cross reference. I should have checked the diff in the first place. But i did not think about it. With the "see also", you could check it, but what is the chance of that it is what i am looking for, while maple is that big a program, with so many functions. So i went to mapleprimes to see if anyone has seen a problem like ive had before. That would speed things up, and keep my mind at ease. Time passing by without much progress, i cant stand it. So many books that i will have to finish, and i do need to get through Maple to get them done faster. So not too much wasted time in the long run. :) For today my homework yield was not to great either, i also had to paint in the house. I want to finish at least 2 sections of the math book a day. It really reminds me of me as a starter at solidworks, and time flying by not finishing anything big. But now i can shape about anything. 

I hope that i will be as good at this program as you are, while that would get me where i would want to be. 

Greetings,

The Function. 

@acer 

Thank you for the quick reply. This really helps a lot! I was really wondering how to go about this problem, and there had to be a way. Its a shame the book did not give me these ways to do it. It would have helped a lot. Its like rowing a boat with one oar, while you need two.

Any ways, i will try it out now! 

Greetings,

The Function

@one man 

Are you sure that is what they mean? I have to fill in a value for the voltage myself? Because that actually does make sense, how would U be in the name and in the function at the same time? 

It really explains it all. They could have pointed that out in the text. 

Thank you! 

Greetings, 

The Function

@acer 
Okey, so diffrent beast we can throw at it. I will make sure that i note all the different kinds down so i have the best chance of succeeding. 

The thing i meant was: Cant they get the code from these calculators, see how it functions, and just use pieces of code for maple to make it run better. Copying a good piece of code is better than coming up with something that performs less. Of course i dont know what type of calculation is being let loose on the equation. 

How maple functions really reminds me of Arduino, and the Arduino approach is always getting a piece of code from other Arduino applications, chop all the pieces you need out, and then implement it in your own piece of code. Now this is a bit "dirty", and you want to actually know how it functions, and wright your own code. But having a peek under the hood of these calculators may be valueable. 

Greetings,

The Function

@acer
So it is what it thought it was a piece of code that prohibbits the machine to finding a solution. So maybe the Texas instruments and Casio graphic calculator might have some better efficient code in it so that it does work. I however do like the maple environment while it can do a lot. But having to work around these "bugs" is a bit cumbersome. 

Maybe if Maple gecomes as mainstream as students and technicians buying Texas instruments and Casio calculators there is enough capital to get it right...(????) I dont know, but when i was doing studying back in the day Maple was unattainable for most of us. We could not find our way into buying the "cheap" version, or it was not there. The one guy that did pay the price got the best grades. Finished all his homework way before the deadline. And we were struggling with the graphic calculators... Maybe making it more cheap and selling more copies might bring in more money while it is more attainable. Or making it more accesable by getting more contact between universities and maple, or maybe give a large number of copies bought discount. It should be foolproof so that everybody that starts as a freshman gets a copy of Maple. That should bring in more money, and thus creating better quality of the program. A win, win, win.. situation.. :) 

@acer @vv @tomleslie

Any way the one solution i thought would be the final solution, was not the final solution after all... Yes its a shame, but it is good that i plotted the graph so i could see the flaw. It missed the 2nd answer. :( I will try the other methods now and see if there is a working one. 

Just showing that what looks like the solution that would find everything, may not give all the answers everytime. 

expr := tan((1/2)*Pi-x)-4.6785; ans1 := [fsolve(expr, x = 0 .. 2*Pi, maxsols = 10)]; indentify(%)

cot(x)-4.6785

 

[.2105750775, 6.493760384]

 

indentify([.2105750775, 6.493760384])

(1)

smartplot(tan((1/2)*Pi-x), 4.6785)

 

``

Download Question_for_maple_primes_3.mw

Greetings,

the function

@acer @tomleslie @vv
Thank you for all the solutions given. There is a great veriety of solutions with bigger or smaller succes rates. 

I think the answer: 

ans1 := [fsolve(expr, x=0..2*Pi, maxsols=10)];

Is the straightest answer. Only time will tell if this solution is up for all the jobs im going to throw at it. 

Why my code: evalf(solve({sin(x) = cos(4*x - 1/6*Pi), x < 2*Pi, 0*Pi < x}, x, allsolutions, explicit)) did not give all the answers is a mistery to me. It should have given all the results as ans1 piece of code but it did not.. Is this a bug? Is this something that has got to be fixed? Or is it that there are so many ways to go about a problem some ways work and others simply do not because the commands are not programmed right. I really get that Maple is really hard to get right while it is fast, its huge, is such a big thing.. Its a monster.. :) What do you think, is this something that should have worked? It did say:"allsolutions". 

Thank you!

Greetings,

The Function.

@tomleslie 

Is there some function you did turn on or off in the worksheet you showed? The code is not working in a new worksheet. 
 

restart;
with(RootFinding);
sols := [];
tmp := 0;
do
    tmp := NextZero*(x -> sin(x) - cos(4*x - 1/6*Pi), tmp);
    if tmp <= evalf(2*Pi) then
        sols := [sols[], tmp];
    else
        break;
    end if;
end do;
sols;

[Analytic, AnalyticZerosFound, BivariatePolynomial, EnclosingBox, HasRealRoots, Homotopy, Isolate, NextZero, Parametric, WitnessPoints]

 

[]

 

0

 

RootFinding:-NextZero*(proc (x) options operator, arrow; sin(x)-cos(4*x-(1/6)*Pi) end proc, 0)

 

Error, cannot determine if this expression is true or false: RootFinding:-NextZero*(proc (x) options operator, arrow; sin(x)-cos(4*x-(1/6)*Pi) end proc, 0) <= 6.283185308

 

[]

(1)

restart; with(RootFinding); sols := []; tmp := 0; do tmp := NextZero*(proc (x) options operator, arrow; sin(x)-cos(4*x-(1/6)*Pi) end proc, tmp); if tmp <= evalf(2*Pi) then sols := [sols[], tmp] else break end if end do; sols

Error, cannot determine if this expression is true or false: RootFinding:-NextZero*(proc (x) options operator, arrow; sin(x)-cos(4*x-(1/6)*Pi) end proc, 0) <= 6.283185308

 

[]

(2)

``


 

Download Question_for_maple_primes_2.mw

1 2 Page 1 of 2