## Items tagged with convert

Also available:

by:
Greetings. As mentioned in earlier posts, I often find the answer given to a question regarding the use of the 'sum' command as: don't use 'sum', use 'add', and all will be fine. I agree, and I use the add command for adding numbers together. But, if all I am doing is adding numbers together, from a sequence and nothing else, why not use the 'sum' command. It seems to be orders of magnitude faster than the 'add' command if there are a large number of numbers(I have no metric for what large is as far as numbers go). As an example, I execute the code below and look at the results. > restart:

## MapleTA and latex2edu conversion...

I am using the latex2edu conversion service at qa.brownstone.net/latex2edu to convert latex files into MapleTA questions. However, for the last 4 days this service has not been available. Mail to support@brownstone.net and my local MapleSoft representative has not been answered. Has anyone else experienced this problem? Does anyone know whether the service is available elsewhere? Arne Jensen Aalborg University Denmark

## Brownstone unavailable: alternatives?...

Hi,

we've been happily using Brownstone's latex -> edu conversion service for some time now, but always with that slightly queasy feeling of "what happens if it's unavailable?". Well that's the case at the moment: I've submitted a ticket with their support folk, but times in Australia don't match up well with US times! In the meantime we have a number of assignments due to be made available to students, but which only exist as latex files. Conversion by hand is, to say the least, painful and time consuming (our Level I coordinator has already converted two by hand, and doesn't need another few hours of such nonsense), so I'm hoping that there may be another way in which this can be done. Any suggestions?

## Very slow evaluating matrix computation.

by: Maple
Hello, I would like to use Maple instead of Matlab, well I rewrite the Matlab code to Maple like following. The output is correct, but it spends more time than in Matlab. Is it possible to rewrite my Maple code to get output faster? restart: linearni_model:=proc(beta,sigma) local n1,n2,Y,X,Y1,Y2,se,se2,t1,t2,t3,t4,vbeta,t,si2,e1,e2,e3,e4,Yp,N,s2,n; use Statistics in X:=Matrix([[1, 1, 1, 1, 1], [1, 1, 1, 1, -1], [1, 1, 1, -1, 1], [1, 1, 1, -1, -1], [1, 1, -1, 1, 1], [1, 1, -1, 1, -1], [1, 1, -1, -1, 1], [1, 1, -1, -1, -1], [1, -1, 1, 1, 1], [1, -1, 1, 1, -1], [1, -1, 1, -1, 1], [1, -1, 1, -1, -1], [1, -1, -1, 1, 1], [1, -1, -1, 1, -1], [1, -1, -1, -1, 1], [1, -1, -1, -1, -1]]); 

## hypergeom & integration...

Would anyone be able to help me integrate ones like the following: Int(1/exp(eta)*eta*hypergeom([1, 1, 1],[2, 2, 2],eta),eta); I've tried using convert, simplify, etc. but nothing works. Many thanks, Sandra

## HeunC function

by:
I used Maple10 to solve an ODE from my research project and got a solution with HeunC function. I did derivative of the HeunC function and got HeunCPrime function. However I found HeunCPrime is just a sign. It cannot be valued or plotted with a selection of parameters. My questions are as follows: 1. Is there any special package I need to use to value or plot HeunCPrime function? 2. Is it possible to convert HeunC into other functions which I can manipulate for derivative and plotting?

## Error in quaternion package...

Hi, I've been experimenting with the quaternionspackage. (The free download, not the commercial package). There seems to be an error in the calculation of the inverse: with (Quaternions); [*, +, -, Qabs, Qadd, Qamplitude, Qangle, Qarccos, Qarccosh, Qarccot, Qarccoth, Qarccsc, Qarccsch, Qarcsec, Qarcsech, Qarcsin, Qarcsinh, Qarctan, Qarctanh, Qargument, Qaxial, Qceil, Qcolatitude, Qconjugate, QconvertToFrac, Qcos, Qcosh, Qcot, Qcoth, Qcsc, Qcsch, Qdefine, QdivLeft, QdivRight, Qdot, Qeval, Qexp, Qfloor, Qfrac, Qicoeff, Qinverse, QisCommutable, QisEqual, QisPure, QisScalar, Qjcoeff, Qkcoeff, Qlength, Qln, Qlongitude, Qmagnitude,

## Maple code to mathematical steps...

Hi I have the following maple file. Is anyone able to convert the maple code of the calculation of the reflected lines to the simple mathematical steps which are used to calcualte it. The calcualtion of the outgoing ray is from: if (abs(dr) > 0.001) then # if slope = 0 no outgoing ray > m := (dr^2 - 1)/(2 * dr): > ix := (height - y)/m: # > if ix <> tx := -width: > ty := y + m * (tx - x): > elif # Calculation of outgoing ray > ix > width then #

## Number System Conversion...

Is there a package available in Maple that converts between number systems ? e.g., binary, octal, hexadecimal. v/r,

## How do I get Maple v10 to convert the output of th...

How do I get Maple to convert the output of the polar() to degrees with convert(arg, degrees)??? Does the polar() store the magnitude and angle values that is spits out into some variable somewhere that isn't documented? I can't figure this out right now; short of making a copy of the angle part of the polar()'s output to then be fed back into the convert(angle, degrees) statement. Help anyone?

## Batch function creation...

My goal is to obtain a formula F:= x -> fa(x)*c1_1(x)+ fb(x)*c1_2(x)+fc(x)*c2_1(x)+... where every ci_j(x) is a function of x. fa, fb, fc are known functions of x. I do not need to have it printed, I just need it to return a numerical value for every value of x I throw in. I have obtained the solutions of ci_j's in the form Sol[1]:=[c1_1=f11(x), c1_2=f12(x), c1_3=f13(x), ...], N1 terms Sol[2]:=[c2_1=f21(x,c1_j’), c2_2=f22(x,c1_j’), c2_3=f23(x,c1_j’), ...], N2 terms Sol[3]:=[c3_1=f31(x,c1_j’,c2_j’), c3_2=f32(x,c1_j’,c2_j’), c3_3=f33(x,c1_j’,c2_j’), ...], N3 terms Sol[4]:=[c4_1=f41(x,c1_j’,c2_j’,c3_j’), c4_2=f42(x,c1_j’,c2_j’,c3_j’), c4_3=f43(x,c1_j’,c2_j’,c3_j’), ...], N4 terms

## Cartesian Products of Lists

by:

The Cartesian product of a sequence of m lists L1, ..., Ln, with list i having ni elements, is given by the sequence of Πi ni lists [L11,...,Lm1], ..., [L1n1,...,Lmnm], where Ljk is the k-th element of the j-th list.

## Creating functions...

Sorry for the repetition. I posted this last night as a reply rather than a new posting. I am having difficulty converting latex files with maple-graded questions. It appears that it does not recognize the question type even though the documentation claims that all question types are available with latex. If I try this example or any of the examples in the latex authoring documentation, it generates errors on the latex2edu conversion site.  \documentclass[12pt]{article} \usepackage{ed} \setImageBase{../classes/myclass/images} \begin{document} \begin{topic}{fun} \begin{question}{Maple}