AliKhan

10 Reputation

8 Badges

13 years, 230 days

MaplePrimes Activity


These are replies submitted by AliKhan

Hi Douglas,

Thanks for the previous help.  I just need some help in making the function periodic over 2*Pi instead of alphad.

beta := 0.25;
alpha0 := 0.2580;
alphad := 0.545;
Bmax := 0.7;
B1 := (1-beta-beta*cos(Pi*alpha/(0.8*alpha0)))*Bmax;
B2 := Bmax;
B := piecewise( alpha<0.8*alpha0, B1, B2 );
plot( B, alpha=0..alphad );

I shall be very thankful if you could help me.

Looking forward to your kind reply

Kind Regards

A.Q.

I am very greatful for your kind replies. My program is working fine now with your help.

Kind Regards

A.Q

I am very greatful for your kind replies. My program is working fine now with your help.

Kind Regards

A.Q

Hi  Acer,

Thanks alot for the solution.  It not only worked but gave me insight to the problem as well.

Best Wishes

A.Q

 

Hi  Acer,

Thanks alot for the solution.  It not only worked but gave me insight to the problem as well.

Best Wishes

A.Q

 

Thanks Axel problem solved,

As you mentioned I have to define angles in radians rather than degrees.

 

Best Regards

A.Q

Thanks Axel problem solved,

As you mentioned I have to define angles in radians rather than degrees.

 

Best Regards

A.Q

@Markiyan Hirnyk @acer 7136

Hi Markiyan and Acer,

Thankyou for the answers,  but I think I didn't write my Question properly.  Sohere it is again: 

If I have a matrix A = [1 2 3] , I need Matrix B = [[A]  [A]  [A]]   lets assume Matrix A IS DIAGONAL.

In Matrix B = [[A] [A] [A]]  diagonal.

The method suggested by you guys cause over flow as it increase the size of matrix B.  I actually want matrix A= [3*3] in another matrix B= [3*3]   where each diagonal element is [A] as mentioned above.

Sorry if I got it wrong but actually I need above.

Best Regards

A.Q.

@Markiyan Hirnyk @acer 7136

Hi Markiyan and Acer,

Thankyou for the answers,  but I think I didn't write my Question properly.  Sohere it is again: 

If I have a matrix A = [1 2 3] , I need Matrix B = [[A]  [A]  [A]]   lets assume Matrix A IS DIAGONAL.

In Matrix B = [[A] [A] [A]]  diagonal.

The method suggested by you guys cause over flow as it increase the size of matrix B.  I actually want matrix A= [3*3] in another matrix B= [3*3]   where each diagonal element is [A] as mentioned above.

Sorry if I got it wrong but actually I need above.

Best Regards

A.Q.

I am really thankful to you Markiyan and Axel.  I can see my mistake now. 

Your advice is well taken and implemented.

Best Regards to both of you

A.Q

I am really thankful to you Markiyan and Axel.  I can see my mistake now. 

Your advice is well taken and implemented.

Best Regards to both of you

A.Q

helpmaple.mw

Thanks alot Markiyan for the procedure.  Is it possible to implement another if statement which i tried but it didn't worked.  Actually I implemented m*Pi = k*bo,    and m*Pi is not equal to k*bo

I am attaching the Maple file for your kind consideration.

Once again thanks for your time.

Best Regards

A.Q

 

helpmaple.mw

Thanks alot Markiyan for the procedure.  Is it possible to implement another if statement which i tried but it didn't worked.  Actually I implemented m*Pi = k*bo,    and m*Pi is not equal to k*bo

I am attaching the Maple file for your kind consideration.

Once again thanks for your time.

Best Regards

A.Q

 

Hi Markiyan,

 

Thanks for your reply.  K and P are integers.  P is number of machine poles, which are fixed i.e. can be 2, 4, 6,  where as value of K varies such that K / P = 1, 3 ,5 ,7 ,9, 11.   This means that if p = 2 then the value of K can be 2, 6, 10,14, 18 etc. 

Also only for K/P = 1,3,5,7,9, 11    eti is not equal to zero ,  where as for all other values of K/P = 2,4,6, 8....eti is zero.

Best Regards

A.Q

@Adri vanderMeer van der Meer 

Hi Adri vanderMeer van der Meer 

Your suggestion worked fine. Thanks alot for your time. Your effort is really appreciated.

Best Regards

A.Q.

 

1 2 3 4 5 6 Page 2 of 6