Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
How do I find the inverse of a mod? eg. the inverse of 7mod27 is 4. How do I get maple to find that? Is there a simple function?
Hi, I've searched for this in mapleprimes.com before registering myself in the site, and found nothing. Maybe someone can help me with this. I've generated a set of prime numbers below 1000 using: genprime := proc (n) select(isprime, {$1 .. n)}) end proc Now I want to sum all the elements from the set genprime(1000). Is it possible? Thanks in advance, André
Hi, I am very new to maple and have a question. I have a large number of data points in an excel file, which I am trying to overlay onto an equation to see if it fits. I can import the data fine, and the curves seem similar, however, the x values for my data points are all shifted to the left (for various reasons during the recording of the data), so the data is not on top of the curve. I would like it to be. Is there any simple way to manipulate the data in maple, say by adding a number n to all the x values, so that I don't have to go back and do it in excel? Thanks for your help. Evan
Hi I am getting a problem with plot. I am trying to plot ka (number of iterations) versus va (error norm) in this worksheet: > with(linalg):with(LinearAlgebra):with(plots):SOS:=proc(x) local n,k; n:=vecdim(x); sum(x[k]^2,k=1..n); end;NJ2Next:=proc(f,x,x0) local val,jac, xn, xn1, val1, val2; val:=eval(subs(x=x0,f)); jac:=eval(jacobian(f,x),x=x0):jac:=inverse(jac); xn:=evalm(x0-jac&*val); val1:=eval(subs(x=xn,f));xn1:=evalm(xn-jac&*val1); val2:=eval(subs(x=xn1,f)); evalm(xn1-jac&*val2); end: > NJ2:=proc(f,x,x0,N) local k, sol, valf, va, ka;sol:=array(0..N):sol[0]:=x0:va:=array(1..N):ka:=array(1..N):valf:=eval(subs(x=x0,f)): for k from 1 to N do sol[k]:=NJ2Next(f,x,sol[k-1]): valf:=eval(subs(x=sol[k-1],f)): va[k]:=evalm(log(norm(sol[k]-sol[k-1],2))):ka[k]:=eval(k):err:=evalm(norm(sol[k]-sol[k-1],2)): od: print(ka):print(va) :plot([ka,va]):end:
I need to find out how to input the code for the above question. I know that I need to enter B minus C but how do I find the complement of a set in Maple?
Hi, I'm trying for some time to create an adaptive procedure which modify the interval of the argument of a function depending on its values. The problem is that I still can't make the "if statement" to work the way I want it. The problem is that the cycle initiate some step "p" in the beginning and it use it trough the cycle although the value of the variable "p" already is different than the initial one. After printing it out, the interval changes with the initial value and the value of p changes independently. Which implies that Maple stores the initial value somewhere and use it from there, not from the immediate memory.
Hi, I noticed that in the lastest version of TexMacs 1.0.6.5 that maple is supported. I downloaded it. It appears to run OK, but I can't get the maple mode to load. It shows up in the session selection. I would appreciate any help or pointers. My system: Win XP fully updated and patch, Maple 10 or Maple 7 or Maple V.5. Thanks Ralph Wallace K9RWW@ARRL.NET
How do I find the dual of this? Thanks for your attention! F := evalDG(E1*dt &t dx + E2*dt &t dy + E3*dt &t dz - E1*dx &t dt - B3*dx &t dy + B2*dx &t dz - E2*dy &t dt + B3*dy &t dx - B1*dy &t dz - E3*dz &t dt - B2*dz &t dx - B1*dz &t dy Jim Bowmer.
Dear Maple community, I want to produce an animation of a double-napped cone and the plane for my worksheet. Have spent a few months attempting this to no avail (and lost the kernal once or twice). Can anyone help? Assistance is much appreciated. Thank you. Audrey Kirfoot
I have problem with this double integral int int (sqrt(1-x^2-y^2)) and x^6+y^6
The attached file is an example of a set of equations that define a gearbox composed of 4 planetary gearsets. The first 4 equations are the kinematic constraints. Where "r" indicates the size the sun or ring gear and "w" is the speed of the sun, ring, or carrier. The next 4 equations simply define new parameters (R_n) for the ratio between the size of the ring and sun gears. The last 5 equations define how these gears are connected. My question is how can I (or is it possible) to complete this worksheet in a generic way to solve for the speeds of any of the nodes in terms of some defined list of nodes and the parameterized gearbox sizes? In this example, there are 3 degrees of freedom so I might wish to solve for w[R3] (a dependent variable) in terms of w[R1], w[S2], w[S4] (independent variables), and all the parameters. The generic part comes from needing to be able to change the last 5 equations (including adding or subtracting equations) and perhaps the list of dependent and independent variables.
Does anyone know how to get the openmaple api to compile in the presence of the package com.webobjects .foundation?
I have been trying to solve a larger problem (recovering data from blurred photos) and i have hit a snag. Consider an area in the plane, for example a circle with radius r=1 and centre C defined by some parametric equation, fx C=(t,0). This would give us an area A defined by (x-t)^2+y^2 <>. My aim is to construct a function f(x,y), where the value of f for any point (x,y) is equal to the range of t-values for which the point is inside the circle, with t being in the interval from 0 to T. I would really like som help in finding a method for finding f(x,y). The aim of this function would be to calculate how the image data from any single pixel would be spread over other pixels due to camera shake, with the camera shake being given by the parametric equation for C.
Hi guys, we've got a Fourier transform problem here. This is how we calculate Fourier coefficient: 4/pi*int(cos(3*x)*cos(n*x), x=0..Pi/2) (we try to expand cos(3*x)) so here we got the answer 12*cos((1/2)*Pi*n)/(Pi*(-9+n^2)) correcr answer, you see, is B3=1; but when we write this: 4/pi*int(cos(3*x)*cos(n*x), x=0..(1/2)*Pi)assuming n=3 the result shown is zero. we don't know how it works. because this value is evaluating correctly: 4/Pi*int(cos(3*x)*cos(3*x), x=0..(1/2)*Pi) the answer is right - 1.
I'm pretty new here, in maple and I think I'm not very good in math too but I would like to discover how to limit or set the domain of my x. Example: sin(x); I would like to set the type of the x to N (natural) and the type resulting to R (real). But after hours and hours of searches on google I subscribed to ask this to you, gentlemen :P Thank you everyone
First 1914 1915 1916 1917 1918 1919 1920 Last Page 1916 of 2053