MaplePrimes Questions

Code
 

L:={NULL}:
for q from 11 to 100
check:=0:
for p from 1 to 200
n:=length(p):
for i from 1 to n
a[i]:=p[i]:
s:=sum(a[i],i=2..n)
if p-a[1]-10*s*modq=0 then
check:=check+1:
if check=200 then
L:=L{op(L),q}:
print(L);

and the pseudocode:
1. L is the empty set
2. for q from 11 to 100
3. check=0
4. for p from 1 to 200
5. find n, the number of digits of p
6. for i from 1 to n
7. find a[i], the ith digit of p

Dear,

How could we know which command to use to do a specific task such as:  "convert boolean value to {1,0}" . I know we could use evalhf() but if we search with keyword "convert true false to 0 1 " in the Maple help then we may not find the right command

Using the Online Help is a solution but I want to know an offline solution since I am not always with the Internet. Did anyone wrote a summary sheet with the content such as : (i.e a list of all commands with keywords for searching)

Ok, this mut have been asked a million times, but for the heck I cannot find how to do it:

I have a data file with many columns of data, delimiited, and many rows. I can read this in with ImportMatrix no sweat. The generated matrix has (row,column) format, i.e. matrix[1] is row 1 etc.

Now I want to plot two arbitrary columns against each other, say matrix[][19] vs matrix[][13] (the 19th column vs the 13. column). The data are monotonic in each vector so I can...

Hi.

I have defined a function "norma" that calculates the normal vector in a point "r" in a given surface:

norma:=proc(l,r) local nu;

if r[1]>= l/2 then nu:=[r[1]-l/2,r[2]];

elif r[1]<=-l/2 then nu:=[r[1]+l/2,r[2]];

...

Now I need to calculate an integral using this function varyign the parameter "r" but I get this error message:

> int(norma(l,[cos(x), sin(x)]), x = -1.5768 .. -.5638);
Error, (in norma) cannot...

I'm using Maple 15 with Suse Linux 11.4

Export to latex produces a tex file which, when conveted by pdflatex contains all sorts of errors. The page margins are very large, parts are missing, the title appears alone on a page, lists of equations don't have line breaks so, for a long list you find just the central part going from edge to edge of the page.

I gave up using "Export to latex" on earlier versions. I had thought that Maple 15 might be better, but it seems worse.

Hi,

Q1) Could you pls tell me how can I show in maple the curve (x^2+y^2)^2=x^2-y^2 in the form of

x(t)=cos(t)/1+sin^2*t and y(t)=sint*cost/1+sin^2*t.

Q2) how can I express sin^2(4x) in terms of powers of cosx.

a) cos^3(3x)cos(5x) as a linear combination of cosines of multiples of x.

how can i solve matrix ?

for example :

Matrix(4, 4, {(1, 1) = 18, (1, 2) = -45, (1, 3) = 36, (1, 4) = -9, (2, 1) = 9, (2, 2) = -18, (2, 3) = 9, (2, 4) = 0, (3, 1) = 0, (3, 2) = 9, (3, 3) = -18, (3, 4) = 9, (4, 1) = -9, (4, 2) = 36, (4, 3) = -45, (4, 4) = 18})  

I have a module to overload the * operator for the function f such that:

a*f(b,c,d) = f(a*b,a*c,a*d)

FPackage :=  module()option package;    export `*`;    `*` :=    overload    (      [        proc(a::algebraic, b::specfunc(anything, f))          option overload;          map2(:-`*`, a, b...

Hi 

Could uou pls tell me how to do a parametric representation of the curve in maple where curve is define as

(x^2+y^2)^2=x^2-y^2 . Secondly how to plot this curve.

m(x[i]) = product(x[i]-x[j], j = 1 .. N)              i <> j

ex:

for N=4

hey,i'm trying to divide the values i get using this 

y := 23.45*sin((360*(x+284))/365):

seq(evalf(y), x = 1..365); 

by some imported data....how do i do this?any good advice will be appreciated.Thank you in advance

Judith

How to find the sum
sum(tan((1/180)*(4*j-3)*Pi), j = 1 .. 45)

 explicitly? Of course, with Maple.

Hello,

I am trying to solve a system of six equations with the command solve. Unfortunately I only get the message "Warning, solution may have been lost". If i try to solve only five equations, i get an answer, that could be right.

My questins is: Is there a mistake in the syntax of solve? Or, is my equations system wrong?

 

Thank you!!!

 

Maple code:

> restart;
> FZ := 0 = FLZ+F11Z+F12Z+F21Z+F22Z+F31Z+F32Z;

I've this task to deliver to my teacher, yet when i try to open up my maple file, it appears to be corrupted (i've no idea why) i used it last night without any problems? ...

 

The only part that opens is the headline...

 

Need assistance!

Rapport_1.mw

 

 

Ive tried several commands, but none of them will give me a response

Here are the points im working with:

u = (2, -3, 1), v = (-4, 3, 3), w = (2, 4, 6)

And here are the several commands ive tried to use, with "with(LinearAlgebra), with(geom3d)" implemented before:

1. 

volume([2, -3, 1], [-4, 3, 3], [2, 4, 6], parallelepiped)

> with(plots, display);
> volume;
display(parallelepiped, axes = normal, scaling = constrained, orientation = ...
First 1809 1810 1811 1812 1813 1814 1815 Last Page 1811 of 2434