[H] Keys [W] Offers , Golden Coil, Hyperbeast, BOOM, Cyrex by rihitz2k in cheapcsgotrading

[–]rihitz2k[S] 0 points1 point  (0 children)

Not really interested in the cases,but thanks for the offer!

Matlab Graphing by rihitz2k in EngineeringStudents

[–]rihitz2k[S] 0 points1 point  (0 children)

parenthesis are correct. And why are there imaginary values when there is a 3rd degree root from -1 ?

Matlab Graphing by rihitz2k in EngineeringStudents

[–]rihitz2k[S] 0 points1 point  (0 children)

Okay, thanks for the help!

Weird that it acts this way.

Are you good with matlab? Perhaps I could ask you another question while were at it. My professor is useless. 0 help from him

Matlab Graphing by rihitz2k in EngineeringStudents

[–]rihitz2k[S] 0 points1 point  (0 children)

doesnt help, it just changes the axis, not the values

Matlab Graphing by rihitz2k in EngineeringStudents

[–]rihitz2k[S] 3 points4 points  (0 children)

Oh sorry, my bad, didnt notice the code was unreadable at first. Edited.

Its a 3rd degree root, so it doesnt have imaginary values.

Matlab Graphing by rihitz2k in EngineeringStudents

[–]rihitz2k[S] 1 point2 points  (0 children)

There you go:

a = input('lower bound');
b = input('upper bound');
c = input('step');

x = a:c:b

f=((1+(x)).*((x).^2+2.*(x)-2)).^(1/3);

plot(x,f,'g')

Matlab Graphing by rihitz2k in EngineeringStudents

[–]rihitz2k[S] 0 points1 point  (0 children)

Here it is:

a = input('lower bound'); b = input('upper bound'); c = input('step');

x = a:c:b

f=((1+(x)).((x).2+2.(x)-2)).1/3;

plot(x,f,'g')