Functions in Scilab [TUTORIAL]

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 52

  • @ankurpriyadarshi2032
    @ankurpriyadarshi2032 6 лет назад +1

    thanks for making such simple video on scilab . keep making more on scilab.

  • @brunomatos3088
    @brunomatos3088 8 лет назад +3

    Very good! Your videos on scilab are great. Continue to make them!

  • @zaheerabass7955
    @zaheerabass7955 7 лет назад

    its really helpful and simple way of teaching...thanks alot...may god bless u...

  • @giEdriuZzs
    @giEdriuZzs 8 лет назад +5

    Thanks for good lesson, it's very helpful!

  • @jameserayburn
    @jameserayburn 2 года назад

    Perfect! Thanks for sharing!

  • @nawaurielpunabantu9141
    @nawaurielpunabantu9141 3 года назад

    Life Saver! Thank you!

  • @ProfeARios
    @ProfeARios 3 года назад

    I love this Scilab videos!!! Thank you so much for sharing! Regards from the Republic of Panamá.

  • @HAGARCIA
    @HAGARCIA 4 года назад +1

    Obrigado, Phys Whiz! Eureka! Entro com largura e comprimento; saio com área. Entro com o raio; saio com Superfície e Volume! E também a função que cria um vetor v(i) é muito esclarecedora!

  • @abhishekmittal4765
    @abhishekmittal4765 5 лет назад

    A highly useful lecture for me! Thank you sir

  • @DigitalCodings
    @DigitalCodings 3 года назад

    Can I use scilab in visual studio with c#.

  • @muhammadlabib3496
    @muhammadlabib3496 4 года назад

    do you know to find significant figures by scilab?

  • @vikrammohite8673
    @vikrammohite8673 3 года назад

    hi there
    i m facing problem in putting variables in function.
    //Theoretical air Required//
    function TA=TheroticalAirrequired(C,H,O,S)
    TA=[11.6*C +{34.8*(H-(O/8))}+4.35*S]/100;
    endfunction
    TheroticalAirrequired(36,2.6,7.3,0.6)
    Undefined variable: TheroticalAirrequired

  • @ridercolindu59
    @ridercolindu59 7 лет назад +3

    Helpful for students like me

  • @yogeshkumarchaudhary5681
    @yogeshkumarchaudhary5681 4 года назад

    great work. Appreciations

  • @aqilali5225
    @aqilali5225 5 лет назад +1

    amazing lecture for me

  • @charrysalce4580
    @charrysalce4580 8 лет назад +4

    Thank you. Very helpful for beginners like me.

    • @PhysWhiz
      @PhysWhiz  8 лет назад

      You're welcome. Happy to help.

  • @victorprohorov6201
    @victorprohorov6201 4 года назад

    would you tell me please. how can I find roots of function which had been taken with function "derivat"?

  • @ritviksahu2354
    @ritviksahu2354 4 года назад +1

    Thanks bro..

  • @HoroRH
    @HoroRH 4 года назад

    As you have defined the sphere() function results as Sur,Vol (from left to right), why does Scilab return them in reverse order? (ie. vol, then sur, in the output)

    • @ManasSharma07
      @ManasSharma07 4 года назад

      Probably just a matter of convention. Disclaimer: I haven't used Scilab in ages, so that could have changed now.

  • @ashishsinghal7713
    @ashishsinghal7713 4 года назад

    Thanks a lot

  • @theviralvideos542
    @theviralvideos542 7 лет назад

    You have nice collection of game Manas!! :D

  • @saviofernandes1926
    @saviofernandes1926 8 лет назад +1

    Is there any way where I declare one output variable in the square bracket but not defining the other one and the getting the result?

    • @PhysWhiz
      @PhysWhiz  8 лет назад

      +Savio Fernandes yeah i guess you could define a function such as this:
      deff('[a,b]=f(x)','a=x');
      and then you could simply call it by:
      f(5)
      and you would get the answer that is 5.
      Note: This would only work if you have defined the value for the first output variable.
      If I make the definition as :
      deff('[a,b]=f(x)','b=x');
      and now if you call it by:
      f(3) then you would get an error

    • @PhysWhiz
      @PhysWhiz  8 лет назад +1

      +Savio Fernandes Also, if you define a function as :
      deff('[a,b]=f(x)','a=x');
      and then call it by:
      [a,b]=f(7) then also you would get an error.
      Note: if you are curious then you should probably check these videos on functions:
      1. ruclips.net/video/O5h8nhDeJwU/видео.html (for defining function using deff)
      2. ruclips.net/video/vliMutqXKF8/видео.html (this video is for variable no. of input arguments however you could apply the same logic for output variables)

    • @saviofernandes1926
      @saviofernandes1926 8 лет назад

      Thank you Sir, it will be of great use to me.

  • @dinaraperera7450
    @dinaraperera7450 6 лет назад

    how can i Write a script to display the Pascal’s Triangle

  • @bharatkumarmajhi9166
    @bharatkumarmajhi9166 5 лет назад

    Thank you sir

  • @esachinpatro_official
    @esachinpatro_official 6 лет назад

    Can you send me program for solution of second order differential equation harmonic oscillator?

  • @WmTyndale
    @WmTyndale 8 лет назад

    Nice and clear thanks!

    • @PhysWhiz
      @PhysWhiz  8 лет назад

      +WmTyndale appreciate it.

  • @chinmaytawade1607
    @chinmaytawade1607 7 лет назад

    how to clear D....if we are getting D in answer???????????

  • @sanghamitrabeuria2231
    @sanghamitrabeuria2231 7 лет назад +1

    Its fine.

  • @vfcmcfcjcm
    @vfcmcfcjcm 8 лет назад

    how can i show for the user the result of the funciona?

    • @PhysWhiz
      @PhysWhiz  8 лет назад

      +Victor Melo first of all you need to define a function as shown in the video above.
      Then execute it. Once executed you can call it from the console.
      Let's say the function is sum(x,y). To call it from the console you need to type 'sum(2,4)' where 2&4 are the values for the arguments x & y. Do you get it???

    • @vfcmcfcjcm
      @vfcmcfcjcm 8 лет назад

      I want to write a program that right after I put the values on input will show me the values of my function. That's a exercise of my College. Thank you for the answer!

    • @PhysWhiz
      @PhysWhiz  8 лет назад

      okay. So as far as I understand, what you want is that let's say you need to make a program that calculates the are of a rectangle.
      And I guess you want the output to look like the following:
      Enter breadth: 5
      Enter Length: 6
      Area is : 30
      If you want something like that then you shoud just write a normal program without a function. You can use the 'input' function of scilab to ask for the values from user and then use the 'disp' function of Scilab to display the result.
      I hope that's what you wanted. And I'm sorry if this is not the answer you're looking for.

    • @vfcmcfcjcm
      @vfcmcfcjcm 8 лет назад

      +Physics Tutorials i know that's useless but it's in my test, anyway thank you!

  • @ta3113ta
    @ta3113ta 5 лет назад

    Thank You

  • @YS-fh4mp
    @YS-fh4mp 5 лет назад

    Thanks for your video. By the way, I wanna say you also play win 11, yes? hahaha

    • @PhysWhiz
      @PhysWhiz  5 лет назад

      What's win 11?

    • @YS-fh4mp
      @YS-fh4mp 5 лет назад

      Phys Whiz it's a soccor game produced by Konami.

    • @PhysWhiz
      @PhysWhiz  5 лет назад +1

      @@YS-fh4mpDo you mean Winning 11

    • @YS-fh4mp
      @YS-fh4mp 5 лет назад

      Phys Whiz yes😄

  • @puja.reetika5044
    @puja.reetika5044 4 года назад

    Sir viva question