
Math Software Math Software  Mathematica, Matlab, Calculators, Graphing Software 
 LinkBack  Thread Tools  Display Modes 
February 1st, 2012, 08:44 AM  #1 
Joined: Nov 2011 Posts: 8 Thanks: 0  Mathematica
I am trying to graph the equation 3Cos[t]+iSin[t] in Mathematica. I have no problem with the 3Cos[t]+Sin[t], but I cannot seem to make Mathematica recognize the i (nor I when I capitalize it). Is there some trick to getting it to plot this correctly? I am using the following: r[t_] = 3 Cos[t] + Sin[t]; PolarPlot[r[t], {t, Pi/2, Pi/2}] Thanks! 
February 1st, 2012, 01:40 PM  #2 
Global Moderator Joined: Nov 2006 From: UTC 5 Posts: 15,540 Thanks: 789 Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms  Re: Mathematica
i is I in Mathematica, but you don't need to use it at all if you're plotting parametrically: Code: ParametricPlot[{3 Cos[t], Sin[t]}, {t, Pi/2, Pi/2}] 
February 1st, 2012, 05:31 PM  #3 
Joined: Nov 2011 Posts: 8 Thanks: 0  Re: Mathematica
OK, it looks like I need to use parametricplot, but I need for the functions to be added together. I'll try that; thanks.

February 2nd, 2012, 09:17 AM  #4  
Global Moderator Joined: Nov 2006 From: UTC 5 Posts: 15,540 Thanks: 789 Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms  Re: Mathematica Quote:
Code: f[x_] := (*some complex function here*) ParametricPlot[{Re[f[t]], Im[f[t]]}, {t, Pi/2, Pi/2}]  

Tags 
mathematica 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Integral for Mathematica  The_Fool  Calculus  5  July 10th, 2012 12:24 PM 
mathematica  DANDIS  Math Software  7  February 14th, 2012 10:27 AM 
Mathematica  sivela  Math Software  2  April 15th, 2010 03:30 PM 
Mathematica Help  carXunderwater  Math Software  1  March 4th, 2010 09:12 PM 
Mathematica  billymac00  Number Theory  5  September 6th, 2009 09:59 PM 