Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline justinroose  
#1 Posted : 11 May 2011 23:56:14(UTC)
justinroose

Rank: Newbie

Groups: Registered
Joined: 11/05/2011(UTC)
Posts: 3
Location: florida

I have found the need to graph the torque of an engine compared to the crank angle ie, torque vs. angle graph. I have been unable to figure out how make the torque equation be the y axis. I think having that ability is necessary component for software like this. I am very happy with this software but it needs to be able to have the same graphing capabilities as mathcad to be a replacement for mathcad.
thanks and i look forward to hearing a responce!
Justin

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline oscampo  
#2 Posted : 12 May 2011 16:31:34(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 248
Man
Colombia
Location: Cali, Colombia

Was thanked: 87 time(s) in 66 post(s)
Please, could you post your code and desired result?
Thanks
Offline justinroose  
#3 Posted : 12 May 2011 17:43:24(UTC)
justinroose

Rank: Newbie

Groups: Registered
Joined: 11/05/2011(UTC)
Posts: 3
Location: florida

I cannot post the code becuase I am out of the office today. However, the question is, does smath have the ability to have a user defined function for both axes of a 2d graph. For example, I want to have the x-axis (crank angle) start at 0 and go until some maximum value (which i noticed someone else has mentioned in this forum) and on the y axis be the function I created that is dependent on the x-axis.

x-axis is a range of values x=1,2..360
y-axis is a function of x y=f(x)
Offline oscampo  
#4 Posted : 12 May 2011 18:36:14(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 248
Man
Colombia
Location: Cali, Colombia

Was thanked: 87 time(s) in 66 post(s)
ok, maybe that is you want:
Offline justinroose  
#5 Posted : 12 May 2011 19:12:27(UTC)
justinroose

Rank: Newbie

Groups: Registered
Joined: 11/05/2011(UTC)
Posts: 3
Location: florida

This could work. But What is the point of having the subscripts of x1 and x2 under the M. That may be a dumb question but i am new to this software. And I would have thought to type Mx2 in plot. why wouldn't you? You had just put M.
Offline oscampo  
#6 Posted : 12 May 2011 20:08:50(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 248
Man
Colombia
Location: Cali, Colombia

Was thanked: 87 time(s) in 66 post(s)
Ok, M is a matrix where the first column are x values and the second column are y values. Observe that in "for..." cycle I assign values row by row to each column. The plot function plots the first column as "x" and the second one as "y".
Offline geeknick  
#7 Posted : 10 November 2011 21:17:11(UTC)
geeknick

Rank: Newbie

Groups: Registered
Joined: 05/11/2011(UTC)
Posts: 3
Location: Hidden

I have tried this graphing function but i failed many times so please have a look :

1. The problem statement, all variables and given/known data

plot x(t) = 10cos((pi*t)-(pi/4))

2. Relevant equations

pi/4 is the shift to the right

10 is the amplitude of the graph

pi is the radian frequency

3. The attempt at a solution

so i got the amplitude and shift to the right by pi/4 part but as for the radian frequency, my plot doesnt seem right. does pi mean that one cos wave occurs in a pi interval? thanks in advance
1. The problem statement, all variables and given/known data



2. Relevant equations



3. The attempt at a solution
Offline oscampo  
#8 Posted : 11 November 2011 07:42:34(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 248
Man
Colombia
Location: Cali, Colombia

Was thanked: 87 time(s) in 66 post(s)
Your link send to wordpress page with no description about the function you are talking in your post, please fix it for help you...
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.