Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Code for Polynomial raised to a power

Status
Not open for further replies.

haisrilatha

Newbie level 5
Joined
Mar 2, 2010
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,354
Hi,

I have a polynomial of the form H(Z)=(1+a*Z^c+Z^b)^10.

Could some one tell me, how to get this in simple polynomial form.
Is there a matlab or C code to get this?

Thanks in advance
Srik
 

you could do that very easly in old languge called Fortran,i think it is still being used,however the following is a C code
Code:
private void H(double Z)
{//you shold declare type of all variable here best is double type
bar1=1;
bar2=pow(a*z,c);
bar3=pow(z,b);
sum=bar1+bar2+bar3;
val=pow(sum,10);
return val;
}
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top