blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
619f39d28967ee6c27812ac914e39c44603f268e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH12/EX12.16/EX12_16.sce | 11446cad53a33305a8de5c930d3690acacd0b86e | [] | 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 | 404 | sce | EX12_16.sce | //Example 12.16
//Find the following.
Xo=0;X1=1
X=integrate('2*X*((1-X)^2)','X',Xo,X1)
disp(X,'E[X]=')
Xo=0;X1=1
X2=integrate('2*X^2*((1-X)^2)','X',Xo,X1)
disp(X2,'E[X^2]=')
disp(6*X+3*(X2),'E[6X+3X^2]=6E[X]+3E[X^2]=')
disp(2*X+3,'E[2*X+3]=2E[X]+3=')
x1=2*X+3
disp(4*X2+9+12*X,'E[(2*X+3)^2]=E[4*X^2+9+12*X]=')... |
1d324e094ed5d950e2839769ff3fd0076af8105e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH10/EX10.7/Ex10_7.sce | 169f0f1f1d6372ac2056cdaf4731182acdf1d34c | [] | 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 | 568 | sce | Ex10_7.sce | clear
//The diameter of a concrete flag post varies from 240 mm at base to 120 mm at top. The height of the post is 10 m. If the post is subjected to a horizontal force of 600 N at top
//Consider a section y metres from top. Diameter at this section is d.
//d=120+12*y
//I=%pi*(d**4)/64
//Z=I*2/d=%pi*(d**3)/32
//variabl... |
293af172b1ca2895f6fc4f818e7c068f4f699546 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH18/EX17.7/EX17_7.sce | c0c541065925f454db830c25ba627fa28646bb98 | [] | 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 | 450 | sce | EX17_7.sce | // Grob's Basic Electronics 11e
// Chapter No. 17
// Example No. 17_7
clc; clear;
// Calculate ic produced by a 250-pF capacitor for a change of 50 V in 1 us.
// Given data
C = 250*10^-12; // Cap=250 pF
dv = 50; // differential voltage increased by 50 Volts
dt = 1*10^-6; // differectial t... |
a224439371dedbc0e2c94236f6e393989aeab875 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH6/EX6.10/Ex6_10.sce | 6b504fa37dc3f0cce6ed8f030e45c4abb916f58d | [] | 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,023 | sce | Ex6_10.sce | // Exa 6.10
// To calculate the data link protocol efficiency with
//(1) Stop and Wait protocol — full duplex,
//(2) SRP with window size W=8, and
//(3) Go-Back-N protocol with window size W=8.
clc;
clear all;
Tprop=4; //maximum propogation delay in sec
R=10; // data rate in Mbps
PackLen=400; //data pack... |
7118ff6f96e94d1802abd4852d496bac85608ca5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/int/%s_2_i.sci | 5dc7d6c0f1502f57263e98712dddbfb794603ff3 | [
"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 | 44 | sci | %s_2_i.sci | function r=%s_2_i(a,b)
// a>b
r=a>double(b)
|
e6217d04ded4d838325cad1d36f51b44a352f0df | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH9/EX9.20/9_20.sci | 9a54465d2fd7aab7ae9424d4bfec1025422a27c9 | [] | 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 | 150 | sci | 9_20.sci | // calculate error
clc;
d=1;
At=(%pi*d^2)*10^-6/4;
V=100*10^-6;
h=30*10^-3;
P1=(At*h^2)/V;
P2=(At*h^2)/(V-At*h);
e=P2-P1;
disp(e,'error=' )
|
c434fcec99ff052b36ff9d71f8cac7c6058ba5b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH4/EX4.6/Ex4_6.sce | 67877d30aceef83819998a9d14d829902dd3dc3b | [] | 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 | 221 | sce | Ex4_6.sce | //Example 4.6, Page 120
clc
rho=9*10^9//in nt-m2/coul2
m=9.11*10^-31//in kg
e=1.6*10^-19//coul
h=1.05*10^-34//in j-sec
E=-(rho*m*e^4)/(2*h^2)
printf("\n Binding energy is %e Joule ",E)
//Answer given in the book is wrong |
b8441070748f2d88f5424385b347270f93e5dabc | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/squarewave.sce | f070d1a18c9a21976cf059a86a38233bf09a830a | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 74 | sce | squarewave.sce | t=(0:0.001:9*%pi);
plot2d1(t,1.5*squarewave(t))
y=fft(t)
figure
plot(y)
|
9dadef2842831225659b1685e289a53da4bab87f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH2/EX2.3/ex_2_3.sce | 64d4b01fdcc9228cf12ff2727430cfe992b5f36d | [] | 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 | 248 | sce | ex_2_3.sce | //Example 2.3. // error``
clc;
clear;
close;
//given data :
Kf_sin=1.11;//Form factor of sine wave
kf=1; // from interation Erms=Eav
R=Kf_sin/kf; // ratio of the two form factors
Pe=(R-1/1)*100;
disp(Pe,"the percentage error,Pe(%) = ")
|
d4990bc70ff8740812fb829b5b3468ed6e2394e5 | 0480f6392643f10964ff6b301b2be49036bfe7d9 | /FM.sce | 0310e14cd90bf48aae1af7abb7db0df33cb1e703 | [] | no_license | vbv15/helloworld | 02f13332442310e95126067564516a8500b072c3 | 7982e10b0195afc1adb582ec623d95bd8f9556cb | refs/heads/master | 2021-06-28T01:18:01.725621 | 2016-11-11T02:49:46 | 2016-11-11T02:49:46 | 42,517,937 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | FM.sce |
Startup execution:
loading initial environment
-->ac=40;
-->fc=2000;
-->fm=100;
-->b=2;
-->ta=1/fc;
-->t=1/fc;
-->t=0:ta/996:2*ta;
-->am=40;
-->y=ac*cos(2*%pi*fc*t+b*sin(2*%pi*fm*t));
-->plot(t,y);
|
e440a95bfa25d767031f6b8a1e1a3c30e272721b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH8/EX8.18/Ex8_18.sce | 9a6de5ad8f5ddd601f7aed72bd34331feaf305cb | [] | 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,013 | sce | Ex8_18.sce | // chapter 8
// example 8.18
// Compute the value of commutating capacitor and inductor, Maximum capacitor voltage, and peak commutating current
// page-491
clear;
clc;
// given
Edc=220; // in V (dc source)
Toff=20; // in us (turn off time of SCR)
I0_m=180; // in A (starting current)
x=3
// calculate
Toff=Toff*1E-6;
dt... |
8440f722a2201eef9ec90f41c041d22cd62dadae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH13/EX1.12/13_12.sce | 78e62798ac9410dcab416a5d29ab121446e439cf | [] | 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 | 231 | sce | 13_12.sce | clc
//initialisation of variables
b=95//percent
t=0.95*7.5//mol
n=0.95*28.2//mol
h=1.5//mol
Co=6.00//mol
C1=0.76//mol
//CALCULATIONS
C=t-h//mol
CO2=Co-C1//mol
//RESULTS
printf('the combustion equation is=% f mol',CO2)
|
efb7919468b45939ccbfb02521fc1696fd310786 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TPE5.prev.tst | 9870c963d8f5a9b7448d8c97bc749136575edc83 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,559 | tst | TPE5.prev.tst | Expanding for base=7, level=1, reasons+features=base,same,similiar,evenexp invall,norm,showfail
Refined variables=x,y
[0+1x,0+1y]: unknown -> [1] [0,0] 15x²-7y²-9
---------------- level 0
expanding queue[0]^-1,meter=[7,7]: 15x²-7y²-9
[0+7x,0+7y]: failure constant=-9, vgcd=49 [0,0] 735x²-343y²-9
[1+7x,0+7y]: failure con... |
81f13e73b62dae1e9dcbda39797d088af51734bc | f7e981eeadbb0bba2edc23eccc7168670c099d2d | /bsp09.sce | 0942a47bbdff9337635e5acf40f52b33731380f3 | [] | no_license | mr-georgebaker/Scilab-Exercises | bf1e79d68b856f92e2be86b6b002f4eb657ff0ef | fc63d68aeaf495da81a0c557a4f07192aacbd1c6 | refs/heads/master | 2016-08-05T01:37:09.841260 | 2015-05-22T18:24:17 | 2015-05-22T18:24:17 | 32,216,608 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,590 | sce | bsp09.sce | // Calculates the roots of a function f(x) = sin(x)/x based on Newton's method in the intveral [-10,10] for a accuracy of eps=1e-6
// Prints out the roots as well as the iterations for the first root > 0
// Plots sin(x)/x in the interval [-10,10] and in the interval [0.06,5] as well as the iterations for this root
cle... |
2b92e38c334da49d3489363e4266ee0a0e2ead28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH2/EX2.3.2/2_3_2.sce | e636d075ee44f57f62cbccdfb547c0d07764c0b4 | [] | 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 | 194 | sce | 2_3_2.sce | clc
//initialisation of variables
w= 62.3 //lbf/ft^3
d= 11.5 //ft
//CALCULATIONS
p= w*d/144
//RESULTS
printf (' pressure required to bubble air slowly through the tank= %.f lbf/in^2',p)
|
94fcff58310054ce8c5d602594d2a7ad3e84a9f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH9/EX9.15/9_15.sce | 945580b3bcbfc9dd42e7ec4c82cb216e791b4beb | [] | 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 | 280 | sce | 9_15.sce | //bode plot
s=%s;
sys=syslin('c',(2500)/(s*(s+5)*(s+50)))
bode(sys)
show_margins(sys,'bode')
gm=g_margin(sys)
pm=p_margin(sys)
disp(gm,"gain margin=")
disp(pm,"phase margin=")
if (gm<=0 | pm<=0)
printf("system is unstable")
else
printf("system is stable")
end |
80fca546325694fa7653b65e2cc08e5b87150f5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.30/Example1_30.sce | 87f025d4d37890cfa8fa4cf48bad4351b993e74a | [] | 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 | 660 | sce | Example1_30.sce | // Example 1.30
clear; clc; close;
format('v',7);
// Given data
R2=0.04;//in ohm
X2=0.2;//in ohm
TstByTm=50;//in %
//Calculations
Sm=1;//slip for max Torque
R2dash=Sm*X2;//in ohm
Rx=R2dash-R2;//in ohm
disp(Rx,"(i) External resistance required for max Torque(ohm ): ");
TstByTm=TstByTm/100;//in ratio
//F... |
a965ad151e30b49881b92690f52d32a99f43d43b | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH28/EX28.1/ques1.sce | c8cfb2a84799f7ae513618378253ed78da992b1b | [] | 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 | 404 | sce | ques1.sce | //ques 28.1
clear
clc
disp('D=B^2-4AC');
disp('if D<0 then elliptic if D=0 then parabolic if D>0 then hyperboic');
disp('(i) A=x^2,B1-y^2 D=4^2-4*1*4=0 so The equation is PARABOLIC');
disp('(ii) D=4x^2(y^2-1)');
disp('for -inf<x<inf and -1<y<1 D<0');
disp('So the equation is ELLIPTIC');
disp('(iii)... |
9f6e1b43de1079d57fa8fc8f86aa75375e457b97 | d798d97f3aec3c77fe1b7db97e484616f605aada | /fabio.sce | 99e90be89753f48c6c49e40d58783c44d4590f2b | [] | no_license | fazedo/modelagem | 2261ddfb394cc0def69eabfd88abe8a1d42a1ea7 | 3b4416c0469448117b9bb7c7a3ac562d871b620b | refs/heads/master | 2020-03-11T15:41:00.712925 | 2018-04-18T18:03:05 | 2018-04-18T18:03:05 | 130,092,684 | 0 | 6 | null | 2018-04-25T14:10:50 | 2018-04-18T16:36:26 | Scilab | UTF-8 | Scilab | false | false | 10 | sce | fabio.sce | x=2
x=x+2
|
4ae7c9c56c3f711baf228965d306810cbf387946 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH7/EX7.3/7_3.sce | 5c8dd60dfcd6e079ed5ad189b9b160d3af18471a | [] | 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 | 183 | sce | 7_3.sce | clc
//initialisation of varilables
k= 3e-7 //cm/sec
n= 0.0911e-4 //g*sec/cm^2
dw= 1 //g/cc
//calculations
K= k*n/dw
//results
printf ('absolute premeability = % 4f cm^2 ',K)
|
99de966e79f10359be38770646374399be88e707 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH4/EX4.12/Ch04Ex12.sce | 5d5ae39230153189eff0220ab11ce1f70892b304 | [] | 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,094 | sce | Ch04Ex12.sce | // Scilab Code Ex4.12: Page-199
clc;clear;
// For flint glass
mu_C = 1.665; // Refractive index of flint glass for C line
mu_F = 1.700; // Refractive index of flint glass for F line
mu_D = (mu_F+mu_C)/2; // Refractive index of flint glass for D line
w2 = (mu_F-mu_C)/(mu_D-1);....// Magnitude of the dis... |
6beb0402e1d741503610fcc75d682de7aef4fc5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH5/EX5.6/Ex5_6.sce | f665d5ae521836a9eba48652a40050cc155c1cfa | [] | 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 | 590 | sce | Ex5_6.sce | clc();
clear;
//Given :
mu_o = 1.544; //Refractive index for ordinary ray
mu_e = 1.553;//Refractive index for extraordinary ray
lambda = 5890;//Wavelength in A
//(a)Plane polarised light :
//lambda is converted from A to cm , 1 A = 1.0*10^-8 cm
t1 = (lambda*10^-8)/(2*(mu_e-mu_o));//Minimum thickness in cm
//(b... |
8a01b46fc4761e05be473506a034189297a9c79f | e806e966b06a53388fb300d89534354b222c2cad | /macros/dctmtx.sci | b17d25d3b6f8fcfd2a02b29dada9f8146459be02 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | sci | dctmtx.sci | function [out]=dctmtx(n)
out=opencv_dctmtx(n);
endfunction;
|
031f56baeb028a2f46adaed082b9057cf90f9069 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Gesture/SCENARIOS/HumanRobotExample.sce | 73d1df298da21833d2c7ece6d4d1d383ea5d7a88 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,955 | sce | HumanRobotExample.sce | #************************************************************
# Scenario of humanTestEnv
#
# date : Tue Oct 29 16:15:30 2013
#************************************************************
p3d_sel_desc_name P3D_ENV humanTestEnv
p3d_sel_desc_name P3D_ROBOT HERAKLES_HUMAN1
p3d_set_robot_steering_method Linear
p3d_set... |
a5441dd0a35de391431e5444b757794c36dc9e08 | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Laboratório de Medições e Controle Discreto/Atividade 4/[G11]Atividade_4.sce | 476ffb1b49113d4147cc2517a77a4178bc5d817e | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,202 | sce | [G11]Atividade_4.sce | clear all
clc
// Grupo 11
// Gabriel de Sousa Araujo - 9299341 - gabriel_araujo@usp.br
// Gustavo Lopes Oliveira - 10335490 - gustavo.l.oliveira@usp.br
// Herval Pereira de Castro Junior - 10335792 - hervalcastro@usp.br
// Leonardo Silva Almeida Serra - 10335656 - leonardoserra@usp.br
// Lucas Hideki Takeuchi Okamura... |
13744348af417541b1a0a7a4176b4cafbab8f403 | 32869948ce801ed2e69b5fb986fc310cab9a6d4a | /macros/MachinePal/xcpl_IMPU.sci | aac4fb7b09beb6ebe37137529023ee68589b9924 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ierturk/SciPowerLab | 54ed5755cf4f3854176d7088f893317fe86cc0cf | da5d153272bae12564c1ded95241d6b40c8b4a90 | refs/heads/master | 2022-07-20T15:29:09.447509 | 2022-07-18T21:10:36 | 2022-07-18T21:10:36 | 94,237,627 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,237 | sci | xcpl_IMPU.sci | // ErturkMe - Copyright 2011 - 2022
// http://erturk.me
// ierturk@ieee.org
// See license.txt
function [x, y, typ] = xcpl_IMPU(job, arg1, arg2)
x = []; y = []; typ = [];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x, y, typ] = standard_inputs(arg1)
case 'getout... |
e059fc92e31cb2e077fec8111d23acaf1a0a3f68 | 6cb749937ed1f53a5c22d6d7276c82f9a56ea0f4 | /arduino_svn/macros/MPU6050_READ_SB.sci | 2be599021ff51709015fbb8912888a7681ccd296 | [] | no_license | fizcris/Scilab_Xcos_arduino_toolbox_david_MPU6050 | 2aacb3b5f75d49f1d8c8b46fa51f2b0c53afc985 | d488f268526d0cf6140f19426813b4b289566d37 | refs/heads/master | 2021-06-25T01:19:38.819142 | 2021-06-18T22:43:11 | 2021-06-18T22:43:11 | 26,444,710 | 2 | 6 | null | null | null | null | UTF-8 | Scilab | false | false | 5,278 | sci | MPU6050_READ_SB.sci | //
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
//
// 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 ter... |
f5c7d31cd94cf610591b408f48ee88f5ccac82ac | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%p_m_r.sci | bf3c261dc4987cb90cf594c1685b00723e3afe85 | [
"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 | 756 | sci | %p_m_r.sci | function f=%p_m_r(p,f)
// r=%p_m_r(p,f) <=> r= p*f with p=polynomial matrix
// and f= rational
//!
// Copyright INRIA
[n2,d2]=f(['num','den']);
[l1,m1]=size(p);[l2,m2]=size(n2);
//
indef=%f
if l1==-1 then
p=p+0;l1=1;m1=1;
if l2*m2==1 then indef=%t,else error(14),end
end
if l2==-1 then
n2=n2+0;d2=d2+0;l2=1;m2=1... |
48e8d56ba8bb45c1223939ea4bcf3cfdb3940518 | 90a29cbef0a6f899cda1919365c10ae0f3f394ab | /tests/example_infeasible.sce | 52b2f442cb3b4ade54e7e8057cf7c61dd691b5c2 | [] | no_license | akshaymiterani/cbclibrary | 6744b7bb91d4c9e3c26eb6a299411e83e53ec0aa | 9cbd8aa6172c64cc2b97ee6f3704ee1dd2450e42 | refs/heads/master | 2016-09-13T00:06:28.986308 | 2016-05-26T12:06:39 | 2016-05-26T12:06:39 | 59,631,430 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | example_infeasible.sce | // Primal Infeasible Problem
c = [-1,-1,-1]';
A =[1,2,-1];
b = [-4];
Aeq = [1,5,3;1,1,0];
beq = [10,100];
lb = [0,0,0];
ub = [%inf,%inf,%inf];
intcon = []
[xopt,fopt,exitflag,output] = intlinprog(c, intcon, A, b, Aeq, beq, lb, ub)
//output =
//
// relativegap: 0
// absolutegap: 0
// numnodes: 0
// numfeaspo... |
92cbd3157f45a654a8f81ffd403c4b37ccbc56c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.7/7.sce | 9db6085eff66965c1a750b33a9e1f860d4b48978 | [] | 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 | 86 | sce | 7.sce | clc
n=0.6;
y=1.5;
r=(1/(1-n))^(1/(y-1));
disp("Compression ratio =")
disp(r) |
0c28b16ef8c7ba9799364ead81a38cf2ace01995 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH16/EX16.3/16_3.sce | 2295c5cd167d4943facdb561af725b55f0aef286 | [] | 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 | 278 | sce | 16_3.sce | //ques-16.3
//Finding initial concentration of the reactants
clc
//2nd order reaction
t=60;//time (in minutes)
k=5.2*10^-3;//rate constant (in L/mol/minute)
//k = x/(t*a*(a-x))
//where, x = a/2
a=1/(t*k);
printf("Initial concentration of reactants is %.1f mol/L.",a);
|
043d886433a1bc1bb5a45b3d3f8394dce75ba81c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.63/Ex1_63.sce | 1a9ee6c6d7c1e162c37a03a0edb0b5633521f5b9 | [] | 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 | 677 | sce | Ex1_63.sce | clc;
L1=4*10^-3; // self indutance of winding 1
L2=6*10^-3; // self indutance of winding 2
M=1.8*10^-3; // mutual inductance of two windings
E1=130; // supply voltage for winding 1
f=500/%pi; // frequency of supply
l=0.2*10^-3; // load connected to winding 2
// writing voltage in rms form in matrix form V1=r1*I1... |
94933008188d617d33321a001f1a933e32ca4487 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/pump.tst | f2a51b5eeefa7a1627eb5ab0597abfaefcbc3515 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 1,194 | tst | pump.tst | # pump test
units SI
$thermo = VirtualMaterials.Advanced_Peng-Robinson
/ -> $thermo
thermo + WATER
# A theoretical pump: calculate flow from delP -------------
pump = Pump.Pump()
cd pump
In.Fraction = 1.0
In.P = 101.325
In.T = 20
Out.P = 300.0
Efficiency = 0.8
In
Out
InQ = 300
In
Out
InQ
InQ... |
2c97ac495e9af089141fceac89bc5965323a3322 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH4/EX4.18/ex4_18.sce | 0be13ad9818278eca9d6a469c78dcc6e5912f838 | [] | 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 | 306 | sce | ex4_18.sce | // Exa 4.18
clc;
clear;
close;
format('v',6)
// Given data
V= 68+154*%i;// in V
I1= 10+14*%i;// in A
I2= 2+8*%i;// in A
I= I1+I2;// in A
phi= atand(imag(V),real(V))-atand(imag(I),real(I));// in °
disp(phi,"The phase angle in ° is : ")
disp("The power factor is : "+string(cosd(phi))+" lag")
|
db2e3f92d29a63b0e078ffdd3b6a8dcde542724a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH7/EX7.2/7_2.sce | f2a7b653ea2dbd2830d0546446a1a321b2b20258 | [] | 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 | 231 | sce | 7_2.sce | clc
//Initialization of variables
g=9.81 //m/s^2
rho=1200 //kg/m^3
mu=0.005 //Ns/m^2
d=0.006 //m
Re=2000
V=0.15 //m/s
//calculations
Vc=Re*mu/(d*rho)
Vr=V/Vc
T0=8*mu*V/d
//results
printf("Shear stress = %d N/m^2",T0)
|
14c72cec093feb964f70cf0ccafabd8c1b05fd56 | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/imimposemin.sci | e0226c32447f7e0e5614d2af6583bc1ecb64c258 | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 1,568 | sci | imimposemin.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_... |
9fa91271fb4fde763c5e4913f54db0a34a9cafb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH3/EX3.17/3_17.sce | e1db0b1bd3acd3497ff189645a4e0a92e0e8fa74 | [] | 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 | 197 | sce | 3_17.sce | clc
//initialisation
p1=1
p2=0.8
t1=25//c
t2=10//c
p=0.4
t3=61//c
t4=12//c
//calculations
p1=p*(t3-t4)
m=(t1-t2)
c=m/p1
//results
printf(' specific heat of liquid= % 1f cal/gm*c',c)
|
582e299f13dfde408057d309f1d772fa3d48cee6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH3/EX3.5/exm3_5.sce | 1dc756e20a3e79e4a29135b21da6470b23f7fbff | [] | 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 | 949 | sce | exm3_5.sce | ////page no 91
//example no 3.5
//MEMORY ADDRESS RANGE OF 6116.
clc;
printf('A10-A0 are address lines for register select. \n');
printf('A15-A11 are address lines for chip select. \n \n');
printf('A15 A14 A13 A12 A11 \n');
printf(' 1 0 0 0 1 \n \n'); //chip select bits have to be active low always to sel... |
09ad1ad6c1b987a0a7d7a44c6353154af4de9c4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH1/EX1.33/1_33.sce | 22c681433f67d25450eaa4b9ceabd3c9df55abc9 | [] | 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 | 1_33.sce | //Example 1.33
//Add
//Page no. 27
clc;clear;close;
a=[0.4632e3,0.4632e99];b=[0.5427e3,0.5427e99];
for i=1:2
c(i)=a(i)+b(i)
printf('\nAddition of %.2g and %.2g = %.5g\n',a(i),b(i),c(i))
end
|
b7c9f40866f642e83929b8e27a6d057a1dbf8482 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH2/EX2.24/2_24.sce | 8ad6bdebc5eb6d553262846de6beffed82f4d03c | [] | 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 | 485 | sce | 2_24.sce | //Chapter-2,Example 2_24,Page 2-47
clc()
//Given Data:
N=5*5000 //N=W/(a+b) Number of lines on grating
m=2 //order
lam=6*10^-7 //Wavelength of light
//Calculations:
//i)
RP=m*N //Resolving power
printf('i)Resolving power is = %.0f \n \n',RP)
//ii)
//We know ... |
12380d46d2e3e66664ffe1d4749900cfe1b5f354 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH2/EX2.8/2_8.sce | 1df285ef3acd094b2a4633cc4e08a674d27abfb5 | [] | 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 | 668 | sce | 2_8.sce | clear;
clc;
close;
disp("Example2.8")
Tt1=50+460 //Converting the inlet temp. to the absolute scale i.e. in degree R
M1=0.5 //Initial inlet Mach no.
pt1=14.7 //Units in psia
gm=1.4 //gamma
R=53.34 //units in ft.lbf/lbm.degree R
Tcr=Tt1/0.69136
cp=gm*R/(gm-1)
//using energy equation:
Q1cr=cp*(Tcr-Tt1)
//si... |
968a591915decb691d2613c99fc3b150beb015bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH5/EX5.5/example5_5.sce | d9c962270a52b9f1a54b50238e442c6029cda77b | [] | 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,243 | sce | example5_5.sce | clear;
clc;
printf("\t Example 5.5\n");
//part(i)
pa = 13.3
pa2 = 20.6
y_bar=.0183; //kg water vapour/kg dry air
printf("\n we get humidity as(from chart) :%f kg of water/kg dry air",y_bar);
printf("\n we get saturation humidity as(from chart) :%d percent",67);
Ma=18; //molecul... |
33e94511cd2272a4f48156a7016fc38f3b4bf71b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH5/EX5.7/Ex5_7.sce | 64b55e90e2f7c05b8873041d608aef6f01c4018f | [] | 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,065 | sce | Ex5_7.sce | //CHAPTER 5 ILLUSRTATION 7 PAGE NO 166
//TITLE:Inertia Force Analysis in Machines
clc
clear
pi=3.141
D=.25// diameter of vertical cylinder of steam engine in m
L=.45// stroke length in m
r=L/2
n=4
N=360// speed of the engine in rpm
teeta=45// angle of inclina... |
77ea14cb1fa2399515367a7fa3c79dde6d946796 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH3/EX3.7/7.sce | 5b16165ff24732f097896d489d8aa84c7787d70f | [] | 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 | 265 | sce | 7.sce | clc
//Example 3.7
//calulate the time required
p_initial=1;//atm pressure initially
p_final=0.0001;//atm pressure finally
V=10;//ft^3 volume of system
q=1;//ft^3/min vol. flow rate
t=(V/q)*log(p_initial/p_final)//min
printf("The time required is %f min",t); |
e52a4663c878c3d5de33ac4594abd53d153d5276 | b765892f9b40cb0eb3d1d228feeb0f6821e8d4c1 | /Route_Aerienne.sce | e7c62a81fb9ace080a937db1971d37e6dcae5736 | [] | no_license | KingRid3r/RouteAerienne | 5e0a587866f6c926fca5b5445c0b5861e20dd651 | 5388d3e7c991704b0078625e55a583dac332d2be | refs/heads/master | 2021-08-31T02:52:48.609388 | 2017-12-20T07:39:08 | 2017-12-20T07:39:08 | 109,955,452 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,239 | sce | Route_Aerienne.sce | function o=orthodormique(ltA,lgA,ltB,lgB)
o=acosd(sind(ltA)*sind(ltB)+cosd(ltA)*cosd(ltB)*cosd(lgB-lgA))*60*1.852
endfunction
function r = route_ortho(ltA, lgA, ltB, lgB)
// r=(cosd(ltB)*sind(lgB-lgA))/sind(); // formule papier
r=acotd(((cosd(ltA)*sind(ltB))-(sind(ltA)*cosd(ltB)*cosd(lgB-lgA)))/(cosd(ltB)... |
3ffd50191c6d10d70bf1ab2e67332cec9a8c38da | 665eac2bfd0d2f1d559f485375f89e8a91632c6e | /VOL_300/335_02/AS7000.TST | df8f95a08f16266173ee142b508d0864cf3b4a01 | [] | no_license | kubohisa/CUGL | 615c29732e5fc2c6bcb29a4013be3351dc21dda6 | 75fc7cb2f8c5f3869a091b2b5c50c09323bc1c03 | refs/heads/main | 2023-03-15T16:19:49.355867 | 2020-10-02T21:19:00 | 2020-10-02T21:19:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,230 | tst | AS7000.TST | imm equ $55
label equ $3456
port equ $102
rd equ $78
rs equ $34
adc b,a
adc rs,a
adc rs,b
adc rs,rd
adc #imm,a
adc #imm,b
adc #imm,rd
add b,a
add rs,a
add rs,b
add rs,rd
add #imm,a
add #i... |
d129ccba85714520d0465a7c7bb0cb07b4f94b0c | 852a887149cf08573ae15977b6bddfd7e4ad6b90 | /projects/00/B2u3.tst | 3101d144d1ceb52103a63e597b66da3fe616125c | [] | no_license | SamuelWiet/ElementsOfComputingSystemsProjects | 0ecd3cc51a6495ed7fe145100d091d8ed9a1c502 | 06732828a214838934569cb5dd57d1e0b85220e5 | refs/heads/master | 2022-11-12T03:40:35.880347 | 2012-09-05T11:44:08 | 2012-09-05T11:44:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | tst | B2u3.tst | // File name: projects/00/B2u3.tst
load B2u3.hdl,
output-file B2u3.out,
compare-to B2u3.cmp,
output-list in%X1.1.1 in%B1.3.1 out%B1.8.1;
set in 0,
eval,
output;
set in 1,
eval,
output;
set in 2,
eval,
output;
set in 3,
eval,
output;
set in 4,
eval,
output;
set in 5,
eval,
output;
set in 6,
eval,
output;
set in... |
89f3cef170dd2a492adb3000092ccca98d6bde26 | 598546b56588670efcd591e67deb3578f52ddddc | /btests/3.3.tst | a87652d4f6812d16b659fed78c9d0c38f9aad2e2 | [] | no_license | natindo/techpark-HM1 | 6ae5da7cca55a5306f33fedd9ab4021a0d897cc2 | e9a4f25d32b0e802d1749ec2f5d1a250b6e1b2f4 | refs/heads/master | 2023-08-25T14:35:18.304147 | 2021-10-13T18:51:42 | 2021-10-13T18:51:42 | 416,403,554 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 26 | tst | 3.3.tst | KEYS="3 27644437"
OUT="1"
|
b2ce0939cae780474d4b89cebab4650fc47f127f | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH3/EX3.11/MS_11.sce | 88f21db39f65b7362f99672db5cde8dc475749fe | [] | 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 | 199 | sce | MS_11.sce | // sum 3-11
clc;
clear;
D=1500;
p=1.2;
sigt=100;
sigc=p*D/2;
siga=p*D/4;
P=sigc*2*10^3;
n=0.75;
t=sigc/(n*sigt);
// printing data in scilab o/p window
printf("t is %0.1f mm ",t); |
03284905179963a6cfc77af22334ffb012cd5217 | 4058f38b392324aa5099819881f3c7d7219a174f | /Flip flops/T Flipflop/T_FF Level Triggered/T FF.sce | ff442d8ffc01a531f36d53825a8333dfe21b077b | [] | no_license | anupma-s/Scilab-Xcos-Arduino-Digital-Circuits | 612a033422bf14e2e58bcdce371f15cafb30224f | 2b4bf8e8f155d20a5eda2feb31c5523a51569d73 | refs/heads/master | 2021-01-20T17:20:13.073180 | 2016-07-04T15:25:07 | 2016-07-04T15:25:07 | 62,569,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | T FF.sce | ok=open_serial(1,2,115200);
if ok~=0 then error('Unable to open serial port, please check'); end
//assuming initially, Q01 & Qbar=0
Q=1;
Qbar=0;
temp=0;
TPin=5;
QPin=9;
QbarPin=10;
clockPin=2; //external clock input
for i=1:1000
if(Q==1)
cmd_digital_out(1,QPin,1)
cmd_digital_o... |
37dffad35e66d39b2041022b7c2bde78fd51aa9f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/qr.man.tst | 18b95ce1356006fe82d2edf57877d91459de0c7c | [
"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 | 128 | tst | qr.man.tst | clear;lines(0);
A=rand(5,2)*rand(2,5);
[Q,R,rk,E] = qr(A,1.d-10);
norm(Q'*A-R)
svd([A,Q(:,1:rk)]) //span(A) =span(Q(:,1:rk))
|
95cb7683ab13b4733a5bbf1d5ccea8222e1286bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.2.d/EX3_2_D.sce | fb0a99fba48f9263465a17577304e4e6af3f17ad | [] | 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 | 76 | sce | EX3_2_D.sce | //EXAMPLE 3.2.D
clc;
Syms s t
w=2;
a=5;
F=exp(-a*t)*sin(w*t)
laplace(F,t,s)
|
4f0363a631ea6c1d5a82dc5bbb4d1fac382c1a4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2303/CH4/EX4.7/4_7.sce | 8b6fb660712ee9953c789e28da0a48b6586a5f41 | [] | 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 | 367 | sce | 4_7.sce | //Example 4.7
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
clear;
clc ;
close ;
syms n z;
f1=(1/2)^n;
F1= symsum (f1*(z^(-n)),n ,0, %inf );
f2=(1/3)^n;
F2= symsum (f2*(z^(-n)),n ,0,%inf );
//Display the result in command window
F=F1+F2; //linearity property
disp (F,"Z-transform of f(n) is:")... |
799e0ad27976ea98b85b77c5f753aada5ddc27b6 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/BercovierEngelman.tst | 86f10496e876f232c095e22e68c2e9b1ae031aef | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 875 | tst | BercovierEngelman.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Bercovier-Engelman unsteady Stokes flow</description>
<executable>IncNavierStokesSolver</executable>
<parameters>BercovierEngelman.xml</parameters>
<files>
<file description="Session File">BercovierEngelman.xml</file>
</files>
<... |
747827fef410f888cb2fad498d56b9a8d8fb770a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.17/Ex17.sce | 2450aec6f82f1edc064281ec1bd2027300305849 | [] | 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 | 243 | sce | Ex17.sce | // Additional solved examples , Example 17 , pg 338
d110=1.96//spacing of(1 1 0) planes (in Angstrom)
h=1
k=1
l=0 //(h k l)=(1 1 0)
a=d110*sqrt(h^2+k^2+l^2)//size of unit cell
printf("size of unit cell=")
printf("a=%.2f angstrom",a)
|
cdae6ee33eb60ea545c6d02b3d50d6a806783002 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.29/EX3_29.sce | 4be27f95e4b66b648be2a7d7ebd1858e13e5f05e | [] | 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 | 112 | sce | EX3_29.sce | //Example-3.29 PG NO-191-192
IL=12.55;
V=460;
Z=V/(1.732*IL)
disp('i) Z = '+string (Z)+' ohm');
|
cf5f0d7868b30a35b01572f27e871ee561f1baa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH3/EX3.6.a/3_6_a.sce | b3a1d4c60dbfb805be164620fb93002318e30334 | [] | 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 | 766 | sce | 3_6_a.sce | //all the quantities are expressed in SI units
V2 = 100*1609/3600; //test section flow velocity converted from miles per hour to meters per second
p_atm = 101000; //atmospheric pressure
p2 = p_atm; //pressure of the test section which is vented to atmosphere
rho = 1.23; ... |
80a1719f7cf0cdd8a31945f297dae126b2fd6de8 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH5/EX5.12/EX5_12.sce | 731c4e8a0e0b7478c54c099f50dde007d5f24131 | [] | 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 | 995 | sce | EX5_12.sce | clc;funcprot(0);//Example 5.12
//Initilisation of Variables
Ta=20;.....//Temperature of air in degrees celcius
D=2.5*10^-2;...//Diameter of cylinder in m
U=5;........//Velocity of air in m/s
Ts=60;......//Surface temperature of sphere at degrees celcius
Sp=4*10^-2;...............//Space in perpenducular direction... |
1c27ee93517843d024f63cca3ffe921ceefa23d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH18/EX18.9/Ex18_9.sce | bc0f132fc7eed622a9a6a7e4f11e92899bc957d4 | [] | 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,158 | sce | Ex18_9.sce | // Initilization of variables
W_a=50 // N // falling weight
W_b=50 // N // weight on which W_a falls
g=9.81 // m/s^2 // acc due to gravity
m_a=W_a/g // kg // mass of W_a
m_b=W_b/g // kg // mass of W_b
k=2*10^3 // N/m // stiffness of spring
h=0.075 // m // height through which W_a falls
// The velocity of weight... |
fe5c054b1b3cfcf8000bfcc15f632e7af60c2c37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3544/CH4/EX4.9.2/Ex4_9_2.sce | 3f794948cbf45b9ea89ba36a94922a9c28a62fc1 | [] | 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 | 233 | sce | Ex4_9_2.sce |
//ElGamal Signature verification
e1 = 10
e2 = 4
m = 14
p = 19
s1 = 3
s2 = 4
v1 = modulo(e1^m,p)
disp("V1")
disp(v1)
v2 = modulo(e2^s1 * s1^s2,p)
disp("V2")
disp(v2)
disp("Since V1=V2, signature is valid")
|
de38c09a6b6ef2121fa27a755cd38efc2e616645 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH1/EX1.6/Ex1_6.sce | f22eb016173544a078a2f2ceb8ccb8ea6510b082 | [] | 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 | 603 | sce | Ex1_6.sce | clc;
clear;
R=50 //resistance in ohm
C=25 //capacitance in micro-F
L=0.15 //inductance in H
V=230 //voltage in Volts
f=50 //frequency in Hz
//calculation
XL=2*%pi*f*L //in ohm
XC=(10^6)/(2*%pi*f*C) //in ohm
X=XL-XC //in ohm
Z=sqrt(R^2+X^2)
I=V/Z
pf=R/Z
power_consumed=V*I*pf
mprintf("(i)Impedance = %... |
f6c6d8ebec7032c14aecea08bfa428bca2076afd | b667735486117d0c7bb30d616ee6ed37032e947d | /online/labca/bin/win32-x86/labca.sce | 4ab65c301028df99539f5bf27ee86af29bb84cc6 | [
"EPICS",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KIT-IBPT/MML | 6b8093aec421162c56ada56daa2d43a1b6977e62 | 4ad8cbb61a36a8b145cc6b17e0b5a3a6b4213c26 | refs/heads/master | 2021-08-28T07:39:45.693497 | 2021-08-04T13:14:01 | 2021-08-04T13:14:01 | 226,303,582 | 0 | 0 | null | 2019-12-06T10:28:11 | 2019-12-06T10:28:11 | null | UTF-8 | Scilab | false | false | 806 | sce | labca.sce | // Addinter for EZCA interface
// for hppa/sun-solaris/linux/dec
//--------------------------------
//Scilab functions
ezca_funs=[...
'lcaGet';
'lcaPut';
'lcaPutNoWait';
'lcaGetNelem';
'lcaGetControlLimits';
'lcaGetGraphicLimits';
'lcaGetStatus';
'lcaGetPrecision';
'lcaGetUnits';
'lcaGetRetryCount'... |
faa208cd2a4657062efc2a421a2de0eee24b2456 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH3/EX3.16/example3_16.sce | 8fdf1359ac2ff48e1bca590b4ebfd80d8a2421db | [] | 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 | 311 | sce | example3_16.sce | p=250;
t=4*30;
disp("Part a");
e=p*t;
disp("the amount of energ (in kWh) used by the lamp is"); disp(e*10^(-3));
disp("Part b");
rs=5;
cost=rs*e;
disp("the cost (in $) of the energy is"); disp(cost/100);
disp("Part c");
rs1=10;
cost1=rs1*e;
disp("the cost (in $) of the energy is"); disp(cost1/100); |
8e8d01d218ea8173775050072cfed31d7245a1f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH6/EX6.10/10.sce | 0a5757a4e014973265d78584613175f97bb6f2a5 | [] | 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 | 312 | sce | 10.sce | clc
//Example 6.10
//Calculate the pressure difference created due to expansion and contraction
rho=62.3//lbm/ft^3
K=1.5//dimentionless
v=13//ft/s
//1 ft = 12 in
//1 lbf.s^2 = 32.2 lbm.ft
dp=rho*K*(v^2/2)/32.2/144//lbf/in^2
printf("The pressure drop due to expansion and contraction is %f lbf/in^2",dp); |
cc28bb233f8745b559afe7c682132c6337ffefaa | da13eeea059402e7422a7f639b56d9d67184a3f2 | /cudd-3.0.0/mtr/test.tst | b9980a141220d7858103c27b7bddd6790aad872e | [] | no_license | bohanw/Projects | 33ef3d3cf99a524ef660589929d8a418fd5b5176 | e69e3c88572e0b7ea05e7fb7745bd7f4e626fab8 | refs/heads/master | 2020-05-29T18:17:18.399974 | 2017-04-13T04:52:15 | 2017-04-13T04:52:15 | 50,487,355 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,351 | tst | test.tst | # TestMtr Version #0.6, Release date 2/6/12
# mtr/testmtr -p 2 ./mtr/test.groups
N=0x2060020 C=0x20600e0 Y=0x0 E=0x0 P=0x0 F=0 L=0 S=0
N=0x20600e0 C=0x0 Y=0x2060120 E=0x0 P=0x2060020 F=3 L=0 S=0
N=0x2060120 C=0x0 Y=0x2060060 E=0x20600e0 P=0x2060020 F=4 L=0 S=0
N=0x2060... |
0402e1c3dbedddf27d226b364bf8861deb917a73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH8/EX8.3/8_3.sce | 1c318d868f04c9cba8f98d772ed8e59f7a794b28 | [] | 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,301 | sce | 8_3.sce | clear;
clc;
printf("\t\t\tExample Number 8.3\n\n\n");
// shape-factor algebra for open ends of cylinder
// Example 8.3 (page no.-395)
// solution
d1 = 0.1;// [m] diameter of first cylinder
d2 = 0.2;// [m] diameter of second cylinder
L = 0.2;// [m] length of cylinder
// we use the nomenclature of figure 8-15... |
e9432fcf1c14c66cec4050aea45c89b53ec3811e | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH11/EX11.1/Ex11_1.sce | d52392a82fb99c131ff6a789411d50fc733b52ce | [] | 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 | 497 | sce | Ex11_1.sce | clc
//Initialization of variables
w= 100 //rad/s
r1 = 0.1 //m
r2 = 0.2 //m
// Calculations
U1 = w*r1 // m/s
U2 = w*r2 // m/s
//Results
printf('U1 = %d m/s',U1)
printf('\n U2 = %d m/s',U2)
printf("\n At the inlet there is no component of absolute velocity in the direction of rotation; at the outlet this compo... |
c92e7f099f3ceaa7c294c83365c91f9f6a0580b3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/util/scanf.sci | 90348a23b07270472aa9681c6a80d31a2404df09 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 325 | sci | scanf.sci | function [v1,v2,v3,v4,v5,v6,v7,v8,v9,v10,v11,v12,v13,v14,v15,v16,..
v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28,v29,v30]= scanf(fmt)
// scanf - Emulator of C language scanf
//!
[lhs,rhs]=argn(0)
v='v'
args=strcat(v(ones(lhs,1))+string(1:lhs)',',')
buf=read(%io(2),1,1,'(a)')
execstr('['+args+']=sscanf(buf,fm... |
c2a78563d6179cfa8acbe078835e9c9156e77d24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH7/EX7.1/Chap7_Ex1.sce | 8b7cc248420eb1b7fa02410c4bb6f224e7678448 | [] | 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,039 | sce | Chap7_Ex1.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-7, Example 1, Page 179
//Title: Entrainment from Fine Particle Beds with High Freeboard
//==========================================================================================================
cl... |
fb208dbb2b9301fb95bc5407cc11a7a87ddc1de6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH1/EX1.8/Ex1_8.sce | 89a17af9689c7abc511fd322b26dc2e9b25defac | [] | 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 | Ex1_8.sce | clear;
clc;
printf("\nEx1.8\n");
//page no.-11
//given
rho=7870;.........//densitynof alpha iron in kg/m^3
N=6.02*10^26;.....//avagadro no.
n=2;..............//number of molecules per unit cell for B.C.C.
M=55.8;..........//atomic weight
a=((n*M)/(N*rho))^(1/3).........//lattice constant in metre
printf("... |
c3b6adbb0b4b9f736f9fe394b54043edf8f3238f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH3/EX3.7/Example7.sce | a6a91f41bb93a3d7fa902a55848238c8b6e7d76f | [] | 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 | 994 | sce | Example7.sce | //Program for example 6 chapter 3
clear
t='n'
clc
disp("Example 7: Record the current session in a file and open the same")
disp("*****************************************************************")
disp("Answer : ")
disp("Continue...??? ")
halt("")
printf("Enter the sequence of instruction... |
4aa645fe5086e9480a6c196fbfa81d4860b0f301 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH2/EX2.3/Ex2_3.sce | f91a644697c48de278096a70210ae0b588fa075e | [] | 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 | 613 | sce | Ex2_3.sce | // Example 2_3
clc;funcprot(0);
//Given data
D=[1 2 3 4 5 6 7];// Days
F=[100 320 210 120 50 30 25];//Mean daily flow in m^3/sec
//Calculation
Tf=F(1)+F(2)+F(3)+F(4)+F(5)+F(6)+F(7);
Tfv=24*3600*(Tf);// Total flow volume in m^3
Tfv_1=Tfv/(10^6);// million-m^3
Tfv_2=Tfv/86400;// day-sec-metre
Tfv_3=Tfv/(3350*... |
4323c5eea5a5fc7636f4d2982d06d033c5cbf3ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH14/EX14.11/14_11.sce | e66213b8281469d66b7df4ed2d3869600f17f4e3 | [] | 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 | 305 | sce | 14_11.sce | //Chapter 14, Problem 11
clc;
T=0.01; //time period
Vm=40; //peak voltage
w=(2*%pi)/T;
v=-20;
phi=asin(v/Vm);
printf("instantaneous voltage can be expressed as\n v=40*sin((200*pi*t)+phi)");
printf("When time t=0, v=-20\n")
printf("phi = %d",phi);
|
a57e8f82a74769c3c38cfed8f16ff2a8a691d42e | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH1/EX1.16/Ex1_16.sce | ee1c9c336da9d956ee249465fa20a603704fe148 | [] | 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 | 109 | sce | Ex1_16.sce | //Ex:1.16
clc;
clear;
close;
v=15;//in volts
i=0.001;//in amp
r=v/i;
printf("Resistance = %d ohms",r); |
469a2ce682dd464f564b39bd021f919ebab61c45 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/ansi.sce | 9f0cf86a799864007d5166c718c35a0ea43527d9 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 106 | sce | ansi.sce | printf("iam begining");
disp("i m in ");
sum=56+53;
printf("sum = %d",sum);
printf("sum = %5.2f",sum);
|
c81f5c51516fb0a333aaa0d5ceeb9228fa413bde | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH7/EX7.3/Example7_3.sce | d3319c4da60e690d8c3a3198bcc2974cf093ad3c | [] | 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 | 464 | sce | Example7_3.sce | //calculation of energy of a photon
clear;
clc;
printf("\t Example 7.3\n");
c=3*10^8;//speed of light in vacuum, m/s
h=6.63*10^-34;//planck's constant, J s
//(a)
lambda=5*10^-5;//wavelength, m
E=h*c/lambda;//energy, J
printf("\t (a) the energy of the photon is : %4.2f *10^-21 J\n",E*10^21);
//(b)
l... |
ccf1a01062c84e292eae7c4747695969c23a1ebb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Engineering_Chemistry_P._N._Dave_And_S._G._Pillai_3050.zip/Engineering_Chemistry_P._N._Dave_And_S._G._Pillai_3050/CH6/EX6.7/Ex6_7.sce | c2c084f6a063a70f249e04c97cd1a125df5086fe | [] | 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 | 249 | sce | Ex6_7.sce | errcatch(-1,"stop");mode(2);//calculating Kc
//Example 6.7
//E'cell=0.0591*logKc/n
Eag=0.8
Ecu=0.34
Ecell=Eag-Ecu
n=2
Kc=10^(n*Ecell/0.059)//equilibrium constant
printf('Thus the equilibrium constant for the reaction = %e',Kc)
exit();
|
5b6a8fb45011eed4427932a0309f0a7b5d65cbfa | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Partframe.sci | a8581b1bc5cd91df70013d8cb3e4b61cf841b713 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sci | Partframe.sci | // 13.05.03
function Out=Partframe(Tb,St,Ed)
G=Dividetable(Tb);
Gw=G(1);
Gt=G(2);
Gy=G(3);
Gwt=Tb(4);
Gwy=Tb(5);
Gat=lstcat(list(Gwt(1)),Gt,list(Gwt(2)));
Gay=lstcat(list(Gwy(1)),Gy,list(Gwy(2)));
Tmp1=Ptstart(Gat(St(1)));
Tmp2=Ptstart(Gay(St(2)));
Ps=[Tmp1(1),Tmp2(2)];
Tmp1=Ptstart(Gat(Ed(1)))... |
393a13b82acd1579a5226ad6410d2970279ef8d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH3/EX3.2/SolEx3_2.sce | 5babd761ab26c9a31fca857c9badca18a8b63458 | [] | 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 | 341 | sce | SolEx3_2.sce | //find the collector current for (a) IB = 0 and (b) IB = 40 A.
//Solved Example Ex3.2 page no 83
clear
clc
betaa=100
Ib=0 //mA
Icbo=5//V //mA
Iceo=(betaa+1)*Icbo //mA
printf("\n When Ib =0 Iceo = %0.2f mA",Iceo)
Ib=40
Ic=((betaa*Ib)+(betaa+1)*Icbo)/1000
printf("\n When Ib =40 ... |
78875c30e3a21da456f8df8c77649af00e2611fb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH10/EX10.19/10_19.sce | 382f619bb4b77705543810f5037d6613eef1c66f | [] | 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 | 338 | sce | 10_19.sce | errcatch(-1,"stop");mode(2);//Chapter 10, Problem 19
;
E1=1.0186; //emf of standard cell
I1=400e-3; //balance length when using standard cell
I2=650e-3; //balance length when using dry cell
E2=E1*(I2/I1); //calculating emf of dry cell
printf("e.m.f of dry cell = %f ... |
0c37663f4d839a9086312c1cd600a248e151847f | caafd05eb866a2bd249681ceeb5734ca2df71833 | /TP6/vdp.sci | b85bb322a56ed8b574db403956f412e7b15b3658 | [
"MIT"
] | permissive | mmewen/MT09-numerical-analysis | 5fb1f251e86f9d43d7eeb23ce7bcc91d6ca3fa8b | cde3871aa885811bc31166e778b2a4f052e74b64 | refs/heads/master | 2021-01-11T22:11:18.631204 | 2017-01-14T10:59:23 | 2017-01-14T10:59:23 | 78,934,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sci | vdp.sci | function Y = vdp(t, X)
c = 0.4;
Y = [ X(2);
c * (1 - X(1) * X(1)) * X(2) - X(1)];
endfunction
|
dd825533a7204ac121e0acaad64894125a0155be | 96a1ace8300f2a05933a29c2190c2591ebeafedf | /mondat_tstfile.tst | db80a8b00460155878753ab2c22139ff2f14111c | [] | no_license | nirml08/pilot | e15a99873a155e96843a1410a18959988dccaa6f | 303b4997f2d63a28c178e9f9937e96f1ee78af72 | refs/heads/master | 2020-05-31T22:54:18.151041 | 2019-09-17T07:34:39 | 2019-09-17T07:34:39 | 190,528,935 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 20 | tst | mondat_tstfile.tst | its 10:57 currently
|
9a10c0c60ceef0b2bbbf163c266e06f3caffd1cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH17/EX17.14/Ex17_14.sce | 035a45135a2a8e5cce6d5e3aa423cd1707f94aed | [] | 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 | 384 | sce | Ex17_14.sce | // Exa 17.15
// To calculate bandwidth of Iub interface.
clc;
clear all;
Users=350;//no of users supported
ExpectedTraf=1.8; // From section 17.7 (in Kbps)
BHTraf=1.785;//Busy hour traffic in kbps
BTS=180;
//solution
IubBW=(ExpectedTraf*Users*BHTraf)/1000; // in Mbps
TotalBW=BTS*IubBW;
printf('Require... |
e3e3b55c6666b90fdf8e961f216f10235783a395 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH13/EX13.1/13_1.sce | b8b64f89be03c8664d6f9f630d728fec7a13cfd8 | [] | 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 | 167 | sce | 13_1.sce | clc
//initialisation of variables
H= 540 //cal per gram
m= 9 //gms
T= 100 //C
//CALCULATIONS
S= H*m/(273+T)
//RESULTS
printf (' Entropy change = %.2f E.U',S)
|
2608810b8b97b94bcc2428542b2f1d4ee2ed07fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH9/EX9.6/Ex9_6.sce | a424addcfd863d998112b615279e1e7f34231736 | [] | 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 | 208 | sce | Ex9_6.sce | N=50//no. of channels in cell
Pb=0.02//blocking probability
Aav=40.3//offered traffic load
H=100/3600//average call-holding time
Y=Aav/H;//no. of calls handled
printf(' no. of calls handled= %.d calls/hr',Y)
|
3af99ce6e679087d2b31d9478becd59a95b6771e | bf22bf34daeceb2106b5e2af1c24e480f628960c | /singlelayer-perceptron/perceptron-adaline/scilab/linear-separation/adaline_example.sci | b6a55412541f43c07a295cbcfeaf30dcaf8ce903 | [] | no_license | edielsonpf/neural-networks-examples | e3a045bf37e4b2ea681f05512ac71fdbb0cb4992 | 9fabec297b07987f3506401751719c56055d0f5f | refs/heads/master | 2020-12-24T08:46:39.412676 | 2017-09-23T11:22:11 | 2017-09-23T11:22:11 | 32,630,396 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,210 | sci | adaline_example.sci | function adaline_example()
//A_x = grand(5, 1, "nor", 2, 1);
//A_y = grand(5, 1, "nor", 3, 1);
//A=[A_x, A_y];
A=[2.0345522 3.4790581; 2.0081632 2.5116644];
//disp(A);
//B_x = grand(5, 1, "nor", 8, 1);
//B_y = grand(5, 1, "nor", 5, 1);
//B=[B_x, B_y];
B=[6.8653232, 5.3456417; 8... |
67faad570e3f37a37653cb065a31e99e82a456e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH9/EX9.9/Ex9_9.sce | 2d15c1464532d2443bb8530dc3b507dc997675b7 | [] | 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 | 267 | sce | Ex9_9.sce | clear
//Initialization
ni=26 //Decimal number
//Calculation
bini = 0
i = 1
while (ni > 0)
rem = ni-int(ni/2)*2
ni = int(ni/2)
bini = bini + rem*i
i = i * 10
end
w= bini
//Declaration
printf("\n Binary Equivalent = %d",w)
|
9610d0bcd18c22a2222e086938fdb01a55157a2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH3/EX3.6/Ex3_6.sce | a0d61b01432e9dbf7369fb36da8d7c7d16eab057 | [] | 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 | 759 | sce | Ex3_6.sce | //Variable declaration
Rs=500 //collector current(k ohms)
Io=-1*10**-3 //output current(mA)
Rc=5*10**3. //collector resistance(ohms)
hie=2*10**3
hoe=10*10**-6.
hfe=100.
hre=5*10**-4
Rb=50*10**3. //base resistance(ohms)
//Calculations
Io1=-1/(1+Rc*hoe)*hfe //as Io=-... |
fc36a0d36fec24aba3456aeb145f1e4153cb12fc | d193c210f310f28e916580a6243505126d60f40e | /Simulation_encoleuse_12r.sce | f1e1a49448fe3e1a78f7ab42458e47a2e1b93c28 | [] | no_license | RPapin/Projet-cobotique | 6f33aab36eae315ecb50aab0ea10cd73f59e6280 | 9e4f953074af2ee77f8257acb8282910534737a8 | refs/heads/main | 2023-04-24T00:41:03.144070 | 2021-05-18T13:57:34 | 2021-05-18T13:57:34 | 357,167,601 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,686 | sce | Simulation_encoleuse_12r.sce | rrArray = [1.60, 1.19, 0.84, 0.58];
rraModels = [3.2375,0.52,-0.1225,0.0375,0.035,0.0275,0.05,0.015;3.0775,0.455,-0.1325,-0.02,0.015,0.005,0.0525,-0.0025;2.99375,0.40875,-0.02625,-0.05125,0.02375,-0.04625,0.08875,-0.01125;2.905,0.42,0.0275,-0.12,0.0125,-0.0175,0.12,0.0025];
rrTauVxModels = [22.02625,-2.14625,0.28125,3.... |
698992ce6845dd658d89386b6579ae4170c58f7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH5/EX5.7/ex_5_7.sce | 5ceea274ef8939093558ce5c07a8d529df23eea8 | [] | 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 | 285 | sce | ex_5_7.sce | // example 5.7//
clc
//clears the screen//
clear
//clears all existing variables//
disp("we can SIMPLIFY the given equation as : ");
disp('A''B+AB''=((A''B)''''+(AB'')'''')[INVOLUTION LAW]' );
disp(' ={(A''B)''.(AB'')''}''[DEMORGAN'' LAW]')
disp('[{B(AB)''}''{A(AB)''}'']''') |
b9720dfc04cc9f971529b05c69b628f119f1e066 | 18bf68cdf766092ccdcba8d231e8140063833a5a | /even_odd.sce | 43714315d2139679164f00be66d724e0b74f2168 | [] | no_license | goodengineer/Scilab-Exercises | b51cc9a4c938f0289a32875d2d21eb9061d0e68e | 3c268211fe48e7e4d0002e44757ea8b50cda10f9 | refs/heads/master | 2022-12-24T23:30:12.875423 | 2020-10-05T06:27:20 | 2020-10-05T06:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | sce | even_odd.sce |
// see form the ppt page 80 name : 02 Basic ....
|
79adefb9000f34eb3e9018f5579688114a11a4fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH11/EX11.4/Example11_4.sce | e6fd716aae694c7c56bbc68d15a0254838361384 | [] | 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 | 463 | sce | Example11_4.sce | clear;
clc;
// Example: 11.4
// Page: 461
printf("Example: 11.4 - Page: 461\n\n");
// Solution
//*****Data******//
T_boiling = 118.24;// [OC]
Tb = T_boiling + 273;// [K]
a = 0.4344;// [g]
b = 44.16;// [g]
Lv = 121;// [cal/g]
T_new = 118.1;// [OC]
R = 2;// [cal/mol K]
//**************//
delta_Tb... |
057abfe4ca815c8958543e144f1071c8954de9c9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fiber_Optics_Communication_H._Kolimbiris_2855.zip/Fiber_Optics_Communication_H._Kolimbiris_2855/CH12/EX12.24/Ex12_24.sce | 91a1408ae1cdf4e4a0cd5bd860246241a76804cd | [] | 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 | 191 | sce | Ex12_24.sce | errcatch(-1,"stop");mode(2);//Chapter 12
//page no 492
//given
;
all;
OBR=-40; //in dB
//y=Pref/Pin
y=10^(OBR/10);
printf("\n Prefl = %0.2f percent Pin",y*100);
exit();
|
1a9416376c75518292ac520bd601b0de021655f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH18/EX18.6/18_6.sce | 48221d258de485efa5d249382c15a02cf2d1d82c | [] | 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 | 241 | sce | 18_6.sce | clc
//initialisation of variables
clear
L2= 4120 //cal
l= -108 //cal mole^-1
L21= -306 //cal mole^-1
n1= 55.5 //moles
n2= 1 //mole
//CALCULATIONS
Q= L21+L2
//RESULTS
printf ('differential heat of solution = %.f cal mole^-1',Q)
|
3b13025d282d227a658d41ccfe9b1fc56f86c096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH8/EX8.12/Chapter8_example12.sce | 0c272fac2a9b4af73d7ae02da41ec35d813718aa | [] | 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,280 | sce | Chapter8_example12.sce | clc
clear
//Input data
CO2=12//Volumetric analysis composition in percent
CO=4//Volumetric analysis composition in percent
N2=84//Volumetric analysis composition in percent
mO2=32//Molecular weight of O2
mCO2=44//Molecular weight of CO2
mCO=28//Molecular weight of CO
mN2=28//Molecular weight of N2
mC=12//Mole... |
412b51932bfea3806de79f94772056bb4d60f6e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH6/EX6.7/6_7.sce | 9451a0641d68e2d333ed75b6f14d786674127a37 | [] | 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 | 382 | sce | 6_7.sce | clear
clc
disp('Exa-6.7');
n1=3;n2=2;Z=4;hc=1240;
delE=(-13.6)*(Z^2)*((1/(n1^2))-((1/n2^2)));
w=(hc)/delE; //for transition 1
printf('The wavelngth of radiation for transition(2->3) is %f nm\n',w);
n1=4;n2=2; // n values for transition 2
delE=(-13.6)*(Z^2)*((1/n1^2)-(1/n2^2));
w=(hc)/delE;
printf('The wav... |
2b97d8ccdf784d099edb570bec424fca20267e67 | a3629d03db989d1960fcdb953d9c4534276d5071 | /fear_con_capsaicin_hab_acq_ext_new.sce | d6f622382c8babeb7d97d57368950def7b876b60 | [] | no_license | katforkmann/TestGitBingellab | 09eaa4bedf5d5b5d5c7bc23cfc631fdc95e68e6d | fbe0bd541ba8ed401934207cfa9d193106669c43 | refs/heads/master | 2021-06-23T03:47:47.486446 | 2021-06-06T16:15:24 | 2021-06-06T16:15:24 | 161,762,836 | 0 | 1 | null | 2021-06-06T16:15:24 | 2018-12-14T09:34:40 | Scilab | UTF-8 | Scilab | false | false | 8,319 | sce | fear_con_capsaicin_hab_acq_ext_new.sce | #=========================================================================
# Scenario file adjusted by marvdsch for capsaicin experiment (jan 2018)
#=========================================================================
#==========================================
#------------SDL header part---------------
... |
82c363d7b920c19ec5fe474a5d0fa161c5555da5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH7/EX7.1/EX1.sce | e96969d94382730bb39ff30f90783d5b573f03cb | [] | 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 | 318 | sce | EX1.sce | // Example 7.1: Transfer curve
clc, clear
IDSS=12; // in mili-amperes
VP=-5; // in volts
// Plotting transfer curve
VGS=[0:-0.01:VP]; // Gate source voltage in volts
// Using Shockley's equation
ID=IDSS*(1-VGS/VP)^2; // Drain current in mili-amperes
plot(VGS,ID);
xtitle("Transfer Curve","VGS (V)","ID (mA)"); |
7a47b047ae781485298c2a66188552aa7f734a46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH5/EX5.5/Example5_5.sce | 43c88327d7041bce2ff9af4307dab6d8daed4ede | [] | 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 | 914 | sce | Example5_5.sce |
clear;
clc;
printf("\t Example 5.5\n");
h=100; //convective heat transfer coefficient, W/(m^2*K)
k=0.63; // thermal conductivity,W/(m*K)
//the short exposure to the flame causes only a very superficial heating,so we consider the finger to be semi-infinite region.it turns out that the burn threshold of human sk... |
1906889945af9b72fb8d9a70cba6979ae564da79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH21/EX21.3/Ex21_3.sce | a570e315673f800d5817f92becb9721578adc18b | [] | 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 | 820 | sce | Ex21_3.sce |
funcprot(0)
//calculating pitch factor
beta=0//full pitch coil
Kc=cos((beta/2)*%pi/180)
mprintf("Pitch factor, Kc=%d\n", Kc)
//calculating distribution factor
m=4//no. of slots per pole per phase
x=m*3//no. of slots per pole
alpha=180/x//phase displacement between adjacent slots in degrees
Kd=sin((m*alpha/2)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.