blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7782005d63e8a281ca0d432f6b3b3175025bb72b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH2/EX2.31/2_31.sce | 60c78c31881557d88f3275118f3706759a14d7f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | 2_31.sce | //Network Theorem 1
//page no-2.34
//example2.30
disp("Applying KCL to node a:");
disp("0.5*Va-0.2*Vb = 34.2");....//equation 1
disp("Applying KCL to node b:");
disp("0.1*Va-0.4*Vb = -32.4");...//equation 2
disp("Solving equations 1 and 2");...//solving equations in matrix form
A=[0.5 -0.2;0.1 -0.4];
B=[34.2 -... |
15ed27bf8c8750532daba138edd664d9cfc43e1f | 9126fc60220eefdef9ef56c8ab92d04aea0a4a6a | /test1.tst | 280cf208217fee00476800327754d6fa881b1a51 | [] | no_license | anjanesh/sitra | 1f75b3a94a9f19303ee932333973256fdf960de8 | 6270e80b556b035cb255bb9ae343646163f9c8ec | refs/heads/main | 2023-03-09T00:22:34.336729 | 2021-02-20T02:49:46 | 2021-02-20T02:49:46 | 340,545,336 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | tst | test1.tst | "Untitled"
"Lab","Lab 1","D:\Anjanesh\Sitra\Lab 1.lab"
|
6dd66e289d198206a763da095afeec8b8f8a7ef1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH11/EX11.5/exa11_5.sce | ba35dd7d4daead611ac5fa1a7f97c1ad787de016 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 874 | sce | exa11_5.sce | //Example 11-5//
//compute output voltage for the circuit in fig. 11-13//
clc
//clears the console//
clear
//clears all existing variables//
disp('switch configuration ABCD is 0110 ')
E=8
RA=1
RB=2
RC=4
RD=8
Rf=1
//Given all the resistance values in kilo ohms and the common voltage E in volts//
disp('the ... |
a3a6e3ce8aec13654cca9b5f105919ac4f113ac9 | 0f1f220f69c42220ef04954615f32bfa967fb649 | /webTestFiles/testXML/testFormField.tst | 6fc2063789934a02a33b1532940bb3b4f660ff38 | [
"MIT"
] | permissive | claudio-tortorelli/Bellerofonte | edc2fed23225128c4a5519edbf19f5eb2b675d75 | 0a60184d9f750437e037a601833965713afb2cd3 | refs/heads/main | 2023-08-27T10:18:50.022426 | 2021-11-07T13:45:56 | 2021-11-07T13:45:56 | 425,290,210 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,906 | tst | testFormField.tst | <orbilio.webTest.bellerofonte.Macro_test ref-id="0">
<object-fields>
<_name>
<string>testFormField.txt</string>
</_name>
<_tests>
<java.util.Vector ref-id="1">
<object-fields>
<elementData>
<java.lang.Object-array length="10" ref-id="2">
<orbilio.web... |
7251a3d01fec18003d45d441a0a352f5153624ab | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testsurfcolormode.sce | 5ee62ba7e47272f735454ff97963c983bd277ea0 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | testsurfcolormode.sce | // evaluate over a grid
x=[-1:0.2:1];y=x;[X,Y]=meshgrid(x,y);
Z=X.^2-Y.^2;
// change the color table
clf;
F=gcf();F.color_map=jetcolormap(8);
// surface display
subplot(221)
surf(x,y,Z)
E=gce();E.color_mode=0;
xtitle('color_mode=0')
subplot(222)
surf(x,y,Z)
E=gce();E.color_mode=1;
xtitle('color_mode=1 (by default)')
s... |
2cc0ac6e9864df6d3b2e62a4e6c34bd655932144 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH12/EX12.5/EX12_5.sce | 7d0041a6a779af9144084e430539e9e487c897e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | EX12_5.sce | // Example12.5 // to determine the output time and duty cycle of V/T converter
clc;
clear;
close;
Vin = 5 ;
C = 0.1*10^-6 ;
R = 10*10^3 ;
C1 = 100*10^-6 ;
// The output time of a V/T converter is given as
T = (7.5*C1)/(Vin) ;
disp('The output time of a V/T converter is =' +string(T)+ ' sec');
TH = 0.07... |
5ec7e52fe2012499ea184cf0c5315c80825b6098 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH21/EX21.8/Ex21_8.sce | 05fd27851e1b5ebec2067e17500adaa94a41056e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Ex21_8.sce | clc;
VCC=10;
R1=800;
R2=200;
R3=600;
R4=200;
R5=100;
R6=1*10**3;
B=100;
B2=B;
VBE=0.7;
RE=200;
VR2=VCC*(R2/(R1+R2));
IE1=(VR2-VBE)/RE;
IC1=IE1;
disp('mA',IC1*10**3,"IC1=");
VC1=VCC-IC1*R3;
VE1=IE1*R4;
VCE1=VC1-VE1;
disp('V',VCE1*1,"VCE1=");
VE2=VC1-(-VBE);
IE2=(VCC-VE2)/R6;
IC2=IE2;
VC2=IC2*R5;
... |
13593c9753c503563539100061f046d06e0c4728 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.24/Ch05Ex24.sce | 7bbd47c964bed23f0e9a9ffb63a600c4425f32f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | Ch05Ex24.sce | // Scilab code Ex5.24: Pg:232 (2008)
clc;clear;
Lambda = 5000e-08; //Mean wavelength of light, cm
theta = 10e-03; // Smallest angular separation resolvable by a telescope objective, degree
theta = %pi/180*(1/1000); // The smallest angular separation resolvable by a telescope objective, radian
// As theta ... |
7c9cb00e554019d7f93e6d5d42e7d23f8dfc6ab3 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1208.sce | dd9c7784f3acb305e073d757ead4c974f70fb60b | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 4,008 | sce | map1208.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1208" Width="13" Height="11" CellSize="40" BackgroundSize="1" Background="9plus.png">
<Cell Name="幽灵-右" X="1" Y="1" arg0="3" arg1="1.00" />
<Cell Name="md-履带-左" X="2" Y="1" arg0="2" />
<Cell Name="md-履带-左" X="3" Y="1" arg0="2" />
<Cell Name="md-履带-左" X="4" Y=... |
c684bcb618068763a14c944414196d114694cef0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.4/example15_4.sce | 13b39c7975b55042fb4528b339eb182f36ac81ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | example15_4.sce | //Example 15.4
//Transfer function of Gyroscope
clear;clc;
xdel(winsid());
//in case of Gyroscope the equation is
disp("(J*s^2+B*s+K)theta(s)=H*w(s)")
//therefore
disp("theta(s)/w(s)=H/J*s^2+B*s+K")
|
71da173473adde56a2390838a6f29462beeaef9c | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH9/EX9.17/EX9_17.sce | 1b77c850225732b365c49b3baac7387547c1663a | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 413 | sce | EX9_17.sce | clc;funcprot(0);//Example 9.17
//Initilisation of Variables
N1=3;..//Number of shields in first scenario
N2=2;..//Number of shields in second scenario
//calculations
Q3byQ0=1/(N1+1)
Pr1=1-(Q3byQ0)
Q2byQ0=1/(N2+1)
Pr2=1-(Q2byQ0)
disp(Pr1*100,"Percentage reduction in heat transfer rate when Number of shields is ... |
c7ffd524fb4484178b7c7d0b836ebc7219c8fe58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH9/EX9.6/Ex9_6.sce | 68bf8a400be679d64f35358e2179eb43ff0021d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 968 | sce | Ex9_6.sce | clc
minc = 0.01 // minimum clearance in mm
bs = 25 // basic size in mm
maxc = 0.02 // maximum clearance in mm
x=poly(0,'x')
y=1.5*x
x=roots(y+0.01+x-0.02)
y=horner(y,x)
// hole basis system
low_h1 = bs // low limit of hole in mm
high_h1 = bs+y // high limit of hole in mm
u_s = low_h1-minc // upper limit of s... |
cf089b3d42403d5da3a6569b26b7a2072d9887d8 | 903f095ccddc6ac2990aff02be300cd6229a2a99 | /practical-classes/single-value-decomposition-lena.sce | 4496661d24cf0b33db266d77d3a2bd28190f61cd | [] | no_license | pdelfino/linear-algebra-numerical-methods | dfb39b8500eba28cc884ecb31a948f51517f1503 | 065353c0be82db134506a7b4922e08cfe77d918c | refs/heads/master | 2021-06-10T20:45:46.654441 | 2020-06-15T11:48:01 | 2020-06-15T11:48:01 | 98,227,297 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,527 | sce | single-value-decomposition-lena.sce | //a função recebe A, a matrix que representa a imagem e o parâmetro p
//o parâmetro p indica o percentual de valores positivos
//quanto maior esse percentual mais nítida é a imagem
function compressed_image=compress_im(A,b)
//para limpar o "canvas" vou limpar o ambiente da imagem anterior
// os comandos abaixo... |
7430ae73ff93e4b199b5eb53784f85107fd28339 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.42/5_42.sce | c895266a7dbb66a73d426c6c94c9226248b04808 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | 5_42.sce | printf('If the yield of NH3 is 12.2mol percent,x=0.122');
x=0.122;//yield of NH3 in moles//
Kp=1.48*10^-5;//Kp value of the equation in atm^-2//
P=sqrt((256*x^2)/(27*Kp*(1-x)^4));//pressure of the system in atm//
printf('\nPressure of the system=P=%fatm',P);
|
c808f9b0042e582445c3072edeb53f1380f2d196 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH13/EX13.3/Chap13_Ex3.sce | 7fb0be57a0413af9e1b7b57bc62d4d9d8361a5d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,812 | sce | Chap13_Ex3.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-13, Example 3, Page 332
//Title: Effect of Particle Size on h
//==========================================================================================================
clear
clc
//INPUT
rho... |
80ca7a184d15be7ab9407d38aa199ec5766d77bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH1/EX1.2/Ex1_2.sce | 20dfb34b9040bab10ca5083dbff079e62f314e94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | Ex1_2.sce | //Initilization of variables
P=100 //lb
Q=120 //lb
theta=((30*%pi)/180) //radians
//Calculations
R_x=Q*cos(theta) //lb
R_y=Q*sin(theta)-P //lb
R=sqrt(R_x^2+R_y^2) //lb Triangle law
Theta_1=((atan(R_y/R_x))*180)/%pi //degrees
Theta_R=360+Theta_1 //degrees
//Result
clc
printf('The resultant of the force syste... |
04632078484efd11968f40896fc96978e0d5cb7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH7/EX7.4/Ex7_4.sce | 6d40a2d49c2879c69f4d4cd924c9fe35df53e223 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex7_4.sce | // Example 7.4
clc;
clear;
close;
// Given data
format('v',5);
fc= 1*10^3;// in Hz
alpha= 1.414;
C= 0.1*10^-6;// in F (assume)
C_desh= C*alpha^2/4;// in F
C_desh= C_desh*10^6;// in µF
disp("The value of C'' is : "+string(C_desh)+" µF");
C_desh= C_desh*10^-6;// in F
R_desh= 1/(2*%pi*fc*sqrt(C*C_desh));// in... |
9937d60249c0377ed8fa7cdaa98d41c66c8569dc | b4980b761e4b88d097e526fe06ebef2383d3d613 | /lab08/Loop.tst | 1c31754caf7887169b667173dbeeb525bd9fb437 | [] | no_license | Vineeth-Kada/Computer-Systems-Design | aa42b053c709fdbf06713dc3e1e2649faa02c65d | 4c05e393e057ffb1540c74a53a0cb17f7129d8f8 | refs/heads/main | 2023-06-17T06:27:02.442583 | 2021-07-15T10:43:37 | 2021-07-15T10:43:37 | 289,896,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,012 | tst | Loop.tst | load Computer.hdl,
compare-to Loop.cmp,
output-file Loop.out,
output-list time%S1.7.1 reset%D1.8.1 RAM64[16]%D1.8.1 RAM64[17]%D1.8.1 RAM64[18]%D1.8.1;
ROM32K load Loop.hack,
/*** Sum of first 10 natural numbers ********************************************************/
// N = 10
set RAM64[16] 10,
tick, tock;
// i... |
0790303b01d6fa62ec008c8467ebb13ce43c9cb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH2/EX2.4.b/Solved_Ex2_4b.sce | 534c6e36b836d051db7c1c069f5d4b63a0b29c52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | Solved_Ex2_4b.sce | //find power of periodic signal x(t)=exp(j(2t+pi/4))
clc;
//To plot signal*************************//
t=-5:0.01:5;
x=exp(%i*(2.*t+%pi/4));//given signal
plot(t,x);
//***************************************//
t=-50:0.01:50
x=exp(%i*(2.*t+%pi/4));
T=length(t);
//To calculate Energy
xsq=abs(x).^2;//adds squar... |
769b7c0d2487efff682d37cf47d743e9c9022a41 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/Self_tuning_controller/ConventionalTuning_Vikas/PIControllersetpointchange/clientwrite.sce | c05a1edf0f30de30cdc02ac9197812b7e072fe32 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,818 | sce | clientwrite.sce | 0.10000E+00 0.10000E+01 0.00000E+00 0.25100E+03
0.10000E+01 0.10000E+01 0.18434E+02 0.10000E+03
0.20000E+01 0.20000E+01 0.22054E+02 0.10000E+03
0.30000E+01 0.30000E+01 0.22049E+02 0.10000E+03
0.40000E+01 0.40000E+01 0.22446E+02 0.10000E+03
0.50000E+01 0.50000E+01 0.22844E+02 0.10000E+03
0.60000E+01 0.60000E+01 0.... |
464b4c28ff03c2720c2651a884ac4e602c3067da | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/xdess/gr_menu.sci | 5a477e196868c97515b55716cae9fba9164b4170 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,558 | sci | gr_menu.sci | function [sd]=gr_menu(sd,flag,noframe)
getf('SCI/macros/xdess/gr_macros.sci','c');
deff('[modek]=clearmode()',['modek=xget(''alufunction'')';
'xset(''alufunction'',6);']);
deff('[]=modeback(x)','xset(''alufunction'',x);');
symbtb=['1 +';
'2 x';
'3 + circle ';
'4 full diamon... |
586c3cf40d7b7906f23a42b040ae8b7511832803 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH3/EX3.3/example3_3.sce | 3e1d146f8de7096a68e82b229066f754b0d40fd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | example3_3.sce | clear
clc
//Example 3.3 PRESSURE IN TANK WITH TWO FLUIDS
//Hydrostatic equation(oil), p1/g_oil +z1=p2/g_oil +z2
p1=0; //[Pa]
z1=3; //[m]
z2=2.1; //[m]
g_oil=0.8*9810; //specific weight of oil[N/m^3]
p2=(p1+(z1-z2)*g_oil)/10^3//[kPa] (factor 1kPa/10^3Pa)
//At oil-water interface, p2_oil=p2_water
//Hydrostati... |
4824d606eacc6dcdcbd2fab54bd72d98f4e507b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH5/EX5.6/Ex_5_6.sce | c3f24452f8c22bfe52660cac26084865ec4ddd37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | Ex_5_6.sce | // Example 5.6;//ratio of threshold current at differnt temperatures
clc;
close;
clear;
To1=160;//Absolute temperature in Kelvin
To=55;//in Kelvin
T1=293;//T=20 in Kelvin
T2=353;//T=80 in Kelvin
J1=exp((T2-T1)/To1);//threshold current ration for AlGaAs laser
J2=exp((T2-T1)/To);//threshold current RATIO FOR InG... |
a2ebb126065eb52306ccf5163100809393260957 | 61da6be21995bc4b23f268b03fc13d0a33d818f3 | /test/tag-comments.tst | 2c898d4e18659a187eb1a3aadd5067bd4f87e0fc | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | warmchang/reposurgeon | 657fe5f63fdd0db560b46ccff11478c73c69b150 | 43e553d9ff0ad4a9c39f4c94b58856f2e5c99297 | refs/heads/master | 2020-12-08T19:41:16.920673 | 2020-01-10T14:58:55 | 2020-01-10T14:58:55 | 233,076,382 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | tst | tag-comments.tst | ## Test tag comment handling
set echo
read <tag-comments.fi
tags
names
write -
|
51a03d2c24fdc2c18068772e9d6c90974a64531d | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH3/EX3.3.1/3_3_1.sce | 70180971b83ed66966fa26de026c336253422345 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | 3_3_1.sce | disp('the co-efficient matrix is:')
a=[5 7;2 4]
disp(a,'A=')
disp('the RHS is:')
b=[3;1]
disp(b)
disp('applying cramers rule')
disp('replacing first column of matrix A by b')
A1=[3 7;1 4]
disp(A1,'A1=')
disp('replacing second column of matrix A by b')
A2=[5 3;2 1]
disp(A2,'A2=')
disp('x1=det(A1)/det(A)')
... |
40399062da854d4198e93f32a4bb8113c57dd30e | 0a4cafa69c07e332ff5b08ee3ae6ba748ac8f400 | /FullInp.tst | 9a7dc3675cf3c3fb63c9a6827a0b507ab4b9c581 | [] | no_license | BalticPinguin/FreeWilly | cc64801dd712b1c895c8246a99ab614e51e3c907 | 3add8a65b1ff47376690dde760242e10d0db4411 | refs/heads/master | 2020-04-12T09:03:35.329817 | 2017-01-16T21:37:45 | 2017-01-16T21:37:45 | 47,401,566 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,775 | tst | FullInp.tst | # This is a sample input-file for FreeWilly
formulation=power #original,squared, symmetric, root, power
power=0.99 # power of D in the basis functions
nev = 15 # any integer
pot = grid # which potential: grid, screen, none, coul
Energy =0.05 # photon energy (1eV = 0.0367493 )
infinite =true # whe... |
a597a2a3e335bd6517599be562676e6d7a184fe5 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/retrato.sce | 6f84e1d3bad2fb1ca5bac238ecba1a788c232836 | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,888 | sce | retrato.sce | //Lista de exercício 3 - 2º Tarefa
//Dados
pi = %pi;
r_e = 0.001; // raio da esfera em metros
r = 1; // raio da pista circular
rho = 7850; //densidade do aço em kg/m^3
g = 9.8; //m/s^2
m = (4/3)*pi*(r_e^3)*7850 // massa em kg
//Condições 1
theta_1 = [0;0];
//Condições 2
theta_2 = [-pi/180;0];
//Condições 3
theta_3 = ... |
1ea1c68f04153eca7f6855751981d44358448d6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH14/EX14.4/14_4.sce | a6718775babeb9bf5220a40babe4830859568f61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | 14_4.sce | clc
//initialisation of variables
T= 100 //F
T1= 2000 //F
W= 3.2*10^4 //Btu/hr ft^2
W1= 140 //Btu/hr ft^2
s= 0.17*10^-8 //Btu/hr ft^2 R^4
//CALCULATIONS
alpha= W/(s*(T1+460)^4)
b= W1/(s*(T+460)^4)
//RESULTS
printf ('Average absorptivity of the body at 100 F = %.2f ',alpha)
printf (' \n Average absorptivity ... |
76037a8c319574fee548de863948e9245082763c | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH2/EX2.2/ex_2_2.sce | 2016599fe8e30a22a461512517074502c81f702f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | ex_2_2.sce | //example 2.2//
clc
//clears the screen//
clear
//clears all existing variables//
a=14276;
b=18490;
c=a+b;
if c<32767 then
disp('Yes 16 bit arithmetic operation can be used to add given numbers')
else
disp('NO 16 bit arithmetic operation can be used to add given numbers')
end |
446cf6d18ccaca306df54d0e91892851e229fc89 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.16_1.tst | 8566b09a2dd22590e9f27ea05a1b7c8b8a23f934 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,018 | tst | bow.16_1.tst | 16 6:1.0 14:0.02631578947368421 17:0.014925373134328358 25:0.5 237:1.0 581:0.25 1142:1.0
16 6:1.0 10:0.2 13:0.5 14:0.02631578947368421 17:0.014925373134328358 45:0.5 60:0.25 74:0.14285714285714285 84:0.16666666666666666 121:0.3333333333333333 159:0.25 188:0.5 208:1.0 375:1.0 408:1.0 409:1.0 837:1.0 1064:1.0 1089:1.0 10... |
7d86147d0d0db0b53e565324abcafb6c3f4b1d95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.11/Ex13_11.sce | b2abc9d3fc47dd469947bf911da79b45d8562488 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | Ex13_11.sce | //EX13_11 PG-13.8
clc
clear
printf("Binary equivalent of 3FD hexadecimal is :")
a=['3FD']
x=hex2dec(a)
y=dec2bin(x)
printf("00%s",y)
|
66ddc19e1b9db06c2e951b7a14fc83faf670c489 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH14/EX14.6/14_6_Bacteria_Biofilm.sce | 92b514f05b24e68587ee9fe7f692f9c02d50e0d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | 14_6_Bacteria_Biofilm.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 14.6 Page 909 \n')// Example 14.6
// Maximum Thickness of a bacteria laden biofilm, that may be siccessfully treated
Dab = 2*10^-12 ;//[m^2/s] Diffusion coefficient
Ca0 = 4*10^-3 ;//[k... |
35f24f72e864c2ce09ae1911ae9d02d1425b9d62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.15/exa12_15.sce | 6af9c6d798afafe1a5d297a21db082d0f8d8564b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | exa12_15.sce | //caption:stability_using_Routh-hurwitz_criterion
//example 12.15
//page 529
s=%s;
syms K
G=sym('K/(s*(s^2+s+1)*(s+5)');
H=1;
CH=(s*(s^2+s+1)*(s+5)+K)
disp('=0',CH,"characterstics_eq,CH=")
c0=coeffs(CH,'s',0);
c1=coeffs(CH,'s',1);
c2=coeffs(CH,'s',2);
c3=coeffs(CH,'s',3);
c4=coeffs(CH,'s',4);
b=[c0 c1 c2... |
a57180190f8d0e4d12802f2a066a45e019e501c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH7/EX7.1/1.sce | e6acfaa631e9053fdac871ba11c061da1fc2229c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | 1.sce | // Caption: Finding stator current and efficiency
clear;
close;
clc;
V_app=220/sqrt(3);//applied voltage to neutral
I_s=127/6.75;//stator current
pf=cos(.565);//in radians
speed=120/6;// synchronous speed in r/s
S_r=(1-.02)*speed*60;//rotor spped in r/min
P_g=3*18.8^2*5.41;
P=.98*5740;//internal mechanical ... |
ed274f842eee12927a11e68b7d2960f48874ff25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH17/EX17.5/Ex17_5.sce | 7aa4c8f73094f0b6020ad845af21c7f9aee32569 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,339 | sce | Ex17_5.sce | // Initilization of variables
M=250 // kg // mass of the boat
M_1=50 // kg // mass of the man
M_2=75 // kg // mass of the man
v=4 // m/s // relative velocity of man w.r.t boat
// Calculations
// (a)
// Let the increase in the velocity or the final velocity of the boat when TWO MEN DIVE SIMULTANEOUSLY is given b... |
a3345c29ef9a137028a54af86bef127ca59534ec | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH12/EX12.5.1/ex_12_5_1.sce | 0dbd4f2cf1032b6e9d512d119b733244b9c6c718 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | ex_12_5_1.sce | errcatch(-1,"stop");mode(2);//Example 12.5.1 // chart speed
;
;
//given data :
f=50;// frequency in Hz
period=1/f;
t=5;//in mm/cycle
chart_speed=t/period;;
disp(chart_speed,"chart speed(mm/s) = ")
exit();
|
68de372f5a04e3d3da9164605660d0fe15b26035 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/exec.sci | e16d04843b4aba46db338a6d27e53ca708859df6 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 995 | sci | exec.sci | function varargout = exec(varargin)
if argn(2)==0 then
nomearq = uigetfile("*.*",pwd());
assingnin
macrovar(nomearq);
execold(mtlbSci_translate(nomearq),-1);
else
macrovar(varargin(1));
select argn(2)
case 1 then
if isdir(varargin(1)) then
execold(vararg... |
98950a95c395acb769789a93d35570e956e190bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH7/EX7.9/Example_7_9.sce | a98b9d194ee04dc7580a23ea50a264177026e489 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,648 | sce | Example_7_9.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
function[Q]=MCPH(T0,T,A,B,C,D)
t=T/T0;
Q=(A+((B/2)*T0*(t+1))+((C/3)*T0*T0*((t^2)+t+1))+(D/(t*T0*T0)))
funcprot(0);
endfunction
function[Q]=MCPS(T0,T,A,B,C,... |
cf37c95d7717b19aaffee43097435e89e3b34eff | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/elem/floor.sci | 21f1458c5cd13235719961a6091c2b55869d75a4 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sci | floor.sci | function [t]=floor(x)
t=-round(-x+(0.5-%eps)*ones(x))
|
57a614d2a3f49a6d8553f3d184c0d2212e37eb8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH10/EX10.2/exa10_2.sce | 7ba3322867ae753d21135514124086cf33d79142 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | exa10_2.sce | // Example 10-2
// Gain matrix using ppol and Ackermanns formula
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "<path to dependencies>";
// exec("ackermann.sci");
A = [0 1 0; 0 0 1;-1 -5 -6];
B = [0; 0; 1];
P = [-2 + %i*4 , -2 - %i*4, -10];
K = ackermann(A,B,P);disp(K,'using ackerman... |
abbd37dbfdbfb2a0ed2f1f8d274ea70b92de5e00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH4/EX4.4/Chap4_Ex4_R1.sce | da2129791e8c55761fa3d9d43c40f64d046bbed7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,563 | sce | Chap4_Ex4_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-4,Example 4,Page 97
//Title:Energy transferred and final state masses of liquid and vapour
//================================================================================================================
clear
... |
beb16895374bf6896393b9b533bdf9fa4d63708d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH4/EX4.5/Ex4_5.sce | 421b99a2d43ef71ccd687513ac5fdfc0f00b0e10 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | Ex4_5.sce | errcatch(-1,"stop");mode(2);//Caption:Find the Efficiency
//Exa:4.5
;
;
P=1200*1000;//in watts
R_1=2;//in ohms
R_2=0.03;//in ohms
P_iron=20000;//in watts
V_1p=6600;//in volts
V_2p=1100/sqrt(3);//in volts
a=V_1p/V_2p;
R_o2=R_2+(R_1/a^2);//in ohms
I_2p=P/(sqrt(3)*1100);//in amperes
P_cu=3*R_o2*I_2p^2;
P_t... |
f6ce4174c6bb1a2c0456fa85cdb150683e5c33b2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH4/EX4.20/Example4_20.sce | 7a83e79c832d2b684f88993e58e3c60aa35f1bc3 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Example4_20.sce | errcatch(-1,"stop");mode(2);//Example 4.20
//Program to Compute the 8-point DFT of given Sequence
//x[n]=[2,2,2,2,1,1,1,1] using DIT, radix-2,FFT Algorithm.
;
;
;
x = [2,2,2,2,1,1,1,1];
//FFT Computation
X = fft (x , -1);
disp(X,'X(z) = ');
exit();
|
95273a3898d4a1367a41c38056457e23dbea331b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/%g2sci.sci | 463066ab7bfba738822071866d1cf68cbf9ec886 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sci | %g2sci.sci | function [stk,txt,top]=%g2sci()
//
//!
// Copyright INRIA
txt=[]
s2=stk(top);s1=stk(top-1);
[e1,te1]=s1(1:2);
[e2,te2]=s2(1:2);
if s1(3)=='1'&s1(4)=='1' then
stk=list(e1+'|'+e2,'2',s2(3),s2(4),s1(5))
elseif s2(3)=='1'&s2(4)=='1' then
stk=list(e1+'|'+e2,'2',s1(3),s1(4),s1(5))
else
stk=list(e1+'|'+e2,'2',s1(3),s1(4... |
00739c60cc97baa3592763bc51a54fe0b5c285e0 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.flare-10-1tra/result9s0.tst | 3b3785f6a9f59649aacb630dea9a384ee98052b1 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 949 | tst | result9s0.tst | @relation flare
@attribute LargestSpotSize{A,R,S,X,K,H}
@attribute SpotDistribution{X,O,I,C}
@attribute Activity{1,2}
@attribute Evolution{1,2,3}
@attribute Prev24Hour{1,2,3}
@attribute HistComplex{1,2}
@attribute BecomeHist{1,2}
@attribute Area{1,2}
@attribute C-class{0,1,2,3,4,5,6,7,8}
@attribute M-class{0,1,2,3,4,5}... |
4909b7d9ed05652f3395df8d5eada9608f3e669d | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Six Shooter Tracking.sce | 03d76689028f85435804aaa3e3ccbe198cf2be7d | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53,510 | sce | Six Shooter Tracking.sce | Name=Six Shooter Tracking
PlayerCharacters=TileFrenzy Challenger
BotCharacters=TileFrenzyStrafing Cube.bot;TileFrenzyStrafing Sphere.bot;Dodgey.bot;Quaker Bot Long Strafes.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=TileFrenzy Challenger
AddedBots=Dodgey.bot;Quaker Bot Long Strafes.bot;Quaker Bot Long Straf... |
3a420a5ae849b2717ac1cc6af1887fe5378cbf17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH3/EX3.3/3.sce | 616eb2d432c8ae3d67008fd8ad996e7a64f7566a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | 3.sce | // Implementation of example 3.3
// Basic and Applied Thermodynamics by P.K.Nag
// page 55
clc
clear
p=101.325 // (atmospheric pressure in kN/m^2)
N=10000 // no. of revolutions
T=1.275 // (torque in Nm)
d=0.6 //(diameter in m)
l=0.8 //(distance moved in m)
w1=(2*%pi*T*N)/1000; // work done by stirring d... |
603814c10ec03c1dd445e2cc50fbe86d174539c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH9/EX9.2.2/9_2_2.sce | 99bdc13fb868557ba3b895eec057ce3af3311410 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 9_2_2.sce | clc
//initialisation of variables
A= 600 //ft^2
W= 40 //lbf/ft^2
n= 75 //percent
r= 10
v= 300 //miles/hour
//CALCULATIONS
L= W*A
D= L/r
P= D*v*5280/(60*33000)
hp= P*100/n
//RESULTS
printf (' brake horse-power of the engines= %.f h.p',hp)
|
1b88abf0cdf9770bd89450c0a32164e716f0eac0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH14/EX14.6/Ex14_6.sce | 3a45ad90054c86ee628e79ce80a323bc48547d97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | Ex14_6.sce | clc;
close();
clear();
//page no 476
//prob no. 14.6
L=320*10^-9; //H/m
C=90*10^-12; //F/m
v=1/sqrt(L*C); //from Ex14.5
Er=(3*10^8/v)^2;
mprintf('The dielectic constant is, Er = %.2f \n',Er);
|
6da88ea708e3706ec6cb00d8ce466cb2450f2277 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH11/EX11.2/11_2.sce | 8e47035de295b682f7d3c8d4acad105bfe6b67ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,109 | sce | 11_2.sce | //To Determine the fault components of the system
//Page 606
clc;
clear;
L=4; //Total Length of the cable
Lov=3;//Length of Overhead Cable
Lu=L-Lov; //Length of Underground Cable
Nct=2; //Number of circuit terminations
T=10; //No of years for which the record is shown
Fov=2; // Faults Per Mile of the Over He... |
32cc03938fd0177d7a8ae1efb7c416118ae5f694 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits__J._Paul_2045.zip/Electronic_Devices_And_Circuits__J._Paul_2045/CH13/EX13.10/Ex13_10.sce | 44d8e2050f252073e6dee6f1f97e650547758511 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | Ex13_10.sce | errcatch(-1,"stop");mode(2);//pagenumber 582 example 10
y=2.5;//divisions
y1=1.25;//divisions
y=y1/y;
w=asind(y);
disp("phase angle = "+string((w))+"degre");
exit();
|
2e97c45452615ad4b87eba7e9f1fe8dc1871a363 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH7/EX7.15/Exa7_15.sce | 6385f3f3e0b176c0ba040897957bcb4ffdb55641 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | Exa7_15.sce | //Exa 7.15
clc;
clear;
close;
//Given data :
format('v',7);
//VD in section AC from RHS: VD1=(40+x)*0.02+0.17*x
//VD in section AC from LHS: VD2=(350-x)*0.015+(150-x)*0.03
//Equating two VDs we get
//x*0.02+0.17*x+0.015*x+x*0.03=350*0.015+150*0.03-40*0.02
x=(350*0.015+150*0.03-40*0.02)/0.082;//in A
VB=500-(... |
b084c6082b1321d28cbeffdf301a3ffa3b7a051e | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH7/EX7.3.1/7_3_1.sce | e460144a1b9acb5398f4f18d836ab7dc8f043d53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sce | 7_3_1.sce | clc;
//page no 227
//prob no. 7.3.1
//An RF receiver tunes signal in 550-1600kHz with IF=455kHz
fs_min=550*10^3;fs_max=1600*10^3;IF=455*10^3;
//Determination of freq tuning ranges
fo_min=fs_min+IF;
fo_max=fs_max+IF;
disp('Hz',fo_max,'fo_max=','Hz',fo_min,'fo_min=','The freq tuning range is');
Rf=(fo_max)/(fo_m... |
2c5a6f829962b5661eb32be2ace06857ae1ff891 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/matsys.tst | 293eb287d206b5514cc114372dc79396dc1589e2 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,422 | tst | matsys.tst | // test of matsys functions
clear
// debug
if debug()<>0 then pause,end
debug(4)
if debug()<>4 then pause,end
debug(0)
//who
a=33;bbb=-1;
vars=who('get');
if or(vars(1:2)<>['bbb';'a']) then pause,end
//lines
ln=lines();lines(30);ln1=lines();
if ln1(2)<>30 then pause,end
lines(45,70);ln1=lines();
if or(ln1<>[70,45]) ... |
733e098b15f60fff8c3ebeced679a42f1ea65f76 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH3/EX3.20/ex_3_20.sce | a2b73b06a739734715568b1240c578760073d4f0 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | ex_3_20.sce | errcatch(-1,"stop");mode(2);//Example 3.20:Resistance
;
;
//given data :
R2=600;// in ohm
R3=400;// in ohm
R4=1000;// in ohm
R1=(R2*R3/R4);
disp(R1,"Unknown resistance,R1(ohm) = ")
exit();
|
9e46c0f4be69e8986bc7521379d3370a62e90bbf | c3280ada260999123d75347caeaad1c7fc9f8266 | /kode/naif-gauss.sci | 2879c87fb57d1aa8a3cb94f66d76c8a7c17d956b | [] | no_license | dikisp/Kuliah-MetNum | 3bd01f0573f2a18eb320a716da841ca3ec69930b | 7775f5e0251457702fb3e24c88483df0ff37fee7 | refs/heads/master | 2020-03-23T06:41:49.307866 | 2018-07-17T03:13:25 | 2018-07-17T03:13:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sci | naif-gauss.sci | function nilaix=naif_gauss(A,b)
M=[A b];
[n,m]=size(M);
for j = 1:n-1
for i = j+1:n
M(i,:)=-M(i,j)/M(j,j)*M(j,:)+M(i,:);
end
end
A=M(1:n,1:n);b=M(:,n+1);
nilaix=sub_balik(A,b);
endfunction
function solusi=sub_balik(A,b)
[n,m]=size(A);//A hrs matriks segitiga atas ... |
703ce7d99037dca253dd1eefc148eb20920c6929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH1/EX1.1/Ex1_1.sce | 0495f46163c8ca248d23e47ee4332a09a9f79042 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | Ex1_1.sce | //Ex 1.1
clc;clear;close;
VDD=1.8;//V
IREF=50;//micro A
IO=IREF;//micro A
L=0.5;//micro m
W=5;//micro m
Vt=0.5;//V
Kn_dash=250;//micro A/V^2
VGS=sqrt(IO/(1/2*Kn_dash*(W/L)))+Vt;//V
disp(VGS,"Value of VGS(V) : ");
R=(VDD-VGS)/(IREF*10^-6);//ohm
disp(R/1000,"Value of R(kohm) : ");
VDS2=VGS-Vt;//V
VO=VDS2;//... |
324b2be241135a8d3caf18317631c0b3a9fd0c93 | 190d7a52f0fed9737c92e627958e4c1b6c7ddb55 | /Robotics/Scilab Code/PlotOccupancyMap.sce | ad246586e004b013f5f5fb979e42fd13cc6bcc73 | [] | no_license | Jsw-4111/SchoolWork | 3389c9179d088b26c98a3410180dc3f2569bfdf3 | a9a6e345fc30bfa79a7e2bb4848655cb301facee | refs/heads/master | 2023-04-12T01:11:02.216417 | 2021-04-25T21:21:06 | 2021-04-25T21:21:06 | 300,689,960 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,268 | sce | PlotOccupancyMap.sce | function [ ] = PlotOccupancyMap( OccupancyMap , GoalLocation)
//UNTITLED Summary of this function goes here
// Detailed explanation goes here
scaling = 10;
[rows, cols] = size(OccupancyMap);
VisualMap = zeros((rows-1) * scaling, (cols-1)*scaling);
for i=1:rows
for j=1:cols
if(OccupancyMap(i,j) == 1)
... |
13fbef2c5f1d4abb61e239e7fc0f7ddc5066c087 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/lab2xyz.sci | fc875102ddf897999cb2609788f731ed71d3c3a3 | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 1,717 | sci | lab2xyz.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
cfddf365bb68e00ef3077bf4d1b4f3ff1a637517 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH2/EX2.2/ex2_2.sce | 4f797ec4638ae67e8c82cf953ed24b87cdf7609a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | ex2_2.sce | clc;
warning('off');
printf("\n\n example2.2 - pg29");
// given
dely=0.1; //[m] - distance between two parralel plates
delUx=0.3; //[m/sec] - velocity of a plate
mu=0.001; //[kg/m*sec] - viscosity
// using the formula tauyx=F/A=-mu*(delUx/dely)
tauyx=-mu*(delUx/dely);
printf("\n\n the momentum flux and the ... |
23429d96cade3adcaee0bbd1b2898a35649e72e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH9/EX9.10/Ch09Ex10.sce | 319a7117c4ba49df8a621b70152d1c9f7fed35b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | Ch09Ex10.sce | // Scilab code Ex9.10 Page:287 (2006)
clc; clear;
alpha = 0.5; // Isotopic exponent of Osmium
T_c = 0.655; // Transition temperature of Osmium, K
M = 190.2; // Mass of Osmium, amu
K = T_c*M^alpha; // K is the constant of proportionality
printf("\nThe value of constant of proportionality = %4.2f ", ... |
215dd68f50a2599a1c1ff15839aca7ac481ff2a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH29/EX29.2/29_2.sce | 3e2822d65c3b0bf1eaa3f9edf19d00c931bda885 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | 29_2.sce | clear//
//Variables
Av = 100.0 //Voltage gain
A1v = 20.0 //Voltage gain with negative feedback
//Calculation
beta = (Av/A1v - 1) / Av //feedback ratio
//Result
printf("\n The percentage of the negative feedback is %0.3f",beta * 100)
|
1b9afd4973f05520a912841fc693126f134ff25e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/percent/%bhs.sci | b4e9347d9648b1e866c5f346f60bc6c61c1c646d | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 41 | sci | %bhs.sci | function r=%bhs(a,b)
// r=a&b
r=a&(b<>0)
|
44206f2b8c33b458ee0c8eed71c890471fc57c0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH17/EX17.2/C17P2.sce | d04e0e1f2fe94c81a2230c7c694d39be2c750495 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,888 | sce | C17P2.sce | clear
clc
//to find total energy stored in the system
//to find maximum speed and magnitude of maximum acceleration of block
//to find position,velocity and acceleration of block at t = 0.215s
// GIVEN:
//refer to problem 17-1
//mass of boby
M = 1.65//in Kg
//increase in length
y = 7.33//in cm
//mass of bl... |
48e6a100b6b52c955d31474d3e86c83e9e842d04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.15/ex8_15.sce | 741fad04f4c70ce6d194c9cabf6da776242c7800 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,678 | sce | ex8_15.sce | //Page Number: 8.15
//Example 8.15
clc;
//Given Noise figure
NF=5; //dB
F=(10^(NF/10));
Ta=1050; //Kelvin
//(a) Overall Noise Figure
T=20; // degree Celsius
To=T+273; //Kelvin
//Effective Noise temperature
Te=((F-1)*To);
disp('K',Te,'Effective Noise temperature');
//Overall effective Noise Temper... |
df1432d811255401673c90066702fe78e5d37bb7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_I._A._Khan_1962.zip/Fluid_Mechanics_I._A._Khan_1962/CH1/EX1.3/example1_3.sce | 06d91261b812e1a1314ab349e9d0c6fd901a4409 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | example1_3.sce | errcatch(-1,"stop");mode(2);//example 1.3
//page 13
; funcprot(0);
//initialissation of variable
Beta1=2.28*10^9;
Beta2=2.94*10^9;
Beta_av=Beta1/2+Beta2/2;
delP=1034-103.4;
V=10;
delV=-delP/Beta_av*V;
disp(-delV,"net reduction of volume(m^3)=");
exit();
|
d753908fa4bba91b1f3c7f2d945d0c790cc08653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH6/EX6.15/6_15.sce | d9a4a5d5071026f7dd9b742953f37ebd4b6da4f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | 6_15.sce | //euler's maclaurin formula
//example 6.15
//page 233
clc;clear;close;
y=[0 1 0];
h=%pi/4;
I=h*(y(1)+2*y(2)+y(3))/2+(h^2)/12+(h^4)/720;
printf(' the value of integrand with h=%f is : %f\n\n',h,I)
h=%pi/8;
y=[0 sin(%pi/8) sin(%pi*2/8) sin(%pi*3/8) sin(%pi*4/8)]
I=h*(y(1)+2*y(2)+2*y(3)+2*y(4)+y(5))/2+(h^2)/2+(h... |
33b308a82303fd201393b6d8d969f9f0c3d2e281 | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/113.ted.sci | af0ed448e22a4a3d61dc36ad321de51e7ed1afe3 | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 22,123 | sci | 113.ted.sci | that splendid music the coming in music the elephant march from aida is the music i ve chosen for my funeral and you can see why it s triumphal i wo n t feel anything but if i could i would feel triumphal at having lived at all and at having lived on this splendid planet and having been given the opportunity to underst... |
990f29e9a26349eddbcc5111c01b2b1170421577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH23/EX23.6/23_06.sce | 7c73cd3aeedb545bae1413c8413ca2caf5226fa3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | 23_06.sce | //Chapter 23, Problem 6
clc;
f=50; //supply frequency
nr=1200/60; //rotor speed
s=4; //slip
ns=(nr/(1-(s/100))); //synchronous speed
printf("synchronous speed = %d rev/min",ns*60);
|
63c89470ee718360ad32943be51a0eb408db8b0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH4/EX4.8/Ex_4_8.sce | db59fe24357647ba3729ec45c9d986648d258bd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | Ex_4_8.sce | //Example 4_8
clc;
clear;close;
//Given data:
Ra=0.5;//ohm
L=16/1000;//H
V=200;//V
E=100;//V
Imin=10;//A
t_off=2/1000;//s
//Solution :
i=(V-E)/Ra*[1-exp(-Ra*t_off/L)]+Imin*exp(-Ra*t_off/L);//A
disp(i,"Current at instant of turn off(A)");
t=5/1000;//s
i_dash=i*exp(-Ra*t/L);//A
disp(i_dash,"Current 5 ... |
f134551f3161b44dc345669677304c16b1e5f5f5 | e0197fcfd617703d698031b6b63b9d2bb71de120 | /test/Data/haar_separate.tst | d650b7c417ccdb1e9526f75d70cc2a3fc4fa9799 | [] | no_license | smurphy8/wavelets | daab2317301a99b14f9dc02164265faba4972fa3 | 353e3f43de33b992ef78cf7ce49655f763546d08 | refs/heads/master | 2021-01-01T17:48:01.435770 | 2014-03-18T15:51:15 | 2014-03-18T15:51:15 | 15,212,497 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 20,697 | tst | haar_separate.tst | [[-4.442678308949565e-3,-4.44180136228133e-3,-4.440223003697032e-3,-4.437943482407662e-3,-4.434963158396137e-3,-4.431282502295207e-3,-4.426902095423575e-3,-4.42182262917179e-3,-4.416044906008082e-3,-4.409569838101049e-3,-4.402398448049377e-3,-4.394531868208387e-3,-4.385971341063402e-3,-4.376718217878314e-3,-4.366773960... |
816cec7d35f6c16b56babf48cebb3a88db7e9bba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.69/Ex1_69.sce | 7b243fc9522fcc6fec42f99507acc8bfd061e1eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,016 | sce | Ex1_69.sce | // Ex 69 Page 409
clc;clear;close;
// Given
Rab=6;Rbc=8;Rca=4;//ohm
Vab=100*expm(%i*0);//V
Vbc=100*expm(%i*-120*%pi/180);//V
Vca=100*expm(%i*120*%pi/180);//V
Zab=6+%i*8;//ohm
Zbc=8+%i*6;//ohm
Zca=4-%i*3;//ohm
//Phase current
Iab=Vab/Zab;//A
Ibc=Vbc/Zbc;//A
Ica=Vca/Zca;//A
printf("Phase Current:")
[r,t]=polar(Iab)
pri... |
d43e72bf5ef3723f8592a25065a77d67b94bfc6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH14/EX14.1/Example14_1.sce | 8f06c32ef5b4a1850389b7af6b46e219df3220b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sce | Example14_1.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 7: UNDERGROUND CABLES
// EXAMPLE : 7.1 :
// Page number 211
clear ; clc ; close ; // Clear the work space and console
... |
b552c4fc405af80d48e01ba520233ff20ea47ca3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH7/EX7.1/Example7_1.sce | 176403e5605169234cf2747d98217bf508c965aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 997 | sce | Example7_1.sce | //Example 7.1
clc;
clear;
close;
format('v',9);
disp("Part(i)");
disp("Absolute unit of viscosity(in C.G.S) is Poise.");
disp("Poise=1 dyne-sec/cm^2");
disp("Gravitational unit of viscosity is 1 gm-sec/cm^2.");
disp("On equating we get, 1 gm = 981 dyne");
//Let x=1kg-sec/m^2
x=1*10^3/10^4;//g-sec/cm^2
x=x*9... |
532fcd1f4b7ca45c235eedbb1d4ca4804ad8b594 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH14/EX14.13/Ex14_13.sce | dbacc100fdfa57808ac7e7f7594764a0c9871ae3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | Ex14_13.sce | clear all; clc;
disp("Scilab Code Ex 14.13 : ")
//Given:
del_T = 60; //degree celcius
alpha = 12*10^-6; //per degree celcius
E = 200*10^6; //kN/m^2
A = 250*10^-6; //m^2
L = 4; //m
//Virtual Work Equation:
n = 1.155; //kN
N = -12; //kN
del_bh = (n*N*L)/(A*E) + (n*alpha*del_T*L);
del_bh = del_bh*1000;... |
004cf16184111c78e5893d091536fdda0ea91908 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH5/EX5.3/5_3.sce | ab51f27939086244dd07a7094e6b82f45c62a563 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | 5_3.sce | clc
//Initialization of variables
N=6
g=8
//calculations
sig=factorial(g) /(factorial(N) *factorial(g-N))
//results
printf("No. of ways = %d ",sig)
|
dafe0ff3ed0dab65e24550975d7ee38914babba1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH7/EX7.2/Exa7_2.sce | c28c974fca32cee060ecf5833d46eaa84f753e7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | Exa7_2.sce | //Exa 7.2
clc;
clear;
close;
//Given data :
Io=2000000;//in Rs
ANP=350000;//in Rs
S=0;//in Rs
n=10;//in years
//Formula : (P/A,i,n)=(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n)
// when i=10 %
i1=10;//in % per annum
PW1=-Io+ANP*(((1+i1/100)^n)-1)/((i1/100)*(1+i1/100)^n);//in RS
disp(PW1,"The present worth for i=... |
b81031405d9532a2d94db985deda7d64183c94a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.26/Ex4_26.sce | c0f3b0061f9280cd514f4e7b3c12815ccff9ff2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | Ex4_26.sce | clear
//
z1=complex(6,-10)
z2=complex(10,15)
z3=complex(18,12)
//z1+z2 is parallel to z3
zab=z1+(z2*z3)/(z2+z3)
printf("\n zab")
printf("\n the phase angle is -12.11")
|
2cbe94d1d0147eb663b9c35cda61c9dcb13a7d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH5/EX5.1/Example5_1.sce | d628dec4b2156ff869973b6354fd1d0fc1bc4906 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,141 | sce | Example5_1.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 5 : UNDERGROUND POWER TRANSMISSION AND GAS-INSULATED TRANSMISSION LINES
// EXAMPLE : 5.1 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
d = 2 ; // Diameter of c... |
1d47c8025e7e76c68fe3c39cfd78c5c43f279e31 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits__J._Paul_2045.zip/Electronic_Devices_And_Circuits__J._Paul_2045/CH3/EX3.3/Ex3_3.sce | 66fdc676c4024cd42af46be4c277269f1632ce3e | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Ex3_3.sce | errcatch(-1,"stop");mode(2);//example 3 pagenumber 139
v=4.3;//volt
q=4;//volt
dop=10^17;//per cubic centimetre
fi0=0.254*log(dop/(5.1*10^10));
fi01=0.407+q+0.55;
disp('fi0 = '+string(fi01));
exit();
|
be87b38b19a45595931a964c9ed429b53cdf5c60 | e388dc46e41d78403f4e7481eb3fd52f640bd20e | /sy27/simu.sce | 829c1ff5eb14d23c840421185e20fb52e895fd68 | [] | no_license | roddehugo/utc | 4ef822c019cb4a00775bdde6b908e258cd6ac1a5 | 1f81e64c13eed562b95ed67faedca24f0e583492 | refs/heads/master | 2021-06-02T02:01:33.907859 | 2020-05-04T16:31:54 | 2020-05-04T16:31:54 | 58,293,385 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 869 | sce | simu.sce | //Atelier simulation commande d'une voiture
//prise en main de Scilab
clear //on efface les variables du workspace
clc //on efface la console
close //on ferme une fenêtre
rouge=5 ;bleu=2 ;blanc=8 ;vert=3 ;noir=0 ;magenta=6 ;
exec('draw_voiture_ligne.sci');
exec('system_state.sci');
//x=(y,theta)
x=[-1;0];
v=10;
u=%... |
0103933c1e860eaeaf51680f56ae95f0b3ab2222 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH2/EX2.11/ex_11.sce | 46476102ab30936eac82d09197b38dcead1c51c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | ex_11.sce | // EXAMPLE (PG 87)
// f(x) = (x-1.1)^3 * (x-2.1)
c = [2.7951 -8.954 10.56 -5.4 1]
p4=poly(c,'x','coeff')
roots(p4)
deff('[y]=f(x)','y=(x-1.1)^3*(x-2.1)')
xset('window',0);
x=0:.01:3; // defining the range of x.
y=feval(x,... |
94ba9b4d03b737d1ffdb8163de65601e4e1abca4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH7/EX7.18/Ex7_18.sce | 18f2e35d290b75182378887efc81aa99606a9ec7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | Ex7_18.sce | // Exa 17.18
clc;
clear;
// Given
// Capacitive Transducer
d = 0.05; // plate separation in mm
C = 5*10^-12; // Capacitence in farad
dell_C = 0.75*10^-12; // change in capacitence in farad
// Solution
// C = e*A/d;
eA = C*d;
//Now,
dell_x = eA/dell_C;
printf('The displacment that caused a chang... |
d75e466fe46b1d98eaebbc4f0804baa3b6a49778 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH13/EX13.9/Ex13_9.sce | fdcc25aa090dc7a4bceee4448170ee8d309fd1c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | Ex13_9.sce | //Example 13_9
clc;clear;funcprot(0)
// Given values
V_1=1.2;// The velocity in m/s
y_1=0.80;// The flow depth in m
gradz_b=0.15;// m
g=9.81;// m/s^2
// Calculation
Fr_1=(V_1/sqrt(g*y_1));// The upstream Froude number
y_c=(((y_1)^2*(V_1)^2)/(g))^(1/3);// The critical depth in m
E_s1=y_1+(((V_1)^2)/(2*g));//... |
caa4fef103472932d3501fc6d1eeae63f561471d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH7/EX7.12/Ex7_12.sce | cb68055f74e172f596017a8020a4135db64a9eb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex7_12.sce | // Example 7_12
clc;funcprot(0);
// Given data
T=600;// K
I=0.10;// amp
L=10.0*10^-3;// m
b=5.00*10^-3;// m
w=1.00*10^-3;// m
rho_e=0.10;// ohm.m
// Calculation
A=b*w;// m^2
R_e=rho_e*(L/A);// W/A^2
S_pW=(I^2*R_e)/T;// W/K
printf('\nThe entropy production rate of the chip,(S_p)_W=%0.4f W/K',S_pW);
|
1ee09e06baf61db5a68b4029f06101227ade7441 | 61ae130448957e9d317026c24a8fd467e6bb08c9 | /src/test/resources/SimpleNestedCall/SimpleNestedCall.tst | c26c11c4b92fb01cc25ad0a81b0ce06a7824f912 | [] | no_license | toonketels/nand2tetris-vm-translator | d38921aa4196cf7021a5cbce5db46885b3b8e7c3 | dfd283fc53db0d0119286675d3462ff5d0ca7ec9 | refs/heads/main | 2023-06-01T04:14:38.446476 | 2021-06-24T08:07:38 | 2021-06-24T08:07:38 | 379,851,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | tst | SimpleNestedCall.tst | load SimpleNestedCall.asm,
output-file SimpleNestedCall.out,
compare-to SimpleNestedCall.cmp,
output-list RAM[0]%D1.6.1 RAM[1]%D1.6.1 RAM[2]%D1.6.1
RAM[3]%D1.6.1 RAM[4]%D1.6.1 RAM[256]%D1.6.1;
set RAM[0] 256,
set RAM[1] 256,
set RAM[2] 256,
set RAM[3] 3000,
set RAM[4] 4000,
repeat 700 {
ticktock;
}
out... |
4fdc17e6d96e8909a955504fa7850261c0b4aad8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.10/Exa_2_10.sce | 3896adee6210e75406919d7df78989df559437e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Exa_2_10.sce | //Exa 2.10
clc;
clear;
close;
format('v',6);
//Given Data
mw=100;//Kg
T=30;//min
T=T*60;//sec
P=1;//KW
Q=-50;//KJ
Sw=4.19;//KJ/KgK(Specific heat of water)
W=-P*T;//KJ
//Q=W+deltaU
deltaU=Q-W;//KJ
disp(deltaU,"Chnge in internal energy in kJ : ");
delta_t=deltaU/mw/Sw;//sec
disp(delta_t,"Rise in tempe... |
e3f177e27d91c0479d49ed2315141e00c59ba902 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/pus.tst | e1dc0caa6a79d8cdbbb89fb606cd0e053dfe012f | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59,409 | tst | pus.tst | پوهنتون پوهنتنو N;VOC;PL
اوسېدل اوسېدم V;IPFV;SG;1;PST;LGSPEC1
درول به درولی يم V;PFV;MASC;SG;1;FUT;LGSPEC2
غوږ نيول غوږ نيسم V;IPFV;SG;1;PRS
اوړی اوړي N;non{NOM};SG
کتاب کتابونو N;non{NOM};PL
بوخت بوختو ADJ;VOC;FEM;PL
راکول راکولي وو V;PFV;PL;1;PST;LGSPEC2
اغوستل واغوستلې V;PFV;FEM;PL;3;PST
دروستل دروستلې يې V;PFV;FEM... |
32b23ffa9ecb91a17234d0426a6f2d88e95939be | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH13/EX13.10/example10_sce.sce | f64c2d193b9e4f38908c71e1ceca48664e9f4e01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | example10_sce.sce | //chapter 13
//example 13.10
//page 570
printf("\n")
printf("given")
hfemin=100;hfemax=400;hiemin=2*10^3;hiemax=5*10^3;Rc=12*10^3;Rl=120*10^3;Re1=150
disp(" voltage gain at extreme value ")
Avmax=(hfemax*((Rc*Rl)/(Rc+Rl)))/(hiemax+Re1*(1+hfemax))
Avmin=(hfemin*((Rc*Rl)/(Rc+Rl)))/(hiemin+Re1*(1+hfemin))
disp("a... |
cd259033991764d54158e7713d339ecff4513210 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH6/EX6.13/6_13.sce | 704b3a0e4d8bae27cd795f3db7bcb988001d7c47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | 6_13.sce | //Voltage between feeder and bus bar in a series generator
clc;
clear;
V=50;
I=200;
Rf=0.3; // Feeder resistance
//Various Currents
I1=160;
I2=50;
deff('y=vol(x)','y=(x*Rf)-(V*x/I)') // Function to calculate the voltages
Va=vol(I1);
Vb=vol(I2);
printf('The voltage between the far end of the fe... |
5adab9564d8415ed2a85c8a5594d52dfb59e72b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH5/EX5.2/5_2.sce | 9beb8f2bb911973d5fa5054a741b9a03eeec23f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | 5_2.sce | clc
//initialisation of variables
T= -0.2 //C
T1= 25 //C
T2= 1.86 //C
R= 0.082 //li-atm per mole per degree
//CALCULATIONS
P= -T*R*(T1+273)/T2
//RESULTS
printf (' osmotic pressure= %.2f atm',P)
|
ce83cdf812f4e2ad489b3d140ff585fb33268d0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH21/EX21.8/Ex21_8.sce | abafdda0a41c9926efa6fe911c8a99eb033600b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | Ex21_8.sce | clear
//Given
b2=0.4
b1=0.6
l1=5000
//Calculation
l2=(b2*2*l1)/b1
//Result
printf("\n Wavelength of the light is %0.0f A",l2)
|
d5dd1ad85b788097b8dfa63f830e897bdd5a155f | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH12/EX12.3/Example_12_3.sce | 58a18d17dd800677ff4f06707be3539214a45e98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,696 | sce | Example_12_3.sce | clc;
clear;
printf("\n Example 12.3\n");
u=3.5; //Velocity of water
d=25e-3; //Diameter of the pipe
l=6; //Length of the pipe
T1=300; //Temperature at enterance
T2=330; //Temperature at exit
rho=1000; //density of water at 310 K
Meu=0.7e-3; //Viscosity of water at 310 K
//Taking the fluid properties at 31... |
d8a3bab8584cd13aa34195f332a511684770e8bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.48/example1_48.sce | 7a9118d16a904bf4ab661c2dd06ac86ff9d73e2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | example1_48.sce | clc
// Given That
x = 6e-5 // distance moved by movable mirror in meter
N = 200 // no. of fringes crossed the field of view
// Sample Problem 48 on page no. 1.57
printf("\n # PROBLEM 48 # \n")
lambda = (2 * x) / N // calculation for wavelength of light
printf("\n Standard formula used \n lambda = (2 * X) / N. \n")
p... |
f168104b580addb7764eddb736095b9649370995 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH30/EX30.5/example5.sce | 8f92bef85619ea4645dc99b25169a8265e5846ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | example5.sce | //chapter 30
//example 5
clc
//given
epsilon0=8.85*10^-12 //coul2/nt-m2
A=100*10^-4//area of the plate in square meter
d=1*10^-2 //separation b/w plates in meter
b=5*10^-3 //thickness of dielectric lab in meter
V0=100//in volts
k=7
//(a)
C0=epsilon0*A/d
disp(C0,"(a)Capacitance before the slab is inserted in farad is")
... |
9628073fe61bad7cfa9da9ea241397bb2db863e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH3/EX3.2/Ex3_2.sce | 2c7b44726e108490af0ae50268ef69babf42f02d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Ex3_2.sce | //Ex3_2
clc
E = 50*10^3
e = -1.6*10^-19
N = 10^6
F = N*e*E
disp("E = "+string(E)+"az V/m")//value of Electric field applied
disp("e = "+string(e)+"C")//value of eletron charge
disp("N = "+string(N))//total number of charge
disp("F = NeE = "+string(F)+"az N")//force on electron
|
f680910451009801e55618b67103877fcddcafb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.7.e/1_7_e.sce | 38db62da22816b39210455b29df5dc77c3c512df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 1_7_e.sce | //Example 1.7<e>
//draw the waveform of the signal x1(t)=r(-3t)
clc;
clear all;
t=-10:.001:10;
for i=1:length(t)
if t(i)>=0 then
x(i)=-3*t(i);
else
x(i)=0;
end
end
//figure
plot2d(x,t);
xtitle('Required figure','t','x(t)')
|
ce10d3cb7667c2502d37d4bf9fab8a4b6744196e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH4/EX4.4/ex4_4.sce | 4a41254bfa8b4a10addcfbdfd18e5d6967489d99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | ex4_4.sce | //Chapter-4, Example 4.4, Page 133
//=============================================================================
clc
clear
//CALCULATIONS
f=60;
Im=120;
i=96;
t=asin(i/Im)/(2*%pi*60);
mprintf("time is %1.5f sec",t)
//=================================END OF PROGRAM==============================
|
73de946d92b3cf115f0fd3ec583177192f1d4505 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH13/EX13.3.14/Ex3_14.sce | 244942121e5cfec51611c6c86b25ffc4207d9edd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 950 | sce | Ex3_14.sce | // Additional solved numerical questions , Example(set 3) 14 , pg 358
Er1=1.0000684 //Dielectric constant (for sum 14_a_2)
N=2.7*10^25 //(in atoms/m^3)
E0=8.85*10^-12 //permittivity of free space (in F/m)
Er2=6 //dielectric constant (for sum 14_a_3)
E=100 //electric field intensity (in V/m... |
a872a2edf647f8758d24c32c7c2d76c3302f5b9a | 5bcc7d78eeb607f77d78d89c7ac8be69ea09e01b | /amaroK/algo/specgram.sci | c6c781d9d2db5a7ba23ff97da7beec4bafaace58 | [] | no_license | nmasse-itix/ENSICAEN-Informatique-2eme-Annee | 6b42ba5efee5cbe10a255522843756e6d8316d07 | c1e06056ae415347817563c7454f4398605cc362 | refs/heads/master | 2020-07-24T02:36:52.067989 | 2019-09-11T09:40:16 | 2019-09-11T09:40:16 | 207,776,053 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,955 | sci | specgram.sci | function [sm,cwp]=specgram(sec_step,sec_leng,wtype,x,y,wpar)
//<sm,cwp>=pspect(sec_step,sec_leng,wtype,x,y,wpar)
//Cross-spectral estimate between x and y if both are given
//and auto-spectral estimate of x otherwise.
//Spectral estimate obtained using the modified periodogram method
// x :data if vector, amount... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.