[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

# [How can I use "sine function" in lua script?]

- To: femm@yahoogroups.com
- Subject: [How can I use "sine function" in lua script?]
- From: "khmr8425" <khmr8425@yahoo.co.kr>
- Date: Mon, 16 Jun 2003 12:28:22 -0000
- User-agent: eGroups-EW/0.82

    Mr.David,

    Can I use sine or cosine function in lua file? I used like followings.
    But there are some errors. I want to know the reason why.

    [lua script]

    ...
    point_x = 50 * math_cos(delta*pi/180)
    point_y = 50 * math_sin(delta*pi/180)

    addnode(pointx, pointy)
    ...

    Could you tell me the reason and solution?

    Thanks.

    Kang ho

- Follow-Ups:
  - Re: [femm] [How can I use "sine function" in lua script?]
    - From: Tsarafidy RAMINOSOA <tsarafidy@yahoo.fr>
  - Re: [femm] [How can I use "sine function" in lua script?]
    - From: Tsarafidy RAMINOSOA <tsarafidy@yahoo.fr>

- Prev by Date: Re: [femm] transient analysis
- Next by Date: femm source
- Previous by thread: Re: [femm] High Temperature Magnet Wire (>240C)
- Next by thread: Re: [femm] [How can I use "sine function" in lua script?]
- Index(es):
  - Date
  - Thread