## 260 Reputation

10 years, 164 days

## Social Networks and Content at Maplesoft.com

PH.D in Applied Mathematics

## Error in Running...

Hi

I tried to run the above code but the following error was seen;

"Error, (in LinearAlgebra:-Transpose) invalid input: LinearAlgebra:-Transpose expects its 1st argument, A, to be of type {Matrix, Vector, scalar} but received Array(1..4, 0..2, [[...],[...],[...],[...]], datatype = anything)"

This is the exactly form which i need.

## Corrected form...

I have corrected the integral form.

Note that B(t) contains b_{i,j}(t)'s which are polynomilas. so is B(s), and my mean of integral is the correct form of  derivative and product to transpose  in piecewise functions.

## thanks...

Thanks a lot. it works great..

## Other Example...

NonLinearOTB3.mws

best wishes

Ph.D Candidate

Applied Mathematics Department

## Thanks...

Dear Acer,

Hi and so thanks for your nice and astute answer. That is the most correct answer for me and i am gareful of your guides.

Best wishes

Mahmood

## write program...

so please write the hole program for me...

I have tried following but i am not sure  about its trust
> f(t):=t:
> for n from 1 to N do
> for m from 0 to M-1 do
> if m=0 then  c[n,m]:=subs(t=(n-1)*tj/N,(1/(N^m*m!))*(f(t))); else
> c[n,m]:=subs(t=(n-1)*tj/N,(1/(N^m*m!))*diff(f(t),t\$ m));
> fi;od;
> od;
> seq(seq(c[n,m],m=0..M-1),n=1..N);

## ok...

@ThU
ok....but the problem is that m starts from 0 and diff(f(t),t\$0); is undefined.

## Thanks...

Hi dear and thanks a lot for your hint...

I have corrected the program and the result is  as one as i want

thanks of all

## not responding...

@Preben Alsholm
Hi and thanks

unfortunately your mentioned  code doesn't respond correctly

the solution by your code is:

Unapply_code.mws

so please consider it and tell me what to do more...

Best wishes

regards

## not plotting...

Dear Kitonum

I want to have the valuse in table for errors but:

RTABLE(254847692,MATRIX([[t, `g2(t) - g1(t)`], [`----------`,
`----------`], [.1, g2(.1)-g1(.1)], [.2, g2(.2)-g1(.2)], [.3,
is not as one as i want.

how can i do that?

## Thanks...

@Kitonum
Hi and thanks a lot. this is exactly identic with my mean of problem

## Thanks...

@Preben Alsholm
thanks a lot...that is right

## error again...

Error, (in HybrFunc) invalid input: OB[m,3] uses a 3rd argument, t, which is missing

thanks

## Correct...

Dear;

I think the correct code should be:

P:=<seq(`<|>`(Matrix(M) \$ N-1-k,E,H \$ k),k=N-1..0,-1)>;

 1 2 3 4 5 Page 2 of 5
﻿