latentcorpse

116 Reputation

2 Badges

11 years, 137 days

MaplePrimes Activity


These are questions asked by latentcorpse

so i need to check that these solutions are in fact solutions. they are obviously very close but i can't get the boolean output to be "true".

eqn1:=tan(x)=x;
N:=10;
soln_array:=Array(1..N):
for m from 1 to N do
this_soln:=fsolve( eqn1 , x=(m-1/2)*Pi..(m+1/2)*Pi );
soln_array[m]:=[this_soln, tan(this_soln)];
end do:
soln_array;
for m from 1 to N do
this_soln:=fsolve( eqn1 , x=(m-1/2)*Pi..(m+1/2)*Pi );
evalb(simplify(tan(this_soln)-this_soln)=0);
end do;

In principle I think this should be pretty easy. I need to make a MAPLE code that uses loops and arrays to carry out the prcedure described here: http://people.revoledu.com/kardi/tutorial/ContinuedFraction/Decimal-Fraction-Conversion.htm  

I have to generate a set of antihermitian matrices and the entries the non-zero entries have to be randomly generated. i can generate one antihermitian matrix. but now i want to generate many of them and store them in an array.

my code is:

ok just trying to integrat something here

-[(tan(theta)) dtheta]/[sec(theta) (2cos(theta)-1)^(0.5) (1-cos(theta))] = (sqrt(Mgh/A)) t

 

and get to sec(theta) = 1 + sech (sqrt(Mgh/A)) t 

 

any advice?

ok so i have the differnetial equation

[latex] \lambda^{2} (\frac{dx}{dt})^{2} = (cos{ \alpha} - x)(cos{ \beta} - x) [/latex]

where [latex] x = cos{ \theta} [/latex]

and the solution is

[latex] x = cos{ \alpha} sin^{2}{\frac{t}{2 \lambda}} + cos{ \beta} cos^{2}{\frac{t}{2 \lambda}} [/latex]

please show you're working cos that's where im getting lost

now i want to use maple to show this is the solution to the eqn.

how do i do this???

 

Page 1 of 1