## Parsing a value to Int, arrays in procedures...

First a thank you is in order for gkokovidis for helping me with a problem earlier. The brief story is I am trying to animate a certain box on a 30 degree slope. In order to put it together, I need to be able to turn it into a an array. In order to set an array, I need to be able to parse a certain value to an integer. Let me show you the code thus far. ``` restart: with(plottools): with(plots): c := rectangle([0,1], [1,0]): d := rectangle([1,2], [2,1]): e := rectangle([2,3], [3,2]): f := rectangle([3,4], [4,3]): g := rectangle([4,5], [5,4]): IPLaunch:=proc(v0,m) local g,a,t,S,h,T: ```

## 2D Animation: Animating A box on an angle....

Hello guys, long time no post. I'm back into the field of Maple, and i've become a tad rusty. I never worked too much with animating anyways, so i'm totally flogged on this aspect. My primary goal is to animate a block (or square), on a 30 degree ramp. The procedure and calculations for this is all set, so there is no need to worry about this, all i've got left to do, is learn to animate this. It needs to go up, and then go back down, with the initial velocity, and mass given by the user. There is no form of GUI, the user inputs the information from the worksheet itself. If anybody could provide a link they think would be useful, or help me by telling me what exactly I will need to learn to achieve this, that would be ace!

## Small math question for an exercice...

Hello, i had this exercice but i donèt understand what: f:R→R means? Does it mean fonction on 1st degre, like for exemple f(x)=3x+b or not Thank in advance

## document mode: expanded output differs from colaps...

Please, take a look at the following work sheet for maple 11.01: View 6742_test.mw on MapleNet or Download 6742_test.mw It contains two similar documents blocks with functional operator assignments: ` f:= proc (x) options operator, arrow; 3*x end proc` and ` g := proc (y) options operator, arrow; 3*y end proc` One is collapsed another is not and this is the only principal difference between them. Now the output in collapsed document block is `x -> 3 x` while in expanded `g := y -> 3 y`.

## roots...

I apologize if I've asked this question before. There's probably a very simple solution. I'm trying to get all roots over a range of 0-5 for x^3-e^x. ```with(Student[Calculus1]): for i to nops(Roots(x^3-exp(x),x=0..5)) do evalf(Roots(x^3-exp(x),x=0..5)[i]) end do``` returns 1.857183860 and 4.536403655 as expected, but seems kinda weird. ``` fsolve(x^3-exp(x))``` returns only the first find: 1.857183860 `fsolve(x^3-exp(x), x = 0 .. 5)` returns only the last find: 4.536403655

## " &^ " isn't working :S...

I'm attempting to exponentiate a really large number to a anther really large number and using only "^" will give me an overflow error. in my assignment it says to use " &^", but when i type this in, it attempts to exponentiate the ampersand symbol. I'm currently running on Maple 11... i think my problem is i don't know how to use &^ -thank you

## Seperating terms...

I have the following differential equation which governs a circuit analysis problem.. I would like to be able to seperate the V1(t) terms from the V2(t) terms and then move the V1(t) terms to the right hand side. Does anyone know how I can accomplish this with commands in Maple? I am using version 9.5. Thanks!!! Kirk (1/R1+1/R2)*(diff(V2(t), t))-(diff(V1(t), t))/R1+(V2(t)-V1(t))/L+C*(diff(V2(t), `\$`(t, 2))) = 0

## Does functions does accept array elements as param...

Hello. I've tried to create function with x[1] variable, but at any time I receive the following error: > f := x[1] -> x[1]; `Error, symbol or symbol::type or symbol:=expression expected in parameter list` What is the problem here? IIUC x[1] is the element 1 of array x. So does maple forbid usage of array elements in function definitions? Thank you for your time.

## How to set a domain / boundaries for an expression...

Hey Is it possible to specify a domain or boundaries for a function / expression and if so, how to do it? Here is an example of want I want to do: If I have the following function f(x)=x^2 and solve this problem solve(f(x)=4,x) I get the answers x=-2 or x=2, but I want to be able to specify that x has to be greater than 0 (0solve(f(x)=2,x)|x>0 but I can't in Maple. Generally I could use | to assign values and limitations to expressions.

## RSA Encrypting; Exponential Functions with very la...

How do i solve for C? C = 23481726526273849572 ^ 10982375684973 mod 2984652746 M e n I was told the proper command was C := M&\^e mod n; OR C := Power(M,e) mod n; but neither work.

## Exporting and Importing with Excel...

Hi, I'm somewhat new to Maple and I have a problem that I can't figure out. I have an excel file that performs a series of calculations and I would like to plot the values from a single cell as an input parameter cell is varied. Is there a way that I can use Maple to do this? I tried exporting a value to the input parameter cell, and then importing the value from the output cell, but the value that gets imported isn't changing as I vary the exported value. If I open the excel file itself, the values have changed, so I know the export is working, but it doesn't seem to want to import the new value from excel.

## How to simplify a complicated (with maple,maybe,bu...

In Maple,how can I simplify an expression to a better form ? Like this,for example: a^2+2ab+b^2 -> (a+b)^2 a^3+3a^2*b+3a*b^2+b^3 -> (a+b)^3 As I know,simplify() only groups similar terms and some simple computations, doesn't it ? So , how can we do like the above ? I think that Maple must be able to do that , because it's a required utility of a CAS.

## In Maple 11, the notation for tensors in the Physi...

I use Maple-11 , especially the Physics and Tensor, Diff Geometry packages, in a worksheet. How do I get to create tensors with a uniform notation for covariant and contravarint indices using Create or Define ? I need tensors like, for instance, A superscript i, subscript j, as in McCONNELL (Abs. Diff Calculus) How do we get a uniform notation for tensors on a worksheet using either the Physics or Diff Geom package ? Are Create and Define equivalent ? Can thye be made to print tensors with the same format, or appearance? Please give me a few examples. Thanks. Radhakrishna Prof Physics

## Differential Algebra package

by: Maple
How do I get anything to work with the differential algebra package with(diffalg)? Maple does not recognize its own commands and then makes things worse by crashing my computer. I've had to pull the plug on my computer at least twice. For instance, whenever I try to type "differential_ring" as soon as I type the underscore, Maple puts me into a subscript mode. Also, there seem to be TWO packages of commands for everything: e.g. with(linalg) and with(LinearAlgebra) with(diffalg) and with(DifferentialAlgebra) which overlap tremendously! Also, sometimes [[a,b],[c,d]] is recognized as a matrix and sometimes it is not. Changing it to