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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31c897696013ac05e9f402aab9b9745cd0b7251d | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH2/EX2.35/ex2_35.sce | 14572262ee6a2ca73ae9ff23ccd4d440e1499bf6 | [] | 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 | 257 | sce | ex2_35.sce | //Example 2.35
clc
funcprot(0);
printf("Enter the value of n:");
n=scanf("%d");
count=1;
sum=0;
while count <= n
printf("x = ");
x=scanf("%f");
sum = sum + x;
count = count+1;
end
|
04bfa07176e2a7ec3663c49acb71bc98b6b19cec | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.8_19.tst | 13a6982a74f6d99936cbeee415588b543767d9f2 | [] | 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,637 | tst | bow.8_19.tst | 8 6:1.0 9:1.0 12:0.25 22:0.3333333333333333 46:0.08333333333333333 48:1.0 52:0.2 53:2.0 55:0.125 58:0.08695652173913043 64:0.14285714285714285 74:0.5 107:1.0 133:0.16666666666666666 162:1.0 176:1.0 335:1.0 361:0.25 466:1.0 711:1.0 1044:1.0 1130:1.0 1166:1.0
8 1:1.0 12:0.25 55:0.125 171:1.0
8 5:0.1111111111111111 6:1.0 ... |
bf534a60ccf69ead3147c382878b71c3df6c3cea | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH3/EX3.12/ex3_12.sce | 6f77e720c3cae94b660371a75412cccb17c797d4 | [] | 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 | 289 | sce | ex3_12.sce | clc
vl=400 //assigning values to the parameters
t=0
zph=50
vph=vl/sqrt(3)
iph=vph/zph
il=iph
p=sqrt(3)*vl*il*cos(t)
disp("Watts",polar(p),"Power taken is")
iph=4
il=iph
p=vl*il*cos(t)
disp("Watts",polar(p),"Power taken after disconecting one of the resistor is") |
058faa96c98532392aa6f5de6d98d9797b5a07e4 | 899cecef18712265c22e100bf72286df1ec5fb65 | /Examples/Gradient Plot.sci | f738a6711b3a3f8a3cdf92f59bf7d666443dda4e | [] | no_license | ajaykumarkannan/Speech-Signal-Processing-and-Coding | 449679bef8bdf0215e96521163774f88d8a6b41e | c1d371b2866239a89312a0f64db3d61cc0b1011c | refs/heads/master | 2020-05-17T17:02:33.143586 | 2012-11-15T12:48:40 | 2012-11-15T12:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sci | Gradient Plot.sci | // simple plot using z=f(x,y)
t=[0:0.1:6*%pi]';
z=sin(t)*cos(t');
[xx,yy,zz]=genfac3d(t,t,z);
sz = size(zz);
plot3d([xx],[yy],list([zz],[5*ones(1,sz(2))]));
h=gce(); //get handle on current entity (here the surface)
k=gcf(); //get the handle of the parent figure
k.color_map=bonecolormap(512);
h.color_fla... |
a5b8564daa31e5eea31032c47c05bd0144522f7f | 963bd9c63f26da53378cec5e7d7698e00e31d437 | /solvers/Reduce/xmpl/susy2.tst | ad2fc8dd1f3eebb5f2362045ce5dc1020bfdc6dc | [] | no_license | vananhnt/Vtse-VerificationTool | 0b7590eaba056d9325c8e73d538451ef94ccd48c | fafa76de5efac2409b12f58cb1f45ba3d8388f5f | refs/heads/master | 2022-12-01T02:55:37.765396 | 2020-07-28T13:31:05 | 2020-07-28T13:31:05 | 95,702,486 | 1 | 1 | null | 2020-07-28T13:30:26 | 2017-06-28T19:05:12 | Red | UTF-8 | Scilab | false | false | 11,102 | tst | susy2.tst | on list;
on errcont;
% 1.) Example of ordering of objects such as fer,bos,axp;
axp(bos(f,0,0))*bos(g,3,1)*fer(k,1,0);
%fer(k,1,0)*bos(g,3,1)*axp(bos(f,0,0));
% 2.) Example of ordering of fer and fer objects
fer(f,1,2)*fer(f,1,2);
% 0
fer(f,1,2)*fer(g,2,3);
% -fer(g,2,3)*fer(f,1,2);
fer(f,1,2)*fer(f,1,3);
% - fer(f,1,... |
979fc7c06bab01f380d165868d59785d7915d3a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH11/EX11.2/ch11_2.sce | 5c6f2e5c0a30dc4c791feb7f733d65b75fb153b9 | [] | 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,113 | sce | ch11_2.sce | clc;
clear;
printf("\t\t\tChapter11_example2\n\n\n");
// Calculation of the value of the solid angle subtended by surfaces dA2 with respect to dA1 (b) the rate at which radiation emitted by dA1 is intercepted by dA2 (c) the irradiation associated with dA2
printf("\t\t\tSolution to Part (a)\n");
// solid angle is calc... |
a5667b7530375227536999a3eb7fbb363ac9cb4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.23/example5_23.sce | 9c1869830527a9c53a2cc07b148e1942cae049b8 | [] | 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 | 473 | sce | example5_23.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.23
// Page 253
printf("Example 5.23, Page 253 \n \n");
// solution
// basis feed gas = 12000 Nm^3 = 535.4 kmol/h
T1 = 147.65 // K
n1 = 535.4*.3156 // kmol/h HP tail gas stream
T = 118.5 // K
n2 = (535.4-n1)*.0602 // kmol... |
f416b178d2c10cbbca25786f6556a247af64cbb9 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3901/CH1/EX1.6/Ex1_6.sce | 7dc203190c549adac90cfd473ccacb3a4be9e538 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex1_6.sce | clc
clear
//defining unit step function
function y=u(x)
y=sign((sign(x)+1))
endfunction
deff('[y]=f(x)','y=t.*(u(t)-u(t-2))-2*(t-3).*(u(t-2)-u(t-3))');//finding expression for the given signal
t=-1:0.01:4;
plot(t,f(t));//plotting the signal
h=gca();
h.grid=[1,1]
|
0d9bfbc8163a0dd1581572cb2c21bf6707cfc7e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH3/EX3.4/Chapter3_Example4.sce | 451cab62c0e781a63a79ea089b4bb0ffd8092ed7 | [] | 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 | 732 | sce | Chapter3_Example4.sce | clc
clear
//Input data
T=4;//Time taken for a liquid to cool from 70 to 50 degree centigrade in minutes
t11=70;//The initial temperature of the liquid in degree centigrade
t12=50;//The final temperature of the liquid in degree centigrade
t21=50;//If the initial temperature of the liquid in degree centigrade
t... |
3ab792a2ce2daee097caeaf8e7eb961aad51033e | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH16/EX16.6/6.sce | 17e0a7154405ae02b0245d5e2f37bdee25ee5adf | [] | 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 | 166 | sce | 6.sce | clc
p=88.3; //kN/m^2
T=271; //K
M=40*%pi/180;
y=1.4;
R=287; //J/kg K
C=sqrt(y*R*T);
V=C/sin(M);
disp("Velocity of the projectile =")
disp(V)
disp("m/s") |
ddfadc8b0390cb3bf1c4313d368eacb9aaae27e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH9/EX9.3/Ch09Ex3.sce | b56893119ae7c0cb4ae3e9145d89986a66e81425 | [] | 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 | 830 | sce | Ch09Ex3.sce | // Scilab code Ex9.3: Pg 311 (2005)
clc; clear;
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
B = 1.00; // Magnitude of magnetic field, tesla
n = 2; // Initial state of the hydrogen atom
mu_B = 9.27e-024; // Bohr's magneton, J/T
E_Z = mu_B*B/e; // Zeeman energy, eV
E2 = -13.6/n^2; // Energy of ... |
529cb22358e5889f35db7de98769230887847bce | ff7e62defca691d8c83962fda99efefbdd0e68e2 | /1251-1309.tst | 0d8cc7baf03a129feebda8c02bf19199c7599448 | [
"MIT",
"Unlicense",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ace34TT/sihm-1251-1309 | c8eed14c5bc7ba89c15a334cc681d1a369597f18 | 14aae341ed25765ebf8a5649982ea4739bf0f21d | refs/heads/main | 2023-07-20T14:41:58.303795 | 2021-08-28T11:05:44 | 2021-08-28T11:05:44 | 398,739,559 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | tst | 1251-1309.tst | Rabenandrasana Tafinasoa 1251
Mihaja Antonio 1309
|
b1c1be683a3a0234ab8273aa869819e0e233a0e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH4/EX4.8/Ex4_8.sce | d77eab6b3e2fff6c9ff9bc8b6c4db012b3a9014d | [] | 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,358 | sce | Ex4_8.sce | // Given:-
T1 = 293.0 // In kelvin
P1= 1.01325 * (10**5) // In pascal
V1max= 1.3 // maximum velocity of entering air in m/s
T2max= 305.0 // maximum temperature a... |
c1d5549016356dfe0b4e53e4d210ac04619a24f1 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/blackmanharris.sci | faec39ad2bcad15ce750a26dc9464810f703eaf7 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sci | blackmanharris.sci | function w = blackmanharris (m, opt)
funcprot(0);
rhs= argn(2);
if (rhs < 1 | rhs > 2)
error("Wrong Number of input arguments");
end
if (~ (isscalar (m) & (m == fix (m)) & (m > 0)))
error ("blackmanharris: M must be a positive integer");
end
N = m - 1;
if (rhs == 2)
select (opt)
... |
09d3c658d0b3c94d71b7b7f9a9d261c521502843 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Zeeq's Bounce TargetSwitch.sce | edf72e5ad947dee5b2a68fadced4f5ed99009887 | [] | 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 | 88,295 | sce | Zeeq's Bounce TargetSwitch.sce | Name=Zeeq's Bounce TargetSwitch
PlayerCharacters=ZBTS Player
BotCharacters=ZBTS Launcher.bot;ZBTS T Randomized.rot;ZBTS M Randomized.rot;ZBTS B Randomized.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=ZBTS Player
AddedBots=ZBTS Launcher.bot;ZBTS T Randomized.rot;ZBTS M Randomized.rot;ZBTS B Randomized.rot
Pl... |
09e65ef6880f87936112efcf9614be79d683568c | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH3/EX3.6/Example3_6.sce | c4e1372afa781240714cb7587446b63b74728a8a | [] | 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 | 758 | sce | Example3_6.sce | //Example 3.6
//Program to estimate Material dispersion parameter and rms pulse
//broadening per kilometer
clear;
clc ;
close ;
//Given data
lambda=0.85*10^(-6); //metre - WAVELENGTH
L=1; //km - DISTANCE
MD=0.025;//MATERIAL DISPERSION = mod(lamda^2*[del^2(n1)/del(lamda)^2)
c=2.998*10... |
3cf444ff1132263b40d7588b78a856fb6dc2320d | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/generalizedda.sci | b55b8b0a30eb6ef7310f31e3ce8801a9cb96e432 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | WINDOWS-1250 | Scilab | false | false | 4,344 | sci | generalizedda.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Version: 0.1
// Date: Nov 2009
// Description: Generalized Discriminant Analysis(GDA)
// Reference: G. Baudat, F. Anouar, ˇ°Generalized Discriminant Analysis Using
// a Kernel Approach", Neural Computa... |
87b3a22df7d05e7a742faedef430269f3eb48505 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.59/ex_3_59.sce | 39b489ef3d3cc40d5270e0d8716551b78b2e091d | [] | 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 | 286 | sce | ex_3_59.sce | //Example 3.59: capacitance and resistance
clc;
clear;
close;
e1=5000;//volts
r1=500;//ohm
l1=0.18;//H
r2=1000;//ohm
r4=r2;//ohms
x=(r1/(e1^2*l1));//
y=((r2*r2)/(1+((e1^2)*x^2)));//
c3=((l1/y));//F
r3=(x/c3);//
disp(c3*10^6,"capacitance is,(micro-F)=")
disp(r3,"resistance is,(ohm)=")
|
0362589f15833c9b5ca8645926717ce2cf84d247 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.62/EX2_62.sce | 39c697a51d1bee5fc257738d892452b7c930197b | [] | 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,432 | sce | EX2_62.sce | //EXAMPLE 2-62 PG NO-105-106
Z1=24+%i*18;
Z2=24-%i*10;
Z3=2-%i*0.148;
R1=24;
R2=24;
R3=32;
R4=16;
V=2;
v1=128.3;
I=2;
I3=32+%i*24;
I4=16-%i*30;
Z=Z1+Z2;
disp('i) IMPEDANCE (Z) is in polar form = '+string (Z) +' ohms ');
I1=[Z2/(Z1+Z2)]*Z3;
disp('i) CURRENT (I1) is in po... |
2783f1a6e1b9aaf4e332f19ecff7ef4b7305a10b | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/demos/fraclab/fraclab4.sce | c98343eb2b84f97c0094b92249425efb5619e7bb | [
"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 | 1,100 | sce | fraclab4.sce | xbasc();xselect();
ystr=['Characteristic exponent (real in [0,2]) ' ;
'Skewness parameter (real in [-1,1]) ' ;
'Location parameter (real) ' ;
'Scale parameter (real) ' ;
'Sample size (integer) '] ;
w=x_mdialog('Choose Alpha Stable Process parameters',...
ystr,['1.5';'0';'0';'1';'5000'])
if w==[],re... |
2584e8986601f618860be4fd5f21b0979dc28118 | ae5dd53f205ddce7fda43b839efe6d215e4d7ce2 | /05/StoreLogic.tst | 43b9043a56ca9806e4703bb7b17f14fc2db212fd | [] | no_license | jfitzell/nand2tetris | 868103c681af9754db439fe941ef102be5e4f07c | f3c291e2ccdb8b2b1d5913dfb230093f5ba3cbb3 | refs/heads/master | 2021-01-10T09:09:44.113112 | 2016-03-09T11:22:46 | 2016-03-09T11:22:46 | 53,068,598 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | tst | StoreLogic.tst | load StoreLogic.hdl,
output-file StoreLogic.out,
//compare-to JumpLogic.cmp,
output-list i dest%B1.3.1 storeA%B3.1.3 storeD%B3.1.3 storeM%B3.1.3;
set i 0,
set dest %B000,
eval,
output;
set i 0,
set dest %B001,
eval,
output;
set i 0,
set dest %B010,
eval,
output;
set i 0,
set dest %B011,
eval,
output;
set i 0,
set ... |
60001944f86c8c388e95e6538221b710b18cfa4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH30/EX30.3/Ex30_3.sce | 742216caf786c3293bde7fb9f3200fa7730de96b | [] | 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 | 607 | sce | Ex30_3.sce | //Example 30.3
l=1;//Angular momentum quantum number
h=6.63*10^-34;//Planck's constant (kg.m^2/s)
L=sqrt(l*(l+1))*h/(2*%pi);//Angular momentum vector (kg.m^2/s)
printf('Angles that L can make with the z-axis:\n')
for ml=1:-1:-1//ml is the angular momentum projection quantum number (for l=1, ml can be +1,0 or -1)
... |
c33b8914523d1ed798705011a4da9e0a97f9a3f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.12/exa7_11.sce | d8c8d4bbf33af199e24ad65b7b04c89ffd4d081d | [] | 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 | 358 | sce | exa7_11.sce | // Example 7-11
// Nyquist Plot
clear; clc;
xdel(winsid()); //close all windows
s = %s;
num = 1;
den = s * (s + 1);
G = syslin('c',num,den);
scf();
a = gca();
a.clip_state = 'on'; //clip the extra nyquist plot
nyquist(G,-1000,1000);
xgrid(color('gray'));
xtitle('Nyquist plot of G(s) = 1 / (s * (s + 1))');
a.data_... |
f13b15d03ef329b9f5919dfd4b833cc95a1e445f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH19/EX19.2/EX19_2.sce | 0b746ef96d24572f733c2cb99a1e396f0a7378cc | [] | 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 | 478 | sce | EX19_2.sce | //Finding of vane angle , Work done , Efficiency
//Given
D1=0.6;
D=0.3;
a=30;
b=0.05;
N=1200;
g=9.81;
Hm=75;
Vf=3;
rho=1000;
B1=1;
//To Find
u=(%pi*D*N)/60;
u1=(%pi*D1*N)/60;
Q=%pi*D1*B1*Vf;
a=atand(Vf/u);disp(u1);
Vw1=((u1*tan(%pi/6))-Vf)/tan(%pi/6);
W=(rho*g*Q*u1*Vw1)/g;
W1=W/1000;
E=((g*Hm)/(u1*V... |
34c127ca646df46c9c669e253fb981547033fcb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH11/EX11.1/ex11_1.sce | e85769ba1c7251f45e245c11430774e2c540d186 | [] | 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 | ex11_1.sce | // Example 11.1, page no-332
clear
clc
ld=2000//kg
g=9.8//m/s^2
r=0.005
force=ld*g
stress= force/(%pi*r^2)
printf("The stress produce in an aluminium alloy is %.1f MPa",stress*10^-6)
|
83e4ac48ca2204067f2d17e0e66a4f278c643799 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/roiPoly/test6.sce | 7241927a04878dd8a6794dc94b0c0957b3136a0e | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 144 | sce | test6.sce | I = imread('../images/color2.jpeg');
c1 = [200 250 300 250 200 150 200]
r1 = [ 170 170 135 100 100 135 154]
BW = roiPoly(I,c1,r1);
imshow(BW)
|
35de0a75aa49f08829a1c395c7820360d319188d | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH2/EX2.5/Example2_5.sce | 7fd619bedeb336fa59ef9adafe48431761bb839c | [] | 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 | 631 | sce | Example2_5.sce | //Given that
conv = 5/18 //converts velocity from km/h to in m/s
speed_initial = 100 * conv //in km/h
speed_final = 80 * conv //in km/h
displacement = 88 //in meter
//Sample Problem 2-5a
printf("**Sample Problem 2-5a\n")
//using newton's 3rd equation of motion
acceleration = (speed_final^2 - speed_initia... |
f10d457c352e6c8bfa608ad260c3f754efab6ceb | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /arxc.sci | eee5fa89b7086892cf886f9247fc5747288203ef | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 994 | sci | arxc.sci | function [thetaN_arx,covt_arx,nvar,res] = arxc(data,na,nb,nk)
az = max(na,nb+nk-1);
zer = zeros(az,1);
zd = data;
// Zeros appended
zd1(:,1) = [zer; zd(:,1)];
zd1(:,2) = [zer; zd(:,2)];
[r,c] = size(zd1);
t = az+1:r;
yt = zd1(:,1); ut = zd1(:,2);
yt1 = yt'; ut1 = ut'; // row vector
len1 = length(yt1);
yt2 = zeros(1,l... |
b922ceec44f85af975bcbfa3a203cc4fba14aec0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH6/EX6.12/Example_6_12.sce | 10e5751767d58bc4bd88be83eb6afb2bf5c6759f | [] | 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 | Example_6_12.sce | // Example 6.12 Find the trend for the following
clc;
clear;
Year=[1 2 3 4 5 6 7 ];
Val=[2 4 5 7 8 10 13];
MV1=0;
MV7=0;
MV2=Val(1)+Val(2)+Val(3);
MV3=Val(2)+Val(3)+Val(4);
MV4=Val(3)+Val(4)+Val(5);
MV5=Val(4)+Val(5)+Val(6);
MV6=Val(5)+Val(6)+Val(7);
MV=[MV1 MV2 MV3 MV4 MV5 MV6 MV7];
MA=MV./3;
disp(MA,"3 ... |
3763883e84dba9d95476f2ef763b4f6c52a92e54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH2/EX2.10/ex_2_10.sce | 8d83c35999757d4d14fbbfa4aac1ea204358b5d3 | [] | 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 | ex_2_10.sce | ////Ex 2.10
clc;
clear;
close;
format('v',9);
Beta=100;//unitless
VBE=0.7;//V
R=18.6;//kohm
VT=26;//mV
VCC=5;//V
VEE=5;//V
IExt=(VCC-VBE-(-VEE))/R;//mA
IT=IExt;;//mA
re=2*VT/IT;//ohm(let re1=re2=re)
Rid=2*Beta*re/1000;//kohm(let Rid1=Rid2=Rid)
disp(Rid,"Differntial input resistances, Rid1=Rid2(kohm)");
|
63d1fc1965e4a3850c24c15221d97b094062958d | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/armcov.sci | e36b4c7d809a434f1d8d050664492761fc41f31c | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,374 | sci | armcov.sci | //Autoregressive all-pole model parameters — modified covariance method
//Calling Sequence-
//a = armcov(x,p)
//[a,e] = armcov(x,p)
//Parameters
//x:input signal
//p:order
//a:output of an AR system driven by white noise
//e:variance estimate
//Description
//This function uses the modified covariance method to fit a pt... |
f8df5ca3d376b4d278e8664d0e5c2e504c1127fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/DEPENDENCIES/number_of.sci | 04545d34846bb99b6c0e2264c5d805c0d0809067 | [] | 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 | 255 | sci | number_of.sci | //finds the number of z's in the matrix A
function res=number_of(a,z)
res=0;
for i=1:max(size(a(:,1)))
for j=1:max(size(a(1,:)))
if(a(i,j)==z)
res=res+1;
end
end
end
endfunction |
ad805f1171d657868f299a4c08f3c068e91ba065 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH3/EX3.8/3_8.sce | fb2abfa35d441ca713093d9b1b7025dcb9ce028d | [] | 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 | 445 | sce | 3_8.sce | //Eg-3.8
//pg-87
clear
clc
//checking whether cholesky decomposition can be performed on a matrix
A=[1 0.5 0;.5 1 0.5;0 .5 1];
if A==A' then
printf('The matrix A is symmetric and we have to check whether it is positive definite or not.\n')
end
for k=1:3
s(k)=det(A(1:k,1:k));
end
j=min(s)... |
8a0b32f87c075a0470bc66b4f7a95ccf24ec6283 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH8/EX8.16/Example8_16.sce | 227d5ecdaaa5fefaf9b425388df079b19b870c4d | [] | 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 | 481 | sce | Example8_16.sce | //chapter8,Example8_16,pg 209
n=2
grat=1/5000//transmission grating
lam=5893*10^-8
dtheta=(2.5*3.14)/(180*60)//change in angular displacement(in radian)
//(a+b)=grat
//dlam=((a+b)cos(theta)/n)dtheta
theta=acos(sqrt(1-(((n*lam)/grat)^2)))
dlam=(dtheta*grat*cos(theta))/n//difference in wavelength
f=30//focal leng... |
65443560a68003ec31a757caa5b64502a17016e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH39/EX39.33/Example39_33.sce | 52a207005c521f87a9fec1a88a8c9eef8a9164c6 | [] | 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,204 | sce | Example39_33.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
// EXAMPLE : 1.33 :
// Page number 712-713
clear ; clc ; close ; // Clear the w... |
0f952a114e5ed7cc569bc38cf3824ef915261d4b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fluid_Power_With_Applications_A._Esposito_788.zip/Fluid_Power_With_Applications_A._Esposito_788/CH7/EX7.3.b/7_3_soln.sce | 0ea265d932f9a9804d04a814f1c12d68b8b6d3db | [] | 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 | 874 | sce | 7_3_soln.sce | errcatch(-1,"stop");mode(2);;
pathname=get_absolute_file_path('7_3_soln.sce')
filename=pathname+filesep()+'7_3_data.sci'
exec(filename)
// Solution:
// theoretical flow-rate,
Q_T=V_D*N/231; //gpm
// volumetric efficiency,
eta_v=(Q_T/Q_A)*100; //%
// theoretical torque,
T_T=(V_D*p/(2*%pi)); //in.lb
// mechanical effici... |
fca87e8eb20b63012c6bd7e3d10f796ba335efb3 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Phsrawpersdata.sci | 21677841676e554c8b010731a3b345684c4bb2c3 | [] | 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 | 102 | sci | Phsrawpersdata.sci | // 08.08.22
// 09.10.27
function Phsrawpersdata(Fdata)
Out=Facesdata(Fdata,'rawpers')
endfunction
|
3f4554c01a74122d47becd0d5e1d773a33bea930 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH1/EX1.9/ex_1_9.sce | aeda41e645cc0ad84af1ca0a14f5b7cdd1e5e8d3 | [] | 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 | 489 | sce | ex_1_9.sce | //Example 1.9 // wavelength of ligth
clc;
clear;
//given data :
u=1.5;//referactive index of bi-prism
a=50;// distance between source & prism in cm
c=50;// distance between prism & screen in cm
A=179;// angle of bi-prism in degree
D=a+c;//distance between source and screen in cm
b=.0135;//fringes width in cm... |
13c9c2431e9e0eddead11892fd3858e1a10832bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH1/EX1.10.u1/Ex1_10_u1.sce | b70b8df5a190c4dd6c988a68dcd1f237ec77be7f | [] | 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 | Ex1_10_u1.sce | //Example 1_10_u1
clc();
clear;
//To find the diameter of the 20th dark ring
D4=0.4 //units in cm
D12=0.7 //units in cm
//As we have (D20^2-D4^2)/(D12^2-D4^2)=(4*16)/(4*8)
ans=(4*16)/(4*8)
D20_2=(ans*((D12)^2-(D4)^2))+(D4)^2 //units in cm^2
D20=sqrt(D20_2) ... |
c30731c67a0558a4029fa9c2c79cf978cfa5c96a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH5/EX5.1/Ch05Ex1.sce | 8d5ef8083578342c046e2574922046b20eed9bfa | [] | 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 | Ch05Ex1.sce | // Scilab Code Ex5.1: Page-176 (2006)
clc; clear;
h = 6.626e-34; // Planck's constant, Js
h_bar = h/(2*%pi); // Reduced Planck's constant, Js
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
m = 9.1e-031; // Mass of an electron, kg
// For Na
n_Na = 2.65e+28; // electronic concentration of Na, per me... |
0f0f9293937b46f7aa75c64cfb92a9b48e253458 | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Ordem da Equação.sce | 0c8fa7660c39d4fafc74eff7db0ea48166befb87 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | Ordem da Equação.sce | clc
clear
close
deff('y2dot=f(ydot,y)','y2dot=-4*y-0.8*ydot');
y(1)=5e-3;
ydot(1)=0;
y2dot(1)=f(ydot(1),y(1));
dt=.05;
t=0:dt:10;
for i=2:length(t)
ydot(i)=ydot(i-1)+dt*y2dot(i-1);
y(i)=y(i-1)+dt*ydot(i-1);
y2dot(i)=f(ydot(i),y(i));
end
Y=[y ydot y2dot]; // [azul,verde,vermelho]
X=[t' t' t'];
plot(X,Y)
... |
17324c8b034cc9cd3a0d44579031000e010b22e7 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.5_14.tst | 62e6c54982b73e8bb18c4dbac5b05e037fafc3b8 | [] | 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 | 31,859 | tst | bow.5_14.tst | 5 4:0.5 6:0.4 7:1.0 8:0.16666666666666666 12:0.2857142857142857 20:0.25 21:0.4 23:1.0 26:0.022222222222222223 38:1.0 48:1.0 49:0.015503875968992248 51:2.0 55:0.5 64:0.375 68:0.5 71:2.0 100:0.038461538461538464 133:1.5 137:1.0 176:1.0 183:1.0 190:0.2 236:0.1111111111111111 366:1.0 383:1.0 407:1.0 483:2.0 611:1.0 647:1.0... |
08c79190974dc1d6a5ddc76aefa3db4667acdc14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.7/Ex3_7.sce | d482a921a0f0f6a25a466dd32322587dbf4ee6d8 | [] | 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 | 565 | sce | Ex3_7.sce | //===========================================================================
//chapter 3 example 7
clc;clear all;
//variable declaration
er = 0.01; // limiting error
P = 1000; //power in watts
P1 = 100; // true power in watts
//calculations
dP =... |
13654e46c7b6539f2168eebb9a723c3ceb8b1719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH9/EX9.4/example_9_4.sce | a53ae096ffc57cf2bb72a311761a57f3c79c6e25 | [] | 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 | example_9_4.sce | //example 9.4
clc;
clear;
//b= input('Enter the number of bits :');
//c= input('Enter the clock frequency in Mhz :');
b= 8; // given values
c=10;
t= 1000/c;
printf('One clock period takes %d ns\n',t); //displying the results
tt=t*b;
printf(' Time required by total bits required is %d ns',tt);
|
6fb6c927976c7bf9688d48e3272767a688c1ed30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH11/EX11.11/11_11.sce | 745b06f8054bed10926491045fc4a49d40a909d8 | [] | 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,046 | sce | 11_11.sce | //Example 11.11
//Generalized Eigenvalue Problem
//Page no. 365
clc;close;clear;
A=[1,1,0.5;1,1,0.25;0.5,0.25,2]
B=[2,2,2;2,5,5;2,5,11]
disp(B,"B =",A,"A =")
for i=1:3
G(i,i)=sqrt(B(i,i))
end
G=[B;eye(3,3)];
//transformation to frobenius matrix
for k=3:-1:2
g(k)=0;
for j=1:k-1
if(... |
8878bd1d37bb26c59bb75006963361de9e066521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH2/EX2.4/example2_4.sce | 97dfa8bbb2428244efa9fddf75b66870d5db12c6 | [] | 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 | example2_4.sce | //clc()
Q1 = 10000;//kJ/hr
kJ = 1000;//J
hr = 3600;//s
Q = Q1*kJ/hr;//J/s
disp("J/s",Q,"Q = ")
x = 0.1;//m
A = 1//m^2
T = 800;//K
k = x*Q/(A*T);
disp("W/(m*K)",k,"thermal conductivity = ")
J = 1/4.1868;//cal
k1 = k*J*hr/1000;
disp("kcal/(h*m*C)",k1,"thermal conductivity = ") |
c19f1fdefd2e9dd7d6f2e2dd1fc1bb845f661448 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH5/EX5.6/5_6.sce | 08e557ea20631b4e5c3f254637e9cf106d10d5db | [] | 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 | 397 | sce | 5_6.sce | //Find Linear Density per unit length
//Ex:5.6
clc;
clear;
close;
a=3.61*10^-10;//unit cell in m
r_110=2/(sqrt(2)*a);//in atoms/m
r_a=r_110/10^3;//in atoms/mm
disp(r_a,"Linear Density per unit length along direction [110] (in atoms/mm) =");
r_111=1/(sqrt(3)*a);//in atoms/m
r_b=r_111/10^3;//in atoms/mm
disp(r... |
bb9675af934d8e3ab15c050b5406131e299c8f37 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/firpmord/firpmord8.sce | 0a87cf1a7a9ba72bb2c79fc7ec8e966390381ba3 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | firpmord8.sce | //negative values for i/p arg f
f = [-1500 -1300];
a = [1 0];
dev = [0.01 0.1];
fs = 8000;
[n,fo,ao,w] = firpmord(f,a,dev,fs);
disp(n);
//output
//!--error 116
//firpmord: Wrong value for argument #1 (f): Values must be between 0 and fs/2
//at line 109 of function firpmord... |
41ef3dac1fb35350803c566f41320800755d66ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH6/EX6.14/6_14.sce | e4a83debbe5b753c04dcbca5b13fffb6fd91b8de | [] | 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 | 491 | sce | 6_14.sce | clc;
capacity_ac=778;//m^3/h
capacity=168.9;//m^3/h
red=(capacity_ac-capacity)*100/capacity_ac
disp("percentage reduction in air pump is:");
disp("%",red);
ms2=4.35;//kg/h
ms1=20000;//kg/h
ma1=6;//kg/h
ma2=ma1;
mc=20000;//apprx
hs2=2550.3;
hc=150.7;
hs1=2570.1;
cp=1.005;
T1=38;
T2=27;
ha1_ha2=c... |
a3e5bd5bd4009e4b4009866a35ccc459b93a4d63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH14/EX14.4/144.sce | a542f3930b4fc5462863c9c3b2a17ca05cd15267 | [] | 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 | 836 | sce | 144.sce | clc;
//Example 14.4
//page no 154
printf("Example 14.4 page no 154\n\n");
//for turbulent fluid flow in across section
//(a) for a rectangle
w=2//width of a rectangle,in
h=10//height of rectangle,in
S_a=h*w//cross sectional area
P_a=2*h+2*w//perimeter of rectangle
D_eq_a=4*S_a/P_a//equivalent diameter
prin... |
9fe330dbbacb577427152f7be544ae7ce4eff32e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH5/EX5.13/5_13.sce | 0a86eed7ef6aa2e0af852013a59794101840047a | [] | 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 | 274 | sce | 5_13.sce | clc
//initialisation of variables
L= 50 //ft
d= 2 //ft
h= 4 //ft
Cd1= 0.58
Cd2= 0.8
g= 32.2 //ft/sec^2
//CALCULATIONS
ha= h/(2*g)
Q1= (2/3)*Cd1*L*sqrt(2*g)*((h+ha)^1.5-ha^1.5)
Q2= Cd2*L*d*sqrt(2*g*(h+ha))
Q= Q1+Q2
//RESULTS
printf ('Discharge= %.f cuses',Q)
|
e297f5e1c8d2b186a68114a12e1a098ee353bead | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH7/EX7.13/Ex7_13.sce | b2eb77f35efb3319f4cbb0e544d858e091666008 | [] | 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 | 207 | sce | Ex7_13.sce | clear
//Given
V=200 //V
P=500.0 //W
V1=160 //v
//Calculation
R=V**2/P
H=V1**2/R
P1=P-H
H1=P1*100/P
//Result
printf("\n Heat percentage is %0.3f percentage", H1)
|
59945b0da6de79c654a89ca6020e16c3d1b7f1e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH2/EX2.25/exa_2_25.sce | b74c096830cb941392854daa1d65918660cb51a6 | [] | 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 | 592 | sce | exa_2_25.sce | // Exa 2.25
clc;
clear;
close;
// Given data
x1= 41.7;
x2= 42;
x3= 41.8;
x4= 42;
x5= 42.1;
x6= 41.9;
x7= 42.5;
x8= 42;
x9= 41.9;
x10=41.8;
n=10;
// (i)
x_bar= (x1+x2+x3+x4+x5+x6+x7+x8+x9+x10)/10;
disp(x_bar,"Arithmetic mean")
d1= x1-x_bar;
d2= x2-x_bar;
d3= x3-x_bar;
d4= x4-x_bar;
d5= x5-x_bar;
... |
6276f42d82b9affdab8acdc38927aa20440e3be5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH7/EX7.1/Example7_1.sce | f8add3519f928e9c94bf98d0449dd36ee10e9ea5 | [] | 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 | 198 | sce | Example7_1.sce | //Ex 7.1
clc;
clear;
close;
format('v',5);
//Given data :
T=10;//N-m
N=1500;//rpm
IP=1.85;//KW
//Calculation
BP=T*2*%pi*N/60/1000;//KW
FP=IP-BP;//KW
disp(FP,"Friction power(KW) : ");
|
04ba2be3fec3ee0cf80e2f5f77334809ef62fcf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.12/Ex7_12.sce | 56031b4c2852c43176b6069530bf8616d2962e9e | [] | 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 | 489 | sce | Ex7_12.sce | //Exa 7.12
clc;
clear;
close;
// given :
c=3*10^8 // speed of light in m/s
f=2 // frequency in GHz
f=2*10^9 // frequency in Hz
lambda=c/f // wavelength in m
BWFN=12 // null-to-null main beam width in degrees
// formula : BWFN=140*(lambda/D_a)
D_a=140*lambda/BWFN // mouth diameter of paraboloid reflector in ... |
820c10cb56ea1e134e48bff7225de5dcc3579d72 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/A4_POPUPS.sce | 14acc2e7b98ecfa883f2a7fcf3815b01f3a79f8e | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | A4_POPUPS.sce | jan.immediate_drawing = "off"
Historico = {HistCargas HistDesloc}
for i=1:2
Item = listaGraficos(i).value
if listaGraficos(i).enable=="on" && ~isempty(Item) && Item<>0 then
if Item==1 then
Historico{i}.visible = "on"
legend(Historico{i},Historico{i}.tag)
else
... |
53e5de57ffe1130c7895c8ded95fc3cb3847607f | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH6/EX6.14/ex14.sce | 2b9f8da97980cfbc4a142907464cda878d0da811 | [] | 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 | 530 | sce | ex14.sce | // Example 6.14 : To determine required resistor values
// The circuits generate a constant current I_D=10uA which operate at a supply of 10V
V_BE=0.7; // (V)
V_t=0.025; // (V)
I_REF=10*10^-6; // (A)
V_DD=10; // (V)
I=1*10^-3; // (A)
V_BE1=V_BE+V_t*log(I_REF/I); // Voltage drop across Q_1
disp(V_BE1,"V_BE1 (V)... |
25a27b1fd762b21cd32755db5a03082a9f093415 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH5/EX5.1/ex5_1.sce | 4efca27db275ccea142234151180f559de64aa93 | [] | 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 | 859 | sce | ex5_1.sce | // Exa 5.1
clc;
clear;
close;
format('v',6)
// Given data
I_C = 2;// in mA
I_C =I_C * 10^-3;// in A
V_CEQ = 20;// in V
h_fe = 100;
I_BQ = 20;// in µA
I_BQ = I_BQ * 10^-6;// in A
Beta = 100;
f_T = 50;// in MHz
f_T = f_T * 10^6;// in Hz
Cob = 3;// in pF
Cob = Cob * 10^-12;// in F
h_ie = 1400;// in ohm
T... |
3c931c5ff53a3edc12d4967c09913aaee366fdbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH20/EX20.3/20_3.sce | 4a1112c5ada5efbd603f3c38c99f11f890377bd0 | [] | 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 | 334 | sce | 20_3.sce | pathname=get_absolute_file_path('20_3.sce')
filename=pathname+filesep()+'20_3data.sci'
exec(filename)
clear
Ixx=4*A*L^2;
B=[A;A;A;A];
Y=[L;L;-L;-L];
q(1)=(-Sy/Ixx)*B(1)*Y(1);
for i=2:4
q(i)=((-Sy/Ixx)*B(i)*Y(i)) +q(i-1);
end
printf("\nq12: %f N/mm",q(1));
printf("\nq23: %f N/mm",q(2));
printf("\nq34: %... |
9ff59904faa85e6bf110bd346dd0149f08462622 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH8/EX8.13/8_13exam.sce | bb7443fb6fe387653c05b63202e7df5ce285464e | [] | 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 | 635 | sce | 8_13exam.sce | //Engineering and Chemical Thermodynamics
//Example 8.13
//Page no :396
clear ; clc ;
//Given
P = 300 ; //[bar]
V_bar_inf_N2 = 3.3 * 10^-5 ;
R = 8.314 ;
T = 298 ; //[K]
y_N2 = 1 ; // At 25*C vapour pressure of water is small
H_N2_1 = 87365 ; //[bar]
P_c = 33.8 ; //[bar]
T_c = 126.2 ;// [K]
w = 0.039 ; /... |
595278715f47da6feb28fb547d41f910c95f6c52 | 25ecbf436e9499640445c5f8dd256d12dcfecf2a | /Vclamp/StochHH_K5 DAGss Vclamp.sci | a76d62c255501cd43b1f2932d3f90f30da8bd8fc | [] | no_license | ModelDBRepository/141272 | 89fa654099db5fe443f1d34b43071108882d740e | 67f44e52600c751f37f731f71a5b13a21fd28e8e | refs/heads/master | 2020-05-29T18:22:46.893645 | 2019-05-31T02:44:35 | 2019-05-31T02:44:35 | 189,298,198 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,071 | sci | StochHH_K5 DAGss Vclamp.sci | // Potassium channel from original HH model
// Voltage clamp simulations with non-stationary noise analysis
// UNcoupled activation particles (2-state independent particles),
// Goldwyn et al. (Phys Rev E 83:041908 (2011)) implementation of the
// Diffusion Approximation. Coupled activation particles with
// steady s... |
6771984bcffaa43ed75f7f4dedf7b39bdc53f50a | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/cleanmacros.sce | bc912d7edea788b143187354c90d7b4adf6c12e4 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 911 | sce | cleanmacros.sce | // Copyright (c) 2015, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function cleanmacros()
basepath = get_absolute_file_path('cleanmacros.sce');
libpaths = ["", "microdaq_blocks", "microdaq_macros", "user_blocks"]
for i = 1:size(lib... |
84cc17d316bb733bbc3af1db57821befbcdf2713 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH4/EX4.26/ex4_26.sce | 1b257810e84e565429fac7c288a01bf82104e6bc | [] | 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 | 495 | sce | ex4_26.sce | // Exa 4.26
format('v',5)
clc;
clear;
close;
// Given data
V_CEsat = 0.1;// in V
V_BEsat = 0.6;// in V
h_fc = 50;
Beta = h_fc;
V_CC = 12;// in V
R_C = 1;// in k ohm
R_C = R_C * 10^3;// in ohm
R_B = 10;// in k ohm
R_B = R_B * 10^3;// in ohm
// The collector current,
I_C = (V_CC-V_CEsat)/R_C;// in A
I_B ... |
cd1258b32730ad82cddd73a40d55c91571d9fa40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH3/EX3.17.2/EX3_17_2.sce | b59aa8edbe9e54e9604ad6701d3cb5f3057eace2 | [] | 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 | 562 | sce | EX3_17_2.sce | //Example No. 3.17.2
clc;
clear;
close;
format('v',6);
DT=20;//dB(Transmitter Directivity)
DR=20;//dB(Reciever Directivity)
PT=10;//W(Transmitted Power)
ecdT=1;ecdR=1;//(For lossless antenna)
aT_aR=1;//(For polarization match)
DT=10^(DT/10);//unitless(Transmitter Directivity)
DR=10^(DR/10);//unitless(Recieve... |
2d0d5878d3e8b982a523b45aad14d3134ff7f93e | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/evn.tst | a6674974d3b088578582676ccc9e1b3719765281 | [] | 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 | 56,133 | tst | evn.tst | dagiː dagiːf ADJ;PSS1S
ukunmiː ukunmiːwə N;ACC;DEF;SG
kərgə kərgəhəlin N;NOM;PL;PSS3S
beːγaltan beːγaltan ADJ
ə ət͡ʃəsun V;IPFV;FIN;IND;PL;2;ACT
hokori hokoriwundə V;FIN;IND;SG;2;PST;PASS
amaːkaː amaːkaːf N;NOM;SG;PSS1S
ʃamanitkaːn ʃamanitkaːn N;NOM;SG
haːrgi haːrgil N;NOM;PL
ə ətəːn V;FIN;IND;SG;3;FUT+IMMED;ACT
bega b... |
d55f0327c26bffc5db6c8bd3f7c0a8db4148fd35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH6/EX6.2/6_2.sci | d37609a542db6b8a8e0eaa0050c93031c8d257b6 | [] | 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 | 106 | sci | 6_2.sci | //6.2
clc;
r=600;
s=1000;
El=500*30/50;
l=450+El;
x=r*l/s;
printf("Position of the fault=%.1f m",x) |
4b856ceab6cdac5460547a3f48dc431da2353b30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH10/EX10.19/Ex10_19.sce | aed1fc0e7d33d20da76a911a6ee9906c13f1ca8f | [] | 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 | Ex10_19.sce | //EX10_19 PG-10.66
clc
Rf=60e3;//feedback resistance
R1=10e3;
R2=20e3;
R3=30e3;
V1=-1;//first input voltage at the inverting terminal
V2=-2;//second input voltage at the inverting terminal
V3=3;//third input voltage at the inverting terminal
Vo=-(Rf/R1*V1+Rf/R2*V2+Rf/R3*V3);//output voltage
printf("\n Theref... |
173031b256c6f2bc15be4a83e520a1dc538cee26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/10_01data.sci | df480fa91ab84f3ca678248208cc096840cbb80f | [] | 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 | 388 | sci | 10_01data.sci | //consider a rod of stainless steel.
D=0.01905;//diameter(meter) of the rod
l=2.54;//length(meter) of the rod
T=53378.66;//Applied load(N) on the rod
Y=0.2*10^7;//young's modulous of the rod
sigma=T/(%pi*D^2*10^5/4) //tensile stress(bar) on the rod
//as the value of tensile stress is less than tensile yield stres... |
d84688c9b2979ae12e30f47287f007a7023b32ff | 27e7499ddd3bb1d3c73a575f3555bac816e2c2b1 | /testovac/task_data/sort/08.tst | e52d12e6abd2e73f0fade8f0262d83edaa67dd02 | [] | no_license | mirelon/ksp-editor | eeccf1ca22e6808cf10d49d03a2bbef53ab5b305 | c750d25154a6b8cb7e765ce17e9bc5ccfdc9bfd8 | refs/heads/master | 2019-01-02T08:32:00.363803 | 2014-09-23T14:02:06 | 2014-09-23T14:02:06 | 33,381,936 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,879,577 | tst | 08.tst | 1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
... |
15af31197a3004adcf98b9233e8346912c378fb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH5/EX5.2/example5_2.sce | ea71faf21b93449cece400f7f3fa7910fe4f67ca | [] | 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 | example5_2.sce | disp("Part a");
r1=3.3;
r2=1;
r3=4.7;
r=r1+r2+r3;
v=18;
i=v/r;
v1=i*r1;
v2=i*r2;
v3=i*r3;
p1=v1*i;
disp("power delivered (in mW) in the 3.3 kΩ resistor is"); disp(p1);
p2=v2*i;
disp("power delivered (in mW) in the 1 kΩ resistor is "); disp(p2);
p3=v3*i;
disp("power delivered (in mW) in the 4.7 kΩ resisto... |
bb2c339b6b5e5cb9d657f50b204f235adb093601 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH12/EX12.1/ex12_1.sce | 0c94278e5d5fbd311959bbf8e8d3b0f5588ec6b3 | [] | 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 | 196 | sce | ex12_1.sce | //Calculate frequency of oscillations
clear;
clc;
//soltion
//given
L=55*10^-6;//H
C=300*10^-12;//F
fo=1/(2*%pi*sqrt(L*C));
printf("The frequency of oscillations= %.0f kHz\n",fo/1000);
|
d70a8731e7ba6591f4e56e0737bee01004ba82a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH8/EX8.7/8_7.sce | d3110afee3c2e8a485575ad5715487a32ab160c0 | [] | 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 | 597 | sce | 8_7.sce | //example 8.7
//modified euler's method
//page 310
clc;clear;close;
h=0.05;
f=1;
deff('z=f1(x,y)','z=x^2+y');
x=0:0.05:0.1
y1=0;
y1(1)=f+h*f1(x(1),f);
y1(2)=f+h*(f1(x(1),f)+f1(x(2),y1(1)))/2;
y1(3)=f+h*(f1(x(1),f)+f1(x(3),y1(2)))/2;
y2(1)=y1(2)+h*f1(x(2),y1(2));
y2(2)=y1(2)+h*(f1(x(2),y1(2))+f1(x(3),y2(1))... |
7b53b747bbbd585aa6b6cdc4a75f91047b8692e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH3/EX3.11/example_3_11.sci | ba9f102c8f2c134adc9781998eabc13ffcf7b6bf | [] | 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,030 | sci | example_3_11.sci | clear all;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 3
// Thermal Radiation
// Example 3.11
// Page 141
printf("Example 3.11, Page 141 \n\n")
// All modes of heat transfer are involved
// let steady state heat flux flowing through the composite slab be (q/a)
h1 = 20; //[W/m^2 K]... |
f36976fdc3ca64c6f961b5b1c251748d4edcdbf2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH3/EX3.3/Ex3_3.sce | f998abbd5331f69b7cfe8439c3617e051473013c | [] | 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 | 326 | sce | Ex3_3.sce | errcatch(-1,"stop");mode(2);//Example 3_3
;
;
//To calculate the thickness of a quarter wave plate for monochromotic light
lemda=600*10^-9 //units in meters
u0=1.5533
ue=1.5442
t=lemda/(4*(u0-ue))*10^3
printf("The thickness of a quarter wave plate for monochromotic light is %.4f mm ",t)
ex... |
647519e7824cf62e5174031734bbf184bd7762c4 | 663bc8889c5b05b8fe1a2e4e74f85cd404585254 | /MicrovacWebCore/Templates/_services.tst | 86c7a05920fb7e58b23a7db3d6fb83561bf192c3 | [] | no_license | ghk/ReformaAgraria | ae1966eb98bf092b5b471efd3f3613488c5644c4 | 0f452edc2fea3a098b7247ccfb4bc84e82a51d5e | refs/heads/master | 2021-05-15T22:18:39.464668 | 2018-04-12T08:02:56 | 2018-04-12T08:02:56 | 106,646,383 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,525 | tst | _services.tst | ${
using Typewriter.Extensions.WebApi;
using System.Text;
static string serviceNamespaces = "ReformaAgraria.Controllers";
string ServiceName(Class c) => c.Name.Replace("Controller", "Service");
string GetCamelCase(string str)
{
return $"{Char.ToLowerInvariant(str[0]) + str.Substring(... |
4f506f5936cd51cb0a6317dc699b3a7b7c854efb | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX2.9/EX2_9.sce | 76cebeb1c8429752886df3eede3169c0f05992be | [] | 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 | 1,032 | sce | EX2_9.sce | clc;funcprot(0);//Example 2.9
//Initilisation of Variables
T1=290;.........//inner surface temparature of hallow spherein degrees celcius
T3=20;.........//outer tempatarure of hallow sphere in degrees celcius
r1=0.05;.......//inner radius of hollow sphere in m
r2=0.15;......//radius of interface between 2 layers i... |
118eb51dfcc4905112e1dc9a4c5898aacb315761 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH11/EX11.6/example11_6.sce | 5fd57efd77244272057740f358e720b81c8726aa | [] | 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 | 601 | sce | example11_6.sce | //Example 11.6
//Jury's stability test
clear;clc;
xdel(winsid());
z=%z;
F=4*z^4+6*z^3+12*z^2+5*z+1
//equating the equation F with a4*z^4+a3*z^3+a2*z^2+a1*z3+a0.
a0=1
a1=5
a2=12
a3=6
a4=4
b0=[a0 a4;a4 a0]
det(b0)
b1=[a0 a3;a4 a1]
det(b1)
b2=[a0 a2;a4 a2]
det(b2)
b3=[a0 a1;a4 a3]
det(b3)
c0=[det... |
49021241f60748edb37a1596376b4bf7e4d66f97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH9/EX9.1/example9_1.sce | 9bc909ac2b6f1ff0b40596e5fe163bc19efc5131 | [] | 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 | 586 | sce | example9_1.sce | // To find dynamic range of spectrum analyser
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 9-1 in Page 277
clear; clc; close;
// Given data
I_p = +25; //T... |
24d9fac47b557168bcf299fd869fb669aba7efb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH6/EX6.2/Ex6_2.sce | a865d93143840b9e6355075789db2fb295e63c4e | [] | 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 | 993 | sce | Ex6_2.sce | //EX6_2 PG-6.18
clc
disp("Refer to the figure-6.19 shown")
Es=25;//rms value of the supply voltage
Vd1=0.7;//diode drop
Vg=0.75;//SCR triggering voltage
alpha1=10;//minimum phase angle
alpha2=90;//maximum phase angle
Ep=sqrt(2)*Es;//peak value
Es1=Ep*sind(alpha1)
Es2=Ep*sind(alpha2)
Vt=Vd1+Vg;//voltage acr... |
d2916bb5b5051cbe15905173a400c5172cd142fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH10/EX10.12/ch10ex12.sce | 90ae0bd8fc3dfb571a890cd44457ac02398081cf | [] | 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 | 170 | sce | ch10ex12.sce | A=[0 1;-1/6 5/6];
B=[0;1];
C=[-1 5];
D=0;
sys=syslin('d',A,B,C,D);
N=25;
x=ones(1,N+1);n=(0:N);
q0=[2;3];
[ y q]=csim('step',n,sys);
y=dsimul(sys,x);
plot2d3(y) |
4d6c6c8ecea864acba0d640ea2257140af3edc26 | 494b677053e1199325a80808377463794e1003e5 | /experiments/gfs-gccl-c/gfs-gccl-c/results/Ignore-MV.GFS-GCCL-C.vehicle/result7s0.tst | a0df62fafa990f45089dbcb82fce04c088788882 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,855 | tst | result7s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attr... |
b75900b9423a3aec478dfb2551a659580147f445 | affb43e91a6a0cac39356ff1c5f9f5154b70a4a2 | /FFT/DFT_complexity.sce | c1cfa2fab1b62fcc1a8901c1171fb833e0dbe224 | [] | no_license | kathan-shah99/Digital-signal-processing | 87fb0615a98a764c546681ffb18fea32d69caa6d | 3d5ad3553152a2b57f98a3b1a26756ebca37d7bc | refs/heads/main | 2023-04-07T06:53:06.263109 | 2021-04-07T03:57:52 | 2021-04-07T03:57:52 | 355,397,284 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | DFT_complexity.sce | //---Author :krutarth-Trivedi-----
clc;
clear;
//----------------Multiplication--&--Additon----- DFT ----------------
input=[4 6 3 2 5]; //test signal
N=length(input); //length of iterations of k & n
add=0; //additions in dft algorithm
mul=0; //multiplications in dft algorithm
for k=1:N... |
8888054e9de87cdcee9f1286c72856a35df68dde | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH11/EX11.8/11_8.sce | 62778dbc6030bb79c0ea314e7ed198205bce4a71 | [] | 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 | 812 | sce | 11_8.sce | //Example 11.7
//Relaxation Method
//Page no. 378
clc;clear;close;
h=1/3;k=1/3;
for i=0:3
for j=0:3
if i==0 | j==0 then
U(4-i,j+1)=i*h+j*k
elseif i==3 | j==3
U(4-i,j+1)=i*h+j*k
end
end
end
//disp(U,'U = ')
for i=1:4
for j=1:4
if U(i,j)... |
1fd14f20f3a7f72902667842198a6985610848d2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/signal/find_fre.sci | 2ab83cbf0490f500c33ffbef182a3214e2577a11 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 1,264 | sci | find_fre.sci | function [m]=find_freq(epsilon,A,n)
//Search for m such that n=K(1-m1)K(m)/(K(m1)K(1-m))
//with m1=(epsilon*epsilon)/(A*A-1);
//If m = omegar^2/omegac^2,the parameters
//epsilon,A,omegac,omegar and n are then
//compatible for defining a prototype elliptic filter.
// epsilon :Passband ripple
// A :Stopband atte... |
7a5a0fa5649319aa7d4cd3e984b38f3b78304af5 | 519e9f150ad545fb1477c968ebca12ac98c0b1ef | /ConditionalStatement.tst | d2f5c52fa0f4589c55c58fbfc470cace388422a9 | [] | no_license | bhanushashank/Hack_Computer | 5f877b72474bbed568f4871d76811ba41195d1c5 | 8c1996bcf5c9ff42f6f16ed24b6586f894784831 | refs/heads/main | 2023-06-16T04:51:55.973740 | 2021-07-17T09:58:08 | 2021-07-17T09:58:08 | 386,899,862 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | tst | ConditionalStatement.tst | load HackComputer.hdl,
output-file ConditionalStatement.out,
compare-to ConditionalStatement.cmp,
output-list
RAM64[16]%D1.10.1
RAM64[17]%D1.10.1
RAM64[18]%D1.10.1;
ROM32K load ConditionalStatement.hack,
// a = 13, b = 5
set RAM64[16] 13,
set RAM64[17] 5,
// No.of clock cycles must be more than th... |
3d3c7f1b58073c0fef5f98b35c8c9c4eba8fe11f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.60/Ch02Ex60.sce | d6472b481526856f76ba673559ac2050998b0a64 | [] | 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 | 577 | sce | Ch02Ex60.sce | // Scilab Code Ex2.60:: Page-2.48(2009)
clc; clear;
D_10 = 0.48; // Diameter of 10th dark ring with air film, cm
D_3 = 0.291; // Diameter of 3rd dark ring with air film, cm
p = 7; // Order of the 10th ring next to the 3rd ring
R = 90; // Radius of curvature of the lens, cm
lambda = (D_10^2-D_3^2)... |
e65f4a2199300986b39dad19de5ff33014ab7a75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.8/Example5_8.sce | 71779fe3440fd98cc00d8e0d1f07d935b0afa654 | [] | 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 | 119 | sce | Example5_8.sce | //Example 5.8
clc
disp("Fig. 5.21 shows a 32 to 1 multiplexer using four 8 to 1 multiplxeres and 2 to 4 decoder..")
|
9a5f8ea0afb6b381a1800d469503b6cc13edc327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH9/EX9.9/Ex9_9.sce | 845598baf4e9a832176fbe0001b581e457fc3a34 | [] | 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 | 298 | sce | Ex9_9.sce | //Ex:9.9
clc;
clear;
close;
n=0.15;// quantum efficiency
e=1.6*10^-19;// charge
h=6.63*10^-34;// plank constant
c=3*10^8;// speed of light in m/s
y=0.85*10^-6;// cut off wavelength in m
f=c/y;// frequency in Hz
R=(n*e)/(h*f);// responsivity in A/W
printf("The responsivity =%f A/W ", R); |
b0234519c93b361d96e57ccb18c9888b3e1edf52 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/uencode/uencode11.sce | 18654c8e8463508e7f40f7d920fecfaf6394bb79 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | uencode11.sce | u=[1 2 .3 .4 5;-2 3 4 .5 6;.3 4 5 6 7];
y=uencode(u,3,2,'signed');
disp(y);
// output
// 2 3 0 0 3
// -4 3 3 1 3
// 0 3 3 3 3
|
5d2850f17cf229cec0df62b43de0ac00a2db024e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH3/EX3.15/Ex3_15.sce | 6072caddb7f56ad334d281d5a4247e9a8ef3ea83 | [] | 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 | 639 | sce | Ex3_15.sce | //Chapter 3: Thermodynamic and Chemical Equilibrium
//Problem: 15
clc;
//Declaration of Constant
R = 8.314 //in J / K mol
//Declaration of Variables
m = 1
V1 = 5 // dm cube
V2 = 10 // dm cube
T = 300 // K
// Solution
mprintf("For isothermal and reversible proc... |
6a66346506d87a1ba090e72d6e3803475c5a76a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH4/EX4.6/Ex4_6.sce | ccb599d9d0ace0c6ce3011209d712f3c90240542 | [] | 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 | 571 | sce | Ex4_6.sce | clear
//
//
//
//Variable declaration
c=2.998*10**8 //velocity of light(m/sec)
lamda=0.5*10**-9 //wavelength(m)
h=6.626*10**-34 //planck's constant(Jsec)
Kb=1.381*10**-23 //boltzmann constant
T=1000 //temperature(K)
//Calculation
new=c/lamda ... |
d96f645b4f3be84ae382560c6f2f1a8bb740bde1 | fcd4bce0080771389b4a69338ed6443153942183 | /cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/allocai.tst | c20cad0c759da5439c6c6549667bc24492b967f6 | [
"LGPL-3.0-only",
"GPL-3.0-only",
"GFDL-1.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-copyleft",
"GFDL-1.1-only",
"MIT",
"GPL-2.0-only",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"Zlib",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public... | permissive | wulfebw/retro | d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa | dad4b509e99e729e39a2f27e9ee4120e3b607f58 | refs/heads/master | 2022-10-23T07:17:55.320585 | 2020-06-12T01:38:06 | 2020-06-12T01:38:06 | 260,832,205 | 8 | 1 | MIT | 2020-06-12T01:38:08 | 2020-05-03T05:06:17 | C | UTF-8 | Scilab | false | false | 1,463 | tst | allocai.tst | .data 128
idfmt:
.c "received %d\n"
failure_message:
.c "numbers don't add up to zero\n"
report_message:
.c "failed: got %i instead of %i\n"
succeeded_message:
.c "succeeded\n"
.code
jmpi main
/*
static int
identity (int arg)
{
printf ("received %i\n", arg);
return arg;
}
*/
name identify
identify:
prolog
ar... |
6889009c2082a030e7e3ffe52738dd596da278c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH3/EX3.6/ex_3_6.sce | 47ca03a964d1a392793de38b0ac096a8ebfb3a06 | [] | 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 | 356 | sce | ex_3_6.sce | //example-3.6
//caption-solution by gauss elimibnation method
A=[1 1 1;3 3 4;2 1 3] //matrices A and b from the above
//system of equations
b=[6;20;13]
pivotgausselim(A,b) //call gauss elimination function to solve the
... |
c07c1dd9f2e3f59daeea9b1083ef5df1e4dff837 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /matrowadddemo.sci | 9be766769ef5eeca9f5523714b15c5bebd654c06 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sci | matrowadddemo.sci | //SCI2C: DEFAULT_PRECISION= FLOAT
function matrowadddemo()
M = float([8 1 6;3 5 7; 4 9 2])
disp(float(sum(M,'r')))
endfunction
|
6526d80ee803e51415edea551a6bfb9bbf3e4a28 | 463377b6374a24bbe111707a34e24949f3bd2543 | /iv4.sci | 32fd7780ab04eb08b7bfa0e9b0c5684427c6dcce | [] | no_license | solothinker/Scilab-Identification | 3a46c0f3b8b1a7430f8a799be5e1310e2723b535 | cdad0d7292c31c29d377b640f6966a7c3bb81bb9 | refs/heads/master | 2022-01-05T12:39:07.410803 | 2019-06-15T02:18:13 | 2019-06-15T02:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,519 | sci | iv4.sci | function varargout = iv4(varargin)
[lhs, rhs] = argn(0)
plantData = varargin(1)
orderData = varargin(2)
na = orderData(1);nb = orderData(2)
// arranging na ,nb,nk
if size(orderData,"*") == 2 then
nk = 1
elseif size(orderData,'*') == 3 then
nk = orderData(3)
end
n... |
73969ae0a796930db0b5e47e328932481a056bcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH17/EX17.5/Ex17_5.sce | 9fadc2b4d01df55b3ad5553e654460fe869b705e | [] | 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 | 785 | sce | Ex17_5.sce | //Ex no.17.5,Page no.381
clc;clear;close;
//Initilization of Variables
L_1=30 //cm //length of longitudinal weld
L_2=16 //cm //length of transverse weld
//t=0.7*s //Effective thickness of weld
sigma_t_1=100 //MPa //working stress for transverse welds
sigma_t_2=85 //MPa //working stress for longitudinal welds
P=150 /... |
22bc1a42b918bdca95c78cd117c16427e5938141 | c87a44be475d3008f7d0fcb8dd2eac3b2fa78e94 | /Examples/Chapter_6/Example6_4.sce | 307b8790b7795bb369265553e986c3ef28703bce | [] | no_license | Echeban/icmd3e | 6c766ffafab0137a64de46448879d8a9eed2903c | 6ca0273e322fa390fcabc66669f3f56c9af5a563 | refs/heads/master | 2020-03-27T09:08:47.798549 | 2018-08-27T15:45:44 | 2018-08-27T15:45:44 | 146,316,991 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | Example6_4.sce | // Example 6.4
clc; mode(0); funcprot(0);
exec('C:/Users/EJB/OneDrive/Scilab/CLT.sci',0);//include CLT.sci
a = 1600; // mm
b = 800;
t = 16;
wmax = 9.10; // mm
kappa(1) = (%pi/a)^2 * wmax;
kappa(2) = (%pi/b)^2 * wmax;
kappa(3) = 0
// @ bottom z=-t/2
eps_ = t/2 * kappa // laminate c.s.
// E-glass/Epoxy [MPa]
... |
af1e4bc9be639c8210bb8aead551894ba26ca7c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH4/EX4.3/ex4_3.sce | c1b8f70d51c80a056fedac92e01a701aeaff3e44 | [] | 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 | 338 | sce | ex4_3.sce | // Exa 4.3
format('v',7);clc;clear;close;
// Given data
// When Vi=100 mV
Vi = 100;// in mV
V_R = 100;// in mV
t1 = 83.33;// in ms
t2 = (Vi/V_R)*t1;// in ms
disp(t2,"When Vi=100 mV, the value of t2 in ms is");
// When Vi=200 mV
Vi = 200;// in mV
t2 = (Vi/V_R)*t1;// in ms
disp(t2,"When Vi=200 mV, the value o... |
cb83129f4c784c3e9dcae80e22ad01e717fe211e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/percent/%spss.sci | 4ddb16d10bf7359f1c3b0e952ce0b7b74a2b963d | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"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 | 166 | sci | %spss.sci | function s=%spss(a,b)
// %spss - substract a scalar b to a sparse matrix a
//!
if size(b)==[-1 -1] then
[m,n]=size(a)
s=a-(b+0)*speye(m,n)
else
s=full(a)-b
end
|
83bf6fc558ab9b3dc192f65d479efc4c644d5689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH16/EX16.9/16_9.sce | 8da79aee3a91a62c7afcfdb06884bbf4b9649ec5 | [] | 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 | 313 | sce | 16_9.sce | // Below values are taken fron table 16.4
Hr = -249952+(18.7*560)+(70*540);
Hp = 8*(-393522+20288)+9*(-241827+16087)+6.25*14171+70*13491;
Wcv = 150; // Energy out put from engine in kW
Qcv = -205; // Heat transfer from engine in kW
n = (Wcv-Qcv)*3600/(Hr-Hp);
disp("kg/h",n*114,"Fuel consumption rate is")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.