Christopher2222

5785 Reputation

24 Badges

16 years, 349 days

MaplePrimes Activity


These are questions asked by Christopher2222

This is similar to the roots of trig function thread that was just posted.  

When I Set_EnvAllSolutions:=true; and then use cos(x)=0 for example are the _B3~ and _Z3~ just place holders?  

If I want the actual numeric values over a range and I'm trying to use fsolve, I can't seem to get it to work. 

SetEnvAllSolutions:=true; fsolve(cos(x)=0, x=0..3*Pi);

I get 4.712388980 as the only answer.  I should have 3 values shouldn't I?

 

I have an equation of a line that intersects the ellipse.  I can get Maple to find one intersection.  How do I get the other?

E1:=x^2/300+y^2/1000=1;

E2:=y=2*x+40;

solve({E1,E2},{x,y});

evalf(%);

gives me {x=-4.810723698, y=30.37855260}

or I could use fsolve({E1,E2},{x,y}); and get the numeric result right away. 

There is a second intersection point I can find graphically around x=-5 y=30 but I don't know how to get maple to find it numerically.

 

The birthday problem is a statistical problem where a randomly chosen set of people will have the same birthday. 

The calculated probability is actually lower than reality.  Why?  Most people tend to "celebrate" on special days.  The weekend of Canada day, Valentines Day, Victoria day, etc ... and so you will find higher groupings of people with birthdays 9 months following these celebration days.   Hence probability is actually a little higher that 2 people will have the same birthday. 

Is this the best way to produce a random 2-d array? 

L:= Array(1..10,1..10,(rand(1..50));

What's unusual about the operation is that I seem to get an unusually high number of doubles in the rows.  All of the time I'm getting 50% of the rows with a matching pair of numbers (ie. every time I run the line, I get 5 rows with a matching pair of numbers) 

Does the probability of that seem a little high?  Also are there other ways to produce a 2-d random array? 

Thanks.

I have an issue where in standard interface Maple won't display the extra digits.  As an example evalf(10.5) returns 10.5 only. 

First 89 90 91 92 93 94 Page 91 of 94