## 20 Reputation

2 years, 239 days

## How to run an executable program from Ma...

Maple 2021

Dear All,

I have an executable program which I have generated with Fortran. Is it possible to run such a program from Maple? It sounds a bit weird but that would simplify my computation, since I would not need to use scripts in Linux. Thank you very much.

Cheers.

## Problem with sum in linked functions...

Maple 2020

I am trying to define a sum which is obtained from linked functions (which also contain the sum command).

The problem is: if I modify the first function p and rerun the worksheet (except fot the restart command), then the changes do not affect the result. Does anyone know why? Thank you very much.

 >
 >
 (1)
 >
 (2)
 >
 (3)

If I modify p (I make it twice its initial value), then this does not affect the value of q and r

 >
 (4)
 >
 (5)
 >
 (6)

Why?
Even if I  unassign p, q and r, this does not work, either.

 >
 >
 (7)
 >
 (8)
 >
 (9)

Only if I restart, then I can modify p and change the rest of values

 >
 >
 (10)
 >
 (11)
 >
 (12)
 >
 >

## (Apparent) Problem between seq/sum and a...

Maple 2020

Hello,

My name is Francisco Navarro. I have a problem when using diff and alias, together with seq or sum.

A very simplified worksheet of what I mean would be

restart

alias(a1 = a1(r), a2 = a2(r), a3 = a3(r))

array1 := [a1, a2, a3]

array2 := [seq(cat(a, i), i = 1 .. 3)]

array1 - array2

This gives [0,0,0] so they are the same thing but, under differentiation, they do not behave the same way (so they are NOT exactly the same object for Maple)

diff(array1, r)

diff(array2, r)

which are different. Any idea of what is wrong with this?

I need to create long arrays with funcions that depend on several values and then differentiate those arrays. But clearly this approach does not work. Thank you for your answer.

Francisco

 Page 1 of 1
﻿