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

Notification

Icon
Error

Login


2 Pages12>
Options
Go to last post Go to first unread
Offline Vijay  
#1 Posted : 15 March 2018 06:42:55(UTC)
Vijay


Rank: Member

Groups: Registered
Joined: 15/03/2018(UTC)
Posts: 23
Canada
Location: Hamilton

Was thanked: 1 time(s) in 1 post(s)
Hi,

I am trying to to the following:

n:=[1..1200]

s(n):=(1200-n)/1200

I(n):200/(1+2/s(n))

"I get an error divisor matrix must be square"

any suggestions???

Regards,
Vijay

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

Offline Jean Giraud  
#2 Posted : 15 March 2018 08:16:37(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Vijay Go to Quoted Post
I am trying to do the following:


For God sake: what are you trying to do ?

Unknown.PNG

Offline Vijay  
#3 Posted : 15 March 2018 17:15:54(UTC)
Vijay


Rank: Member

Groups: Registered
Joined: 15/03/2018(UTC)
Posts: 23
Canada
Location: Hamilton

Was thanked: 1 time(s) in 1 post(s)
Thank you for the response, I am new to this forum, is there a way I can send a .pdf file of the work I had done in MathCad, this will help you see what I am trying to do in Smath.
Vijay
Offline Jean Giraud  
#4 Posted : 15 March 2018 18:10:39(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Vijay Go to Quoted Post
Thank you for the response, I am new to this forum, is there a way I can send a .pdf file of the work I had done in MathCad, this will help you see what I am trying to do in Smath.
Vijay

Try this much easier:
1. compact as much as you can your part of Mathcad
2. PrintScreen, paste in Paint, clean
3. In your C:\ ... create a directory "Snippets"
4. Try to save your Paint as *.PNG in your "Snippets"
5. then => add file from the Smath forum
by double click on the *.PNG in the Snippets directory.

Offline mkraska  
#5 Posted : 15 March 2018 19:29:30(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
you divide by a vector. If you want to apply that by element, then use the vectorize operator.

Alternatively, you can use implicit loops.

In any case make sure that you don't divide by zero.

To upload images or files, use the paperclip button ("Insert an existing...." )

matrix2.sm (20kb) downloaded 37 time(s).
matrix2.PNG
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Jean Giraud  
#6 Posted : 15 March 2018 20:29:42(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Maths Matrix Vijay.sm (12kb) downloaded 18 time(s).

Vijay.PNG
Offline Vijay  
#7 Posted : 15 March 2018 21:43:29(UTC)
Vijay


Rank: Member

Groups: Registered
Joined: 15/03/2018(UTC)
Posts: 23
Canada
Location: Hamilton

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Vijay Go to Quoted Post
Thank you for the response, I am new to this forum, is there a way I can send a .pdf file of the work I had done in MathCad, this will help you see what I am trying to do in Smath.
Vijay

Try this much easier:
1. compact as much as you can your part of Mathcad
2. PrintScreen, paste in Paint, clean
3. In your C:\ ... create a directory "Snippets"
4. Try to save your Paint as *.PNG in your "Snippets"
5. then => add file from the Smath forum
by double click on the *.PNG in the Snippets directory.



info.png
Offline Jean Giraud  
#8 Posted : 16 March 2018 00:34:53(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Too many parameters are missing to reproduce
r1, r2, E, x [u in Smath ... back to x in plot]

ViljayUnknown.PNG
Offline Vijay  
#9 Posted : 16 March 2018 05:21:52(UTC)
Vijay


Rank: Member

Groups: Registered
Joined: 15/03/2018(UTC)
Posts: 23
Canada
Location: Hamilton

Was thanked: 1 time(s) in 1 post(s)
Thank you for your efforts, that's what I am looking for. I am resending the data with all the information. I have a few questions on your previous post, there is an arrow above 2/s and I(u)^2.What is that function. Also, you have used the value of u = 13.5? Also, when you plot the graph, did you just type T(13.5) to get the graph?
data.png
Offline Jean Giraud  
#10 Posted : 16 March 2018 06:18:34(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Vijay Go to Quoted Post
Thank you for your efforts, that's what I am looking for.
I am re-sending the data with all the information.
I have a few questions on your previous post, there is an arrow above 2/s and I(u)^2.
What is that function. Also, you have used the value of u = 13.5?
Also, when you plot the graph, did you just type T(13.5) to get the graph?


