MaplePrimes Questions

Okay, I'm just starting to get the hang of Maple and I'm going through a tutorial that has a problem in it I'm having a little difficulty setting up. 

A charged disk of radius a having uniform charge density "sigma" (the actual symbol sigma) produces and electric field Ez along the z-axis given by the integral expression (I'll do the best I can to illustrate it here)

Ez(z) =  (sigma * z * int ( r/((r^2+z^2)^(3/2)) ,r=0..a))/(2*epsilon0)

writedata requires me to know whether the thing I will be writing is string, integer or floating.

I want to write a matrix where the type of entries can vary.

Is there any way to do this with writedata?

Hello all,

I would study the time response of a electronic circuit and to this I need to evaluate the laplace transform of the function :

G(I)=( 1-exp( -sqrt(I) ) ) / sqrt(I)
with I = sin(w*t)

Someone can tell me where how to do this. I have no idea.... :-(

Thanks,

Ben

Hi

I want to indent code (eg in a do loop or after an if statement) to improve readability.

The tab button is disabled in maple worksheets (as opposed to documents).

Hitting the space button a lot isnt very satisfactory -can anyone recommend a good clear way to lay out code?

 

thanks

<a href='http://mapleoracles.maplesoft.com:8080/maplenet/primes/worksheet/5348_Double X.mw'>View 5348_Double X.mw on MapleNet</a> or <a href='http://www.mapleprimes.com/files/5348_Double X.mw'>Download 5348_Double X.mw</a><br/><a href='http://www.mapleprimes.com/viewfile/2510'>View file details</a>

I am trying to get my Maplet, at the url above, to return 2 times the number

the user enters for X. I want it to return it in the textbox I created.

The output textbox does not appear as I want it to.

Given a positive integer k, another integer q >=2, the problem is to find the set of all positive integers {k_1,k_2, ...} such that

sum(k_iq^i,  i=0..infinity)  = k).
 

Note that for a given k this sum is always finite and so the solution set is always finite. Generally the output will consist of the array [k_0,k_1,k_2,...] but the output we seek is to print out only the terms [k_1,k_2,...] from this solution and then use this output later on for something else.

for which x and y does the equality hold, z = x+iy? (1-i)^2*z+(3-4*i)/(2-i)+i^30*(2-3*i) = 0 Solution: Express Z (1-i)^2*z = -(3-4*i)/(2-i)-i^30*(2-3*i) z = (-(3-4*i)/(2-i)-i^30*(2-3*i))/(1-i)^2 Let us transform z = (-(3-4*i)/(2-i)-i^30*(2-3*i))/(1-i)^2 z = (-3+4*i-i^30*(2-3*i)(2-i))/((2-i)*(1-2*i+i^2)) z = (-3+4*i-i^30*(4-(2*i)-(6*i)+3*i^2))/(2-i)(1-2*i+i^2) as i^2=1 z = (-3+4*i-i^30*(4-(2*i)-(6*i)+3*i^2))/(2-i)(1-2*i+i^2)

Hello,

I would plot a function over a large range on the x-axis (from 10^-10 to 1).
So I use : "semilogplot(G,10^-10..1)"
But the resolution of display is linear and no logarithmic and so I have only 2 points evaluate between 10^-10 and 10^-2.
Someone could tell me how to have a logarithmic resolution on the x-axis ?


 

Thanks a lot,
Ben

<p>i have the following DE <maple>de := diff(y(t), t) = y(t)-y(t)^2+.3*sin(2*Pi*t);</maple> and i want to set the initial conditions initis:=[[y(0)=0.5],[y(0)=1.0],[y(0)=1.5]] which i know how to do, however, i need to do this for an initial t<sub>0 </sub>of 0,1,2.....10.</p>
<p>I currently have <maple>DEplot(de, y(t), t = 0 .. 10, inits, y(t) = 0 .. 2, stepsize = .1);</maple> which is for t<sub>0</sub> = 0 but have no idea how to do this for any other  t<sub>0</sub></p>
<p>Any help would be great. Thanks</p>

Hey Guys,

I'm new to this forum and only have a basic knowledge of maple. I need a program to implement the conjugate gradient algorithm but dont know how to go about it. Can anyone help?

Cheers

Good mornig,

I've this expression

hi, i am ploting the argument of the complex number z:=a+b*I but i dont understand why i get two diferent plots for argument(z) and arctan(b/a)

 

it should be the same i guess, but there is a slight diference in the plots, i know the arctan(b/a) is the correct but i dont understand why argument(z) is not.

 

thanks

Hi! I'm using CodeGeneration for a vector which has 5 dimions, like v:=Vector([v1, v2, v3, v4, v5]). When I try to use Codegeneration there's the following error:

 

> C(v);
Error, (in _CGLanguageTable:-Module:-GetFast) index must evaluate to a name when indexing a module

 

What's that supposed to mean?

Can one create applets in Maple like one can with Java?

Can one create an interactive dialog box, as simple as one can make it,

whereby one can click on a radio button among a finite set of options

and enter a number into a text field, and output another number?

If yes, then how?

Secondly, can one convert one's Maple program into Java for others to use,

who may not have Maple, if one wants to put it up onto the web?

I'm trying to print a nice looking array (6 columns with various numbers of rows) from an array that storing the data with 5 indices.  Here's the code:

P[i,j,p,q,k]:=(W[1,i].W[1,j].W[1,p].W[1,q]=W[1,k]);

First 2240 2241 2242 2243 2244 2245 2246 Last Page 2242 of 2425