1. The arrow is the vectorising operator [same as Mathcad].
2. 'u' is the wild parameter of same nature as r1,r2
3. The system runs over 'n' taken into account wrt the vectorised arguments.
4. Shift@ to get the plot region, type T(13.5) then [ to get the index operator
then type x. The Smath plot argument is 'x'. So, by indexing, it will plot over
the running 'x'. If you want to plot ln(x), just type ln(x) in the plot place holder.

I will try to code your latest information, but busy next three days.

Offline Jean Giraud  
#11 Posted : 16 March 2018 06:55:26(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
I will try to code your latest information

Now, you have another story [a different project].

Vijay(1).sm (27kb) downloaded 32 time(s).
Offline Davide Carpi  
#12 Posted : 16 March 2018 13:46:41(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
starting from the basics, hope it might help you Good

example.sm (18kb) downloaded 115 time(s).

Edited by user 16 March 2018 13:53:26(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 16/03/2018(UTC)
Offline Vijay  
#13 Posted : 16 March 2018 15:45:00(UTC)
Vijay


Rank: Member

Groups: Registered
Joined: 15/03/2018(UTC)
Posts: 23
Canada
Location: Hamilton

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
starting from the basics, hope it might help you Good

example.sm (18kb) downloaded 115 time(s).


Thank you so much, this really helps. May I suggest you post this as an example so everyone can benefit.

Regards,
Vijay Khatri
Offline Vijay  
#14 Posted : 16 March 2018 15:46:34(UTC)
Vijay


Rank: Member

Groups: Registered
Joined: 15/03/2018(UTC)
Posts: 23
Canada
Location: Hamilton

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Jean Giraud Go to Quoted Post
I will try to code your latest information

Now, you have another story [a different project].

Vijay(1).sm (27kb) downloaded 32 time(s).


Thank you, you have given me ideas that I can try to implement.

Edited by moderator 08 April 2018 13:57:51(UTC)  | Reason: marked as SOLVED

Offline Jean Giraud  
#15 Posted : 16 March 2018 16:18:52(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Back to original.

Vijay(1).sm (8kb) downloaded 20 time(s).
Offline Jean Giraud  
#16 Posted : 16 March 2018 18:49:43(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Vijay Go to Quoted Post
May I suggest you post this as an example so everyone can


You can mine Smath by visiting "Samples".
Without the circuit, it looks dead.
Offline Vijay  
#17 Posted : 16 March 2018 19:46:53(UTC)
Vijay


Rank: Member

Groups: Registered
Joined: 15/03/2018(UTC)
Posts: 23
Canada
Location: Hamilton

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Vijay Go to Quoted Post
May I suggest you post this as an example so everyone can


You can mine Smath by visiting "Samples".
Without the circuit, it looks dead.


Attached is another similar file for which I have included the circuit diagram. I am assuming this will be posted in samples in this foroum.Induction Motor.pngInduction motor 2.png
Offline CBG  
#18 Posted : 17 March 2018 01:47:03(UTC)
CBG


Rank: Advanced Member

Groups: Registered
Joined: 14/10/2015(UTC)
Posts: 308

Was thanked: 77 time(s) in 58 post(s)
Something like this?


V_cbg_Jean.png


Vijay_CBG_Jean.sm (14kb) downloaded 25 time(s).


Best Regards

Carlos
Offline Jean Giraud  
#19 Posted : 17 March 2018 02:55:29(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Vijay Go to Quoted Post
May I suggest you post this as an example


Visit => Samples => Motor Analysis [20180316, 19:52]

Drawing was sharpened to the possible limit,
if you have a better one, please offer.

Jean
Offline Vijay  
#20 Posted : 17 March 2018 03:05:16(UTC)
Vijay


Rank: Member

Groups: Registered
Joined: 15/03/2018(UTC)
Posts: 23
Canada
Location: Hamilton

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: CBG Go to Quoted Post
Something like this?


V_cbg_Jean.png


Vijay_CBG_Jean.sm (14kb) downloaded 25 time(s).


Best Regards

Carlos


Thank you Carlos, just one question, how did you create the vertical line with multiple entries.
line.png
Users browsing this topic
Guest
2 Pages12>
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.