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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8373b50292f73c1fe6b00bc7014f1c8594aae897 | 0d01d6b51f01f32713ff1c7bb3e898fb9a0243d6 | /Bookstore-laodtest-csv.tst | 9a21db91e3614219e8c88f94a96055f8dbe197cd | [] | no_license | gtrofimov13/loadtest-bookstore | 11f6f19623972479810fa3ab518f28ac746173c4 | 6ffc6e84fd06444cc88746492de342da6f1a9581 | refs/heads/master | 2022-12-19T07:52:32.244692 | 2020-09-24T07:01:28 | 2020-09-24T07:01:28 | 298,188,242 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,078,214 | tst | Bookstore-laodtest-csv.tst | <?xml version="1.0" encoding="UTF-8"?>
<SOAtestProject xmlVersion="5" productVersion="9.10.9">
<TestSuite className="webtool.test.TestSuite" version="46.15.2">
<DebugAssets className="webtool.test.debug.DebugAssets" version="1">
</DebugAssets>
<ReportingSettings className="webtool.test.ReportingSettings" version... |
2fe710002e00695217a8ce142dcb9f5472984353 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH8/EX8.3/c8_3.sce | f82d3ceb7bad3568d5f28b18738f2dbaecbc1cb4 | [] | 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 | 3,717 | sce | c8_3.sce | //(8.3) Steam is the working fluid in an ideal Rankine cycle with superheat and reheat. Steam enters the first-stage turbine at 8.0 MPa, 480C, and expands to 0.7 MPa. It is then reheated to 440C before entering the second-stage turbine, where it expands to the condenser pressure of 0.008 MPa. The net power output is... |
5ef532cfe66ba34b7e6ef38e12b5713bccbf38dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.15.a/2_15_data.sci | ab46d1d0001b8c170b31a7f189103efc9161ac8f | [] | 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 | 100 | sci | 2_15_data.sci | // Aim:To find pressure on the skin diver in SI units
// Given:
// Depth of Water Body:
H=18.3; //m
|
8a4f7802f7d5653afb310a49a4245b429840fa08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH13/EX13.14/Ex13_14.sce | d2b3ffa2e09f9384c63a8470d0339206a9a4fec1 | [] | 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,156 | sce | Ex13_14.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 13.14
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
Pi=50e-6;//Source power in W
R=0.65;//Responsivity in A/W
T=300;//Missing data- Temperature in K
C=5e-12;//Photodiode capacitance in F
BER=... |
80a9ea5e3f1dda7052437f881706cc538e25d729 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH4/EX4.5/Ex4_5.sce | c30001ee5b04713fe2345bbaddb462176add6827 | [] | 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 | 211 | sce | Ex4_5.sce | clc;
clear;
close;
//pagec no 102
Ri=5*10^3;// in ohm
Rf=20*10^3;// in ohm
vin=100*10^-3;//In volt
Av=-(Rf/Ri);
vout=vin*Av;
disp("Volt",vout,"Vout is ");
disp("(i.e. negative sign means inverted)");
|
0dbdfb167334c712ae19ee8be487100932634731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH1/EX1.11/ex1_11.sce | da645cfab384a81c3a33a7dfdb9ebe7ce26ac99e | [] | 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 | 674 | sce | ex1_11.sce | //Ex 1.11
//Check for peridicity
clc;
T=2*%pi/8;
z=2*T;
t=0:0.001:z
x=%i*exp(%i*8*t);
subplot(2,2,1),plot(x);//the plot shows that the above signal is periodic
T=2*%pi/(-1+%i);
z=2*T;
disp('T cannot be complex so non periodic');
t=0:-0.001:z
x=exp((-1+%i)*abs(t));
subplot(2,2,2),plot(x);//the plot shows ... |
e5d2651ff564288d01e6ecae0671b9ccbe2c4c93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH3/EX3.16/3_16.sce | 5a44f6bb86e8edaccf4a8cadf559f9e5aa872fe9 | [] | 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 | 509 | sce | 3_16.sce | //Eg-3.16
//pg-113
clear
clc
A=[3.6 2.1 0;0.6 7.9 1.6;0 1.3 13.4 ];
b=[3.6;7.9;13.4];
c=[2.1;1.6];
a=[0.6;1.3];
r=[-.7;1.1;2.9];
n=3;
Beta=zeros(3,1);
Gamma=zeros(3,1);
Beta(1)=b(1);
Gamma(1)=r(1)/Beta(1);
for j=2:3
Beta(j)=b(j)-a(j-1)*c(j-1)/Beta(j-1);
end
for j=2:3
... |
2189029f55b57c4b148bf8ba27a45a1154af64a9 | b12941be3faf1fd1024c2c0437aa3a4ddcbbfd67 | /whatif/Demonstratie.tst | c726711de55df78819181d22b96f5ca4ca457fb5 | [] | no_license | JanWielemaker/optica | 950bd860825ab753236ce1daa399ee7a0b31b3ee | 3a378df314b5a60926b325089edac89c00cc8c6d | refs/heads/master | 2020-06-12T14:22:46.567191 | 2019-06-21T11:24:41 | 2019-06-21T11:24:41 | 194,328,239 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,209 | tst | Demonstratie.tst | /* Questionaire created by optica toolkit
Date: Mon Mar 03 11:02:31 1997
*/
question(1, 'oefenvraag 1',
'Als we het lampje naar boven schuiven, waar
raakt de lichtstraal dan de as?',
[ 'dichterbij de lens',
'verder van de lens vandaan',
'plaats blijft hetzelfde'
],
state(state, '',
[ m1 = ... |
71808904ec80e21a8be3bf7ded801bdf6bb9bab6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH11/EX11.8/exa11_8.sce | 1106fd8e44b12b1e1993803e66032fc321d9590e | [] | 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 | sce | exa11_8.sce | // Example 11.8
// An Illustrative Bode Plot
s=poly(0,'s');
h=syslin('c',(s+200)^2/(10*s^2))
bode(h)
|
dd609dd185b1bec07d0d2b6ced140839995ede24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH10/EX2.1.u2/Ex2_1_u2.sce | 47380cd3c2dae2fef746c7ad75d1156862cba514 | [] | 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 | 605 | sce | Ex2_1_u2.sce | //Example 2_1_u2
clc();
clear;
//To calculate the density of electrons and mobility of electrons in silver
row=10.5*10^3 //units in Kg/m^3
NA=6.023*10^23 //Avagadro number
Z=1
MA=107.9*10^-3 //units in Kg
n=(row*NA*Z)/MA //units in m^-3
printf("The number density of electrons is n... |
85481eaee0b240e72c4ece57e2e8276f6d0690bf | 194d4cafa290b2fdf3aa87e18ddadcfff70a70d8 | /rA.sci | bca3a38b648aadfd63f88e57953124a71a2ccb08 | [] | no_license | KomalT/tryout60 | cc43d4a5d96b5525e691a907c7ad8c7e61004a3c | ef4cc3e641a77c2cea565035cf033536d91e29ea | refs/heads/master | 2016-08-12T19:05:56.548794 | 2016-05-02T06:15:37 | 2016-05-02T06:15:37 | 55,436,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sci | rA.sci | clc;clear;//t=0:0.1:%pi
//intsplin(t,sin(t))
cA0=0.0625//M
function f=rA(x)
f=(100*0.0625^(0.5)*(1+x)^0.5)./((1-x)^0.5)
endfunction
x=0:.1:.8
y=intsplin(x,rA(x))
disp(y)
|
63c268bffc8ee09f20e410af58a71142407951e6 | 750baafb72c1d930c9b57d18963fc323754d1e84 | /projects/04/sort/Sort-CHECK1.tst | 80d53a6609ca6c5e1b84e6ce377d2b120fba31e2 | [] | no_license | johny1122/Nand2Tetris | e765108e6613ea9efa19b66b01139f4139f6ad77 | eda016bbc06f0a7c651395c7f24d94e168cd0739 | refs/heads/main | 2023-05-08T01:38:04.471987 | 2021-05-24T20:31:13 | 2021-05-24T20:31:13 | 370,477,048 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | tst | Sort-CHECK1.tst |
load Sort.asm,
output-file Sort-CHECK1.out,
compare-to Sort-CHECK1.cmp,
output-list RAM[0]%D1.6.1 RAM[1]%D1.6.1 RAM[2]%D1.6.1 RAM[3]%D1.6.1 RAM[4]%D1.6.1 RAM[5]%D1.6.1 RAM[6]%D1.6.1 RAM[7]%D1.6.1 RAM[8]%D1.6.1 RAM[9]%D1.6.1 RAM[10]%D1.6.1 RAM[11]%D1.6.1 RAM[12]%D1.6.1 RAM[13]%D1.6.1 RAM[14]%D1.6.1 RAM[15]%D1.6.1;
set... |
6391f8026ee83122211fac158cae0b579476f712 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH2/EX2.6/Example_2_6.sce | 265c01013dc5c02085110cb5df617558b5028b78 | [] | 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 | 931 | sce | Example_2_6.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 2.6
//Caption : Program to find the work done by gas
//Given values
P=14;//Pressure=14bar
V1=0.03;//Initial volume=0.03m^3
V2=0.06;//Final Volume
//Process ... |
7859ef06f29332ecc2853a8718348cfadec469ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH1/EX1.4/1_4.sce | c0469f5a574c93c3241c053ba509ca2f30f777e9 | [] | 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 | 144 | sce | 1_4.sce | //Eg-1.4
//pg-13
clear
clc
a=input("enter any number")
r=a-round(a/2)*2;
if r==0 then
disp("even number")
else
disp("odd number")
end |
74d3225d8033002f67af9f2a7b1bc2ef5ca9b982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH22/EX22.9/FC_22_9.sce | 9596f1b1fc6c9aeed5570d666df701451cf93f99 | [] | 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 | 494 | sce | FC_22_9.sce | // 22-9
clc;
clear;
P=15*10^3;
Ka=1.25;
N=1500;
w=2*%pi*N/60;
Tf=P/w;
d=(Tf*16/(50*%pi))^(1/3);
d=25;
Rm=5*d;
Pav=0.12;
u=0.22;
b=Tf/(%pi*u*Pav*(Rm^2));
b=40;
R1=Rm-(b*sin(15*%pi/180)/2);
R2=Rm+(b*sin(15*%pi/180)/2);
// printing data in scilab o/p window
printf("\nThe Torque is %0.2f Nm",Tf);
pri... |
838c563d80cffdfc5752c15d539c77b65284b87e | 7d91f8b3cb8d228617c08467d41edcff14343b7f | /1_Euler_Method_No_Lib.sce | 6a09fc542bfc8291659567bcaa9dda2b80323a16 | [] | no_license | szymczykmichal/KWP | aae875431be6fa9c1a370016396f2476cb06f793 | 77cbdf39521e41e2bbb9aa9c00fbba0766ec052e | refs/heads/master | 2020-04-26T08:50:05.726038 | 2019-04-24T19:47:19 | 2019-04-24T19:47:19 | 173,435,873 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | 1_Euler_Method_No_Lib.sce | //Rozwiazanie przykladowego rownania bez uzycia bibliotek
clc; clear;close;
//exec('ode1.sci')
x = 0:0.5:4;
deff('[t]=f(x,y)','t = -2*x^3+12*x^2-20*x+8.5');
deff('[t]=f0(x)', 't = -0.5*x^4 + 4*x^3 -10*x^2 + 8.5*x + 1')
y(1)=1;
y0(1)= f0(x(1));
for i=1:length(x)-1
h = x(i+1) - x(i)
k1 = f(x(i), y(:,i))
... |
db47ca698cc85d41541cea05594dd7d9867af202 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH2/EX2.13/Ex2_13.sce | aefdc319318c472747b8d1f315cf02fa4f38107f | [] | 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 | 451 | sce | Ex2_13.sce |
//Variable declaration
n=4
A=107.87
rho=10500
N=6.02*10**26
h=1;
k=1;
l=1;
H=6.625*10**-34
e=1.6*10**-19
theta=(19+(12/60))*%pi/180
C=3*10**8
//Calculations
a=((n*A)/(rho*N))**(1/3)*10**10
d=a/sqrt(h**2+k**2+l**2)
lamda=2*d*sin(theta)
E=(H*C)/(lamda*10**-10*e)
//Result
printf('a =%0.3f Angstroms \... |
4f9dedaf956654e1826c62620fd20a514290ab21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /196/CH3/EX3.13/example_3_13.sce | 702c508e7c0167f736d1cfa2f622b5f00248d802 | [] | 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_3_13.sce | //Chapter 3
//Example 3-13
//ProbOnOpampParameters
//Page 58,Figure 3-8
clear;clc;
//Given
Ei=4;//in volts
Rl=10*10^3;//in ohm
I=0;//in ampere
Vout=Ei;//output voltage
Il=Vout/Rl;//load current
I0=I+Il;//output current
printf("\n\n Value of o/p voltage = %.4f V \n\n",Vout)
printf("\n\n Value of load cur... |
d069bea158128c78c1225e5157739b7388b1b278 | 8ad9380384d2751d79937ba5d6d581565596b891 | /macros/marching_cubes_extraction.sci | a6955587439795e880b2d83fcf8872460c54e80b | [
"BSD-3-Clause"
] | permissive | iamAkshayrao/scilab_point_cloud_toolbox | 1d8845f0830ddb623383c8dbfeadc8a3a35e8801 | 5d592a695b7976f4e63f0ae24d0a14937e474642 | refs/heads/master | 2022-12-17T23:14:11.513116 | 2020-09-25T18:57:02 | 2020-09-25T18:57:02 | 290,829,006 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,556 | sci | marching_cubes_extraction.sci | function marching_cubes_extraction()
// Compute the surface reconstruction of a point cloud using the marching cubes algorithm (pcl::surface::MarchingCubesHoppe or pcl::surface::MarchingCubesRBF.
//
// Syntax
// PointCloud(InputPCDFilename, OutputVTKFilename, options,"marching_cubes_extraction")
//
// Parameters... |
48beae2f8e31502b6b34f46409c6be7ca2e189fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.13/ch12_13.sce | f0b00085c9a67bece8186e58e4af022f6a74b6ff | [] | 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 | 179 | sce | ch12_13.sce | clear;
clc;
//after calculating
//t=w_m/6000-%pi/360
N=1000;
w_m=2*%pi*N/60;
t=w_m/6000-%pi/360; printf("time reqd=%.5f s",t);
//printing mistake in the answer in book |
80a31a4595f31aa9b7644cf0b4a1ef13f62c539b | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/Quantization/Qn.sci | 5d328ae4db5fb2633aa0224b505a76f19820e98a | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,607 | sci | Qn.sci | //Function to round a quantity According to pag.295
function [xq,dx,cod]=Qn(x,n)
//x quantity to round,
//n number of bits,outputs are xk the x quantized and codified and dx the error
//cod is a structure where everything is stored
//cod.w is the significand
//cod.q is the scale
//cod.n is the n... |
945b225463b28cbce6819619b60853bdc227e3c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH1/EX1.10/1_10.sce | ef32a7f6fc34aa3a5f0528d07929f59ac98eb8fa | [] | 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 | 435 | sce | 1_10.sce | //clc();
clear;
// To determine the refractive index of the transparent sheet in Newton's ring experiment
lambda=5460*10^(-8); //wavelength of light in centimetres
t=6.3*10^(-4); //thickness of the transparent material in centimetres
n=6;
mew=((n*lambda)/t)+1;
printf("the refractive in... |
41939ad49d0adc1ca0eb89c832f8f4df3b760ef7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH5/EX5.12.b/ex_5_12_B.sce | befad1852c370334c28267ae1393e1006f8d73e4 | [] | 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 | 3,077 | sce | ex_5_12_B.sce | //3 vARIABLE KMAP//
clc
clear
function bi = kmap3abx (k)
n =4;
m=2
// k=[0 0 0 1 ; 0 1 1 1 ] ;
k(: ,: ,2)= zeros (m,n);
var =['x' 'A' 'B ' ];
// var =[ 'w' ' x ' ' y ' ' z ' ] ;
p1 =[ ' x ' ' ' ' x ' ];
p2 =[ 'A''B ''' ; 'A''B' ; 'AB' ; 'AB''' ];
cmn4 =4;
cmn2 =2;
temp =1;
// p r i n t f... |
a46b1b54ab910f9e73b2fd4edeed7f6585a7fcf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH11/EX11.5/Ex11_5.sce | bfe4bfc746e6f36c9690050d7d4f5809c697facf | [] | 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 | 684 | sce | Ex11_5.sce |
clear//
//Variable Declaration
A1=4 //Area in in^2
A2=6 //Area in in^2
r1=7.8 //Radius in inches
r2=14.8 //Radius in inches
t=0.5 //Thickness in inches
d=4 //Depth in inches
sigma_w=18 //Maximum allowable stress in kips
//Calculations
A=A1+A2 //Area in in^2
r_bar=(A1*(r1+t)+A2*(r2+d))*(A1+A2)**-1 //Cent... |
ca43d02671dcfe249493b6cd720fdd96e39257d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.4.1/CH04Exa4_4_1.sci | e08d8594b822cfb26bb2b9a8b5269bfb21890318 | [] | 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 | 6,829 | sci | CH04Exa4_4_1.sci | // Scilab code Exa test : Checking the possibility of occurence of reactions : page no. 181 (2011)
// Declare three cells (for three reactions)
R1 = cell(4,4);
R2 = cell(5,4);
R3 = cell(4,4);
// Enter data for first cell (Reaction)
R1(1,1).entries = 'Al'; // Element
R1(1,2).entries = 13; // Atomic number
R1(1,3).entr... |
fc714bcaeeb7668565aec938986566675d533ceb | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH9/EX9.02/9_02.sce | 85382e54bfab112321ece6bc2c8eed6a995fbb8f | [] | 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 | 546 | sce | 9_02.sce | //Problem 9.02:
//initializing the variables:
w = 50; // in lb
Ws = 200; // in lb
a = 0.5;
Ts = 25;// in deg C
//calculation:
WH2SO4 = w + Ws*a
WH2O = Ws*a
perH2SO4 = (WH2SO4/(WH2SO4 + WH2O))*100
//Referring to Fig. 9.3, construct a straight line between the 50% solution and pure H2SO4 at 25 deg C (77 deg... |
698d030c222886494d805dd1c8299c1636c323b6 | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/tests/unit_tests/xls_GetRange.tst | 82b4b7f67a220bbe32aa4b2da90251564d9f5e3c | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,304 | tst | xls_GetRange.tst | // ====================================================================
// Antoine ELIAS
// Scilab Enterprises 2013
// ====================================================================
// <-- CLI SHELL MODE -->
// ====================================================================
function check_GetRange(offset, d... |
174f819ffcc300f911a3b6b6f0c3c06f59986c90 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_format.sci | 1346a85c85550f39dd6c5ed607112061cdd527de | [
"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,136 | sci | sci_format.sci | function [stk,txt,top]=sci_format()
// Copyright INRIA
txt=[]
rhs1=rhs
if rhs==2 then
fp=sci2exp('e')
rhs=rhs-1
top=top-1
else
fp=sci2exp('v')
end
d=5;hex=%f;bank=%f;compact=%f;loose=%f,ratf=%f;symb=%f;unk=%f
if rhs==1 then
f=stk(top)(1)
select f
case '''short''' then
d=5
case '''long''' then
d=... |
44f2b0f3af822f5f291c62bf8078fdab3dac9b9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH11/EX11.4/ex11_4.sce | 0c1ec7d946d6065c16a722a4e6a7ee0e21cd5993 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | ex11_4.sce | clc;
clear all;
Eg1=0.36*1.6*1e-19;
Eg2=0.72*1.6*1e-19
k=1.38*1e-23;//boltzman constant
T=300;//tempreture in kelvin
//in this formula ni=2*((2*%pi*k*T/h^2)^(3/2))*((me*mp)^(3/4))*exp(-Eg/(2*k*T))ratio of nip/niq is given by:
x=exp((Eg2-Eg1)/(2*k*T));//ratio of nip/niq
disp(x,'ratio of nip/niq is=');
//slight ... |
aa08f31d378d88defe68f98adf5fca269683d2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH3/EX3.5.a/3_5_data.sci | 371d6fa8f969d0adbb64be29bdb01a3403973aee | [] | 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 | 270 | sci | 3_5_data.sci | // Aim:Refer Example 3-5 for Problem Description.
// Given:
// Diameter of piston of pump cylinder:
Dp=1; //in
// Diameter of piston of load cylinder:
Dl=3.25; //in
// Average hand force:
Fh=25; //lb
// Load piston stroke:
Sl=10; //in
// Pump piston stroke:
Sp=2; //in
|
d03e05ae6d905fcaa975ec4e1f64c5f5971c0205 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH24/EX24.4/24Ex4.sce | 55a12668e7bfed1491b0b30201385efce8266f87 | [] | 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 | 296 | sce | 24Ex4.sce | //chapter 24 Ex 4
clc;
clear;
diagonal=17;
perimeter=46;
//perimeter=2(l+b), area=l*b, diagonal^2=l^2+b^2 using hypotenus
//using above conditions, the equation diagonal^2+2l*b=(perimeter/2)^2
area=((perimeter/2)^2-diagonal^2)/2;
mprintf("The area of rectangle is %d square cm",area);
|
8a58f72105e64a23ed2c4d057a8902242b7c130e | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH6/EX6.27.a/example627a.sce | 4ab35236509893b612f1c2f52952c18b0d33b45c | [] | 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 | 110 | sce | example627a.sce | //Example 6.27a
//Laplace transform of x(t)=t^3+3*t^2-6*t+4
clc;
syms t;
x=t^3+3*t^2-6*t+4;
X=laplace(x); |
f9a271b7c1f0f8eed3009722b62bec1717de8297 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH5/EX5.3/Ex5_3.sce | a87476923dd66def972a75d48b5d1ed5daec7f98 | [] | 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,424 | sce | Ex5_3.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 5.3\n\n\n");
// Chapter 5 : Properties Of Liquids And Gases
// Problem 5.3 (page no. 188)
// Solution
//The necessary interpolations are best done in tabular forms as shown:
// p hg
// 115 1190.4 table 2
// 118 1190.8 (hg)118=1190.8
// 120 ... |
8d29cf32fb33e2665529953b82269e610e7ca110 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH6/EX6.5/Chapter6_Example5.sce | abfbbad8eccd7d2e0d53faf68b2047886759262f | [] | 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,172 | sce | Chapter6_Example5.sce | //Chapter-6, Illustration 5, Page 311
//Title: Refrigeration cycles
//=============================================================================
clc
clear
//INPUT DATA
T2=40;//Temperature at point 2 in oC
T1=-10;//Temperature at point 1 in oC
h2=367.155;//Enthalpy at point 2 from refrigerant-12 tables in k... |
0f9930f4ccf15932384292bcafc3de2996fea210 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH9/EX9.8.b/Example9_8_b.sce | 9f7552a95665b07ae46e4ee05cc4a18a258ed438 | [] | 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 | 294 | sce | Example9_8_b.sce | //Example 9.8 (b)
//Program To Determine Quality Factor of Bartlett Method
clear;
clc;
close;
//Data
fr=0.01;//Frequency Resolution
N=2400; //Samples
lb=0.89/fr;
//QUALITY FACTOR CALCULATION
Q=N/lb;
//Display the result in command window
disp(Q,"Quality Factor of Bartlett Method"); |
fff07cab2758bb042d0df9e17832111b349bebcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH12/EX12.5/example_12_5.sce | edd743468bbee08fab32beb55c585718513b2449 | [] | 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 | 405 | sce | example_12_5.sce | clear;
clc;
disp("--------------Example 12.5---------------")
bandwidth = 10*10^6; // 10 Mbps
Tp=25.6*10^-6; // 25.6 microseconds
Tfr=2*Tp; // formula
min_frame_size = bandwidth*Tfr; // formula
bytes=min_frame_size/8; // 1 byte = 8 bits
printf("The minimum frame size is %d bits or %d bytes.\nThis is the minimum... |
49f5d2b86c6f3fddd80551b542827ea4a463bd4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.64/Ex1_64.sce | f7a7e6857128cd02c77d79b06ee52d995d2d0fa4 | [] | 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 | 563 | sce | Ex1_64.sce | // Ex 64 Page 405
clc;clear;close;
// Given
//i=0.25+0.25*sin(omega*t)-0.25*sin(2*omega*t)
I0=0.25;I1m=0.25;I2m=-0.25;//from above expression
Iav=I0;//A
R=800;//ohm
L=1/1000;//H
Irms=sqrt(I0**2+(I1m/sqrt(2)**2+(I2m/sqrt(2)**2)));//A
printf("Reading on hot wire instrument = %.3f A",Irms)
VR=Irms*R;//V
printf("\n Readi... |
e78083fa67634634d8fa13566c3761c3f0bfd60f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH4/EX4.16/Ex4_16.sce | 415028a08f5a519d2d934491bec55ceb946108fd | [] | 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,002 | sce | Ex4_16.sce | // Problem no 4.4.16,Page No.107
clc;clear;
close;
F_C=250 //KN //Pt LOad at C
M_D=120 //KNM //moment at Pt D
w=50 //KN/m //u.d.l 0n L_AD
L_DB=2;L_BC=2 //m //Length of DB & BC
L_AD=4 //m //Length of AD
L=8 //m //Length of beam
//Calculations
//LEt R_A and R_D be the reactions at A and D
//R_A+R_D=450
//Taking momen... |
126099066624e7cfc43ccf5a696bc04cb04e74bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH4/EX4.12/Ex4_12.sce | ba31963ce818a5d19c7ea6682ed4d0b121a6a7b2 | [] | 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,134 | sce | Ex4_12.sce | clc
clear
//DATA GIVEN
p=10; //pressure of steam, p1=p2 in bar
x1=0.85; //dryness fraction
V1=0.15; //volume of steam in m^3
Tsup2=300+273; //temp. of steam in K
Cps=2.2; //specific heat of steam in kJ/kgK
... |
89b714e6053a859ada758d83e3c3a7ab21205e9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH10/EX10.10/Example10_10.sce | 1a0644d94f7404763ec7ad985abc7743cdb2d061 | [] | 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 | 659 | sce | Example10_10.sce | clear;
clc;
// Example: 10.10
// Page: 412
printf("Example: 10.10 - Page: 412\n\n");
// Solution
//*****Data******//
P = 101.3;// [kPa]
P1sat = 100.59;// [kPa]
P2sat = 99.27;// [kPa]
x1 = 0.532;
//****************//
x2 = 1 - x1;
gama1 = P/P1sat;
gama2 = P/P2sat;
A = log(gama1)*(1 + (x2*log(gama... |
89abf966532da29e9d848ba3593d44d641139509 | 097689cb15f57ed753422489c1129404769b863a | /SSH/chapter04/exercise/e05.tst | e049d84676111116008d5f8685a6809337fe7cee | [] | no_license | Beeru4/project | f247ae4a6669ba8b93965c0fa50d2cfe285e1918 | cf12bce4d6d5750f8ff2f748182249724e287a76 | refs/heads/master | 2020-05-15T13:33:40.217444 | 2019-05-17T07:50:21 | 2019-05-17T07:50:21 | 182,304,194 | 0 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 592 | tst | e05.tst | PL/SQL Developer Test script 3.0
13
-- 简答02.5测试程序
declare
v_COMM emp.comm%TYPE; -- 模拟所得税金额
v_updateMsg VARCHAR(50); -- 修改状态
v_level NUMBER(5); -- 薪水级别
on_FLAG NUMBER(5);
on_MSG VARCHAR(200);
begin
PROCEDURE_orders(7788, v_COMM, v_updateMsg, v_level, on_FLAG, on_MSG);
DBMS_OUTP... |
629f4c04966dea03e515c69912e28caa8c4b7ec1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH4/EX4.7/4_7.sce | ba958153d6f72e1e99117601e3475039775131ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 950 | sce | 4_7.sce | //To Find the Time of Swing
clc
//Given:
l=1.2 //m
theta=3*%pi/180 //rad
//Solution:
//Calculating the Distance Between the Knife Edge and C.G. of the Rod
h=1.2/2-.05 //m
//Calculating the Radius of Gyration of the Rod About C.G.
kG=l/sqrt(12) //m
//Calculating the Time of Swing of the Rod
tp=2*%pi*sqrt((kG^... |
92091b43b0d82f6c2edaa427ddbb781b9755d44f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH3/EX3.7/Ex3_7.sce | 7499279f4e1fbeb6ac7c1851cb742f562d5b0068 | [] | 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,287 | sce | Ex3_7.sce |
//To determine the cross section of the conductor for a minimum consumer voltage
//Page 111
clc;
clear;
//Unknown Variable obtained in the equation
Ib=poly(0,"Ib");
r=poly(0,"r");
//Voltages at the respective ends
Va=230;
Vb=230;
//Minimum Consumers's Voltage
Vc=220;
//Lenghths of the segments
r1=... |
f73bf0d7392c68f972f5ac1087cd5fd1c8c66a25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH5/EX5.10/exa5_10.sce | ea5257b13e8fdcc83d46fce5a41cda7f8741ed5c | [] | 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 | 589 | sce | exa5_10.sce | // Example 5-10
// Response to initial condition (differential equation)
// Solution of differential equation with initial conditions
clear; clc;
xdel(winsid()); //close all windowss
t = 0:0.05:10;
s = %s;
G1 = cont_frm(1, s^3 + 8*s^2 + 17*s + 10); //get the state space model
ssprint(G1);
x0 = [2; 1; 0.5]; // i... |
a0dfabfc26946d9b76f5b622d0d8099b7c7be5fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.3/ex8_3.sce | 8b3e7014a3640e8f6736b992751cb4f2424c659f | [] | 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 | ex8_3.sce | //Page Number: 8.8
//Example 8.3
clc;
//Given,
G=100;
G1=(10^(G/10));
T=30;
Te=270;
//We know,output noise power=GKB(T+Te)
K=1.38D-23;
B=1.5D+6;
No=G1*1.38D-23*1.5D+6*(T+Te);
disp('W',No,'Output Noise Power');
|
a19cb0df0f568174f269f64697da51a6bb6b1d09 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/plotPts.sci | 1ad66faef096a369130e10a6d4d6f00186a3ec72 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sci | plotPts.sci | function plotPts(pts,mark_style,mark_size,mark_fore,mark_back)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Utility function for easier plotting
//INPUT:
//OUTPUT:
//----------------------------------------------------------------... |
b6d530a9f360c89704ad9ffe1bc7f35e969a00fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH12/EX12.2/Example12_2.sce | f5abe6f86269a45420e8c12311441292090d95df | [] | 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,479 | sce | Example12_2.sce | clear;
clc;
// Illustration 12.2
// Page: 665
printf('Illustration 12.2 - Page: 665\n\n');
// Solution
// ***Data***//
Y1 = 0.05;// [kg water/kg dry air]
Yair = 0.01;// [kg water/kg dry air]
TempG1 = 95;// [OC]
width = 1;// [m]
apart = 100/1000;// [m]
deep = 38/1000;// [m]
Rate_evaporation=7.5*10^(... |
e85cc4379db8d351e2a81f088b13aa37af3dfef7 | de14a6897d4397228a52bacb8905b8807370ef4b | /cantor_iteratif.sce | f95fb7a7cf13c8936c043b6820d1f3a93b67c953 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | cantor_iteratif.sce | function Y=f0(X)
Y=[1/3 0;0 1/3]*X;
endfunction
function Y=f1(X)
Y=[1/3 0;0 1/3]*X+[2/3; 0];
endfunction
N=input("Entrez N, le nombre de points a dessiner : ");
C=zeros(2,N); C(:,1)=[0;0]; //initialisation de l'ensemble de N points
for i=2:N
t=floor(2*rand(1)+1); //selection aleatoire de la fonction
... |
5006dcaaf6b08817e7a5e8fef62fa228693382ac | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_nw_vrt_col_d/~BivLCM-SR-bfas_nw_vrt_col_d-PLin-VLin.tst | 1a4353b64f867a8acd1ab4d60ed8958c6926e236 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,909 | tst | ~BivLCM-SR-bfas_nw_vrt_col_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.446506D+00
2 -0.568389D-02 0.359997D-02
3 -0.205670D-01 0.20689... |
7d8b5093a8665b29b1992e6286b3d39eb9e58087 | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/melt().sci | f46c5f92b11112763e7dbd5ce56a8d29c6302795 | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 831 | sci | melt().sci | function melt()
//Unpivot a DataFrame from wide to long format, optionally leaving identifiers set.
// Syntax
//pd.melt(df, id_vars=['A'], value_vars=['B'])
//
// Parameters
//id_vars: tuple, list, or ndarray, optional
//value_vars: tuple, list, or ndarray, optional
//var_name: scalar
//value... |
b8a0f919b7b752504f5f33a95af5f02f667e743f | bdf572464541387fa0028a1ff861ceb55e81938e | /Numerical Integration/simpsons1.sci | f7e3c3346d1b4e77dc029d7c0f3f0a8b7f74a703 | [] | no_license | akarshsomani/Scilab-programs | 20c4a52a51e5689d12d491218988aa037f09a21a | 18199a7f424e3711765965e3d3b12e149a5d497a | refs/heads/master | 2020-03-14T10:00:36.585002 | 2018-04-30T04:59:39 | 2018-04-30T04:59:39 | 131,557,212 | 0 | 1 | null | 2018-10-31T14:52:07 | 2018-04-30T04:55:36 | Scilab | UTF-8 | Scilab | false | false | 231 | sci | simpsons1.sci | function [e] = sim1(x0,xn,n)
deff("y=f(x)","y=sqrt(x^2+1)")
h=(xn-x0)/n
s=0
while x0<xn
s=s+(h/3)*(f(x0)+4*f(x0+h)+f(x0+2*h))
x0=x0+2*h
end
e=(abs(s-1.147)/1.147)*100
disp(s)
endfunction
|
caa495f6fe9784e12f1c40cc379c6a7f23d2f48c | 07b24003442d27bad5942901ac61406505e95f60 | /AP187_paramseg_multiROI.sce | 36b4e1351541810029dddcadcd9e752018572e5c | [] | no_license | jbadelino/Applied-Physics-186-Activity-7 | 3b957ca1470215faa7a8694bb4b78084b584080e | e81d4af1d5dfad95a4c32753de4c63d29cfda6bf | refs/heads/master | 2020-08-08T13:07:08.149399 | 2019-10-09T06:24:46 | 2019-10-09T06:24:46 | 213,837,511 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,637 | sce | AP187_paramseg_multiROI.sce | stacksize("max");
img = double(imread('C:\Users\Asus\Documents\Applied Physics 186\act 7\ppg.jpg'));
R = img(:,:,1);
G = img(:,:,2);
B = img(:,:,3);
//chromaticity coordinates
I = R+G+B;
I(find(I==0))=100000;
r = R./I; //red NCC
g = G./I;//green NCC
b = B./I; //blue NCC
//tri-colored ROIs
//ROI1
R... |
711a54fa6d5aa93b829f8979ae42dc5a0eae5f3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH5/EX5.2/ex5_2.sce | ec3aaf22323e37c5d9f03cd630f1fa4edc15cba7 | [] | 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 | ex5_2.sce | clc;clear;
//Example 5.2
//given values
f=880*10^3;//frequency in Hz
P=10*10^3;//Power in W
h=6.625*10^-34;//Plank's constant
//calculation
E=h*f;
n=P/E;
disp(n,'The number of photons emitted per second are') |
e6f506d7baf67a720804a533f5ca7c17b451db67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH2/EX2.7/Example2_7.sce | d51e030afd5d17ea83cc6e24289c539f79adc025 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | Example2_7.sce | clear ;
clc;
// Example 2.7
printf('Example 2.7\n\n');
//Page no.58
// Solution
// Basis 500 L solution containing 35g/L
// (NH4)2SO4 is the only nitrogen source
cn = 35 ;//[g/L]
wt = 9 ;//[wt % N]
m_wt1 = 132 ;//[g]
m_wt2 = 14 ;//[g]
amt = (500*(35)*.09*1*1*m_wt1)/(1*m_wt2*1*1);
printf('Total amount ... |
f51ec55e0102c5ad88c4dfaa382c8802ce649ba7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH18/EX18.1/ch18_1.sce | 9a8a19e0d4542552671e40619d42d6cfb0db66f6 | [] | 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 | 694 | sce | ch18_1.sce | //Determine the voltages at the end of first iteration using gauss seidal method
clear
clc;
Y=[3-%i*12 -2+%i*8 -1+%i*4 0;-2+%i*8 3.666-%i*14.664 -.666+%i*2.6664 -1+%i*4;-1+%i*4 -.666+%i*2.6664 3.666-%i*14.664 -2+%i*8;0 -1+%i*4 -2+%i*8 3-%i*12];
P2=-.5;
P3=-.4;
P4=-.3;
Q4=-.1;
Q3=-.3;
Q2=-.2;
V2=1;
V3=1;
V4... |
af05133e9f0faa388579133a6a64b4e3ac32b9da | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH7/EX7.3/7_03.sce | 62af26676ad21794592f8013853ee0ec3e27ac35 | [] | 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 | 870 | sce | 7_03.sce | //Example No. 7_03
// Gauss Elimination using partial pivoting
// Pg No. 220
clear ; close ; clc ;
A = [ 2 2 1 ; 4 2 3 ; 1 -1 1];
B = [ 6 ; 4 ; 0 ];
[ ar , ac ] = size(A);
Aug = [ 2 2 1 6 ; 4 2 3 4 ; 1 -1 1 0 ];
for i = 1 : ar-1
[ p , m ] = max(abs(Aug(i:ar,i)... |
771bb3536ea793196c4e590e7085c298f947a21f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH15/EX15.3/ex_3.sce | a1f4935859c22200921fc6345c0a7ea9caecdb1f | [] | 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 | 174 | sce | ex_3.sce | //Example 3 // frequency
clc;
clear;
close;
//given data :
x=264;//key note
g=x*(3/2);//
disp(g,"frequency of note G is ,=")
cd1=x*2;//
disp(cd1,"frequency of note C is ,=")
|
c4bd1c755d9333cafc8f08032b88cd7038da1124 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH6/EX6.5.d/Example6_5d.sce | 64b6a32c87f1fd101615729451207cc3a14e62e4 | [] | 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 | 528 | sce | Example6_5d.sce | clear;
clc;
//Caption:If input is low in NAND gate
//Given Data
//For transistor
Vbesat=0.8;//in V
Vy=0.5;//in V
R = 5;//in K
Rc = 2.2;//in K
//The logic levels are Vcesato=0.2V for 0 state
Vcesato=0.2;//in V
//For diode
Vyd=0.6;//in V
Vdrop=0.7;//in V
Vp = Vcesato + Vdrop;//Voltage at point P
di... |
32aca5bea1d6ca25d7c9f1909978409d792000de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH5/EX5.11/Chapter5_Example11.sce | 8b4547aea8cc9124aeec8fe26dccda75d1e19356 | [] | 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 | 844 | sce | Chapter5_Example11.sce | //Chapter-5, Example 5.11, Page 178
//=============================================================================
clc
clear
//INPUT DATA
a=0.405;//Thermal diffusivity in m^2/h
Ti=100;//Initial temperture in degree C
Tf=0;//Final tempertaure in degree C
Tg=(4*100);//Temperature gradient in degree C/m
t1=1... |
4e10c989fd0b9ebd0935ee7206eca64ffba7073e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%rrp.sci | ccb4490f0cd76a2f9c8e091482e82cda245fa6de | [
"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 | 270 | sci | %rrp.sci | //<f>=%rrp(f1,p2)
// %rrp(f,p) calcule la division a droite de la matrice de fractions
//rationnelles f et de la matrice de polynomes p. (f/p)
//!
if prod(size(p2)) <>1 then f=f1*invr(p2),return,end
[t,n1,d1]=f1(1:3)
[n1,p2]=simp(n1,p2*d1)
f=list(t,n1,p2,f1(4))
//end
|
513e726727826abae4d942de0b3c31d705b65810 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH6/EX6.3/example6_3.sce | 30fd26b1805d5e6e3a2d489f2d9cb37bd60dfc05 | [] | 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 | example6_3.sce | //clc()
P1s = 194.9;//kPa
P2s = 8.52;//kPa
T1 = 353;//K
T2 = 273;//K
T3 = 300;//K
Pair = 101.3;//kPa
//log (P2s/P1s) = J * (1/T1 - 1/T2) / R
//let J / R = L
L = log (P2s/P1s)/(1/T1 - 1/T2);
P3s = P1s * exp(L * (1/T1 - 1/T3)) ;
Ptotal = P3s + Pair;//at saturation vapour pressure = partial pressure
disp("kPa"... |
e3fdf1290e968a888221c59ee85ad410f3ef74e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH5/EX5.16/5_16.sce | 97451085cb1c23eff179b4b0f816071bafaa3c0f | [] | 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 | 294 | sce | 5_16.sce | clc
//Initialization of variables
g=981 //cm/s^2
Cd=0.6
Q=1200
d=3 //cm
l=30 //cm
b=30 //cm
dh=5 //cm
h1=9 //cm
//calculations
function y =fun1(h)
y= l*b/(Q - Cd*%pi/4 *d^2 *sqrt(2*g*h))
endfunction
t=intg(h1,h1+dh,fun1)
t=126
//results
printf("Time required = %d sec",t)
|
1a9844502df9eec2dd03f00d9a88fa01f216dc9e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_K._L._Kishore_1511.zip/Electronic_Devices_And_Circuits_K._L._Kishore_1511/CH2/EX2.30/ex2_30.sce | d2e8a20fdefe49b1f89eabad4cf7a40e13a92087 | [] | 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 | 289 | sce | ex2_30.sce | errcatch(-1,"stop");mode(2);// Example 2.30 page no-95
B=0.1 //Wb/m^2
Vh=50 //mV
I=10 //mA
rho=2*10^5 //Ohm-cm
w=3*10^-3 //m
x=B*I*10^-3/(Vh*10^-2*w)
printf("\n1/RH=%.3f",x)
y=1/(rho*10^-2)
printf("\nConductivity = %f mhos/meter\nmu=%.0f cm^2/V-sec",y,(y/x)*10^6)
exit();
|
0a16cf123f4a8d7a3d301f8c811f93a841321939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH6/EX6.17.2/ex_6_17_2.sce | 5134a0167bc38114d5332109c1a3b336b19d8ff7 | [] | 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 | 386 | sce | ex_6_17_2.sce | //Example 6.17.2 // error
clc;
clear;
close;
f1=1;// in Mhz
f2=200;//in kHz
per=(200*10^-3)*100;// percentage error that display may indicate 4 micro seconds or 6 micro seconds
per1=(1/50)*100;//percentage error after 10 times improvement
disp(per,"percentage error that display may indicate 4 micro seconds or 6 micro s... |
d2ce46106e636903e05a9b959d006e8a2f0865db | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 10/Q2.sce | 1b8d3b7b8d4768ac3ad6daaa908a52ae0c29f721 | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | Q2.sce | clc; clear all;
s = poly(0, 's');
g = (s+3) / (s^2 + 5*s + 4);
G = syslin('c', g);
M = tf2des(G);
disp("A = ");
disp(M("A"));
disp("B = ");
disp(M("B"));
disp("C = ");
disp(M("C"));
disp("D = ");
disp(M("D"));
disp("E = ");
disp(M("E"));
g1 = (s+1) / (s^2 + 5*s + 4);
G1 = syslin('c', g1);
M1 = tf2des(G1);
T = eye(2,2);... |
48564f4915d5d682b4d4e177b8742fed170fd23f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.14/ch12_14.sce | fecde847a4217fb70ae0221d8be9fdd625255244 | [] | 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 | 339 | sce | ch12_14.sce | clear;
clc;
I_a=1;//supposition
a=60;
I_s1=2*sqrt(2)/%pi*I_a*sind(a);
I_s3=2*sqrt(2)/(3*%pi)*I_a*sind(3*a);
I_s5=2*sqrt(2)/(5*%pi)*I_a*sind(5*a);
per3=I_s3/I_s1*100; printf("percent of 3rd harmonic current in fundamental=%.0f",per3);
per5=I_s5/I_s1*100; printf("\npercent of 5th harmonic current in fundame... |
280daa65b5cd0520ccbbc5533a13d93807496251 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH7/EX7.15/Example7_15.sce | 51ce0fcf987604c1f6793e14726efbf1e05f76a3 | [] | 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,713 | sce | Example7_15.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART I : GENERATION
// CHAPTER 7: TARIFFS AND ECONOMIC ASPECTS IN POWER GENERATION
// EXAMPLE : 7.15 :
// Page number 78
clear ; clc ; close ; // Clear the work space and ... |
6a20cc11ac357f3fc67c32ea191da475698802da | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH8/EX8.2.a/8_2_data.sci | a6f3eee00e6871f2519f2a768c4f821f04a0b710 | [] | 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 | 161 | sci | 8_2_data.sci | // Aim:To compute horsepower across the pressure relief valve
// Given:
// pressure relief valve setting:
p=1000; //psi
// pump flow to the tank:
Q=20; //gpm
|
272c81b1e5a74aa19eed4ac4f71f6c6fa806d744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH9/EX9.8/Ex9_8.sce | 4719c632fb66112fb5b342b6ad01d7cc6da7b129 | [] | 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 | 743 | sce | Ex9_8.sce | clc
// initialization of variables
clear
// part(a)
Y=280 //MPa
A=4000 //mm^2
Am=44.99 //mm
R=100.0 //mm
r=180 //mm
r=60 //mm
// Mx is not yet known take it as unity
Mx=1 //unity
r=180
S_thMax=Mx*(A-r*Am)/(A*r*(R*Am-A))
Mx=Y/(abs(S_thMax))
printf('part(a)')
printf('\n Mx = %.2f kN.m',Mx/10^6)
// part(b... |
4ba9dc025da36c3b79ac8bda482595b950e7b195 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.40/3_40.sce | 81064552ec26ef02646e547aa5357e332f4db8e3 | [] | 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 | 3_40.sce |
clc;
clear;
//Exampe 3.40
v=17.95*10^-6 //[m^2/s]
dT=353-293 //[K]
k=0.0283 //[W/m.K]
g=9.81 //[m/s^2]
Npr=0.698 //Prandtl number
Cp=1005 //J/(kg.K)
Tf=323 //Film temperature in [K]
Beta=1/Tf //[K^-1]
l=1 //[m]
Nra=(g*Beta*dT*(l^3)*Npr)/(v^2)
//In textbook result of above statement is wrong... |
e63519f43c195d2762c79b09cf95121a1ed4c4d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH9/EX9.16.1/Example_9_16_1.sce | dc849f88e312ebd4eef85d10818d9f65b11dbabe | [] | 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 | 381 | sce | Example_9_16_1.sce | // Example 9.16.1 page 9.53
clc;
clear;
Pin=2;
Pout=27;
gain_db= Pout-Pin;
gain= 10^(Pout/10)/10^(Pin/10);
min_pow = 10^(Pout/10) - 10^(Pin/10);
printf("\nGain in dB is %d dB.\nGain is %.2f.\nMinimum pump power is %.1f mW.",gain_db,gain,min_pow);
//answer in the book for gain is 317, deviation of 0.... |
1b58756c251ddfee1076e1131fc72d763c5e16fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH12/EX12.2.b/solution12_2.sce | 4a3d4edf607040a543eeb6aac5725aefb62f4370 | [] | 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,180 | sce | solution12_2.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution12_2.sce')
//Obtain path of data file
datapath = path + filesep() + 'data12_2.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the KE of the car KEcar (J)
KEcar = 0.5 * m * ((v1*(5/18))^2 - (v2*(5/18))^2)
//Calculate the initi... |
ae4112fdf094e7b392452a4b8f725655c1594801 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH7/EX7.2/example7_2_TACC.sce | 3172f8822083a9f28b70cae8cae6decbf209e150 | [] | 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 | 814 | sce | example7_2_TACC.sce | //example 7.2
clear;
clc;
//Given:
T=298;//Temperature [K]
v=6.5*10^13;//Frequency in [sec-1]
//Consider zero point energy = 0.
h=6.627*10^-34;//planck's constant[J.s]
k=1.381*10^-23;//Boltzmann constant
N=1;//Since N=summation(gj*exp(-Ej/kT))
//To find the fraction of molecules present in vibrational ... |
e3636c414548c6fbf14d9182687e5aa4690d12b1 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /ak47 onetaps.sce | 751482ba972db90220d182de70596d78bf2dd1c5 | [] | 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 | 30,466 | sce | ak47 onetaps.sce | Name=ak47 onetaps
PlayerCharacters=Counter-Striker
BotCharacters=Counter-Striker Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=kovaim1.map
MapScale=4.0
BlockProjectilePredictors=true
Bl... |
ca46653b85e6fbfc3fcc790a8f44b86c87db042a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH7/EX7.14/Ex7_14.sce | 4d326d688009dae3ac2819de1a67a80321d22473 | [] | 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 | 309 | sce | Ex7_14.sce | clc
//initilization of new variables
clear
wt=0.8 //cm
ft=1.4 //cm
w=10 //cm
y=20 //cm
// Sigma_y: yield stress is not given explicitly
k1=wt*(40-2*ft)/2
Zp=(14*19.3+k1*9.3)*2
If=2*(w*ft^3/12+w*ft*19.3^2)
Iw=wt*(40-2*ft)^3/12
I=Iw+If
Z=I/y
sf=Zp/Z
//Results
printf('shape factor = %.2f ',sf)
|
8dc6314c8cc05d77809be8b35219eb94b0f9319e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.30/Exa2_30.sce | 24843b68d71cd11076f7070f3b7cf2507d782f15 | [] | 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 | 689 | sce | Exa2_30.sce | //Exa2.30
clc;
clear;
close;
//given data
p_A=17.34;
q_A=-0.0487;
p_B=1.36;
q_B=+0.0095;
p_AB=p_A-p_B;
q_AB=q_A-q_B;
T2=210;//in degree C
T1=10;// in degree C
E=p_AB*(T2-T1)+q_AB/2*(T2^2-T1^2);//in miu V
E=E*10^-3;//in m V
disp("Thermo-electric emf is : "+string(ceil(E))+" m V");
Tn=-p_AB/q_AB;
disp("N... |
abad9ccb9fa99aadde58b0d461cfae4539c86772 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH9/EX9.12/9_12.sce | 3691cd0d0b29cada02be83c518d7d1f96e665449 | [] | 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,320 | sce | 9_12.sce | //pathname=get_absolute_file_path('9.12.sce')
//filename=pathname+filesep()+'9.12-data.sci'
//exec(filename)
//Pressure of air at each state(in bar):
p1=1
p2=4
p3=4
p4=8
p6=p4
p7=4
p8=4
p9=1
//Temperature at each state(in K):
T1=300
T3=290
T6=1300
T8=1300
//Effectiveness:
E=0.80
//Heating value of fu... |
a0586f0bac1ef5d592ea1da1c17590ddf9670d3d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.14_20.tst | fbcdafc2620f7534010d58b24a8a54045b61c801 | [] | 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,376 | tst | bow.14_20.tst | 14 1:0.03636363636363636 3:1.0 8:0.2 20:1.0 33:0.2 44:0.3333333333333333 55:0.25 63:2.0 91:0.2 102:1.0 162:1.0 166:1.0 199:1.0 203:1.0 293:0.25 318:1.0 388:0.5 575:1.0 622:0.25 634:1.0 753:1.0 1298:1.0
14 1:0.01818181818181818 3:0.5 15:0.25 17:0.058823529411764705 55:0.25 63:1.0 68:0.125 71:1.0 270:1.0 317:1.0 333:0.5 ... |
3f801f45cb68b9efe707e323358f95531995cd00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH6/EX6.6/Ex6_6.sce | 20a29ada412d69d2e0d810915e21b61fab1dc45c | [] | 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,809 | sce | Ex6_6.sce | clc
clear
//DATA GIVEN
Mw=5940; //mass of water evaporated kg/hr
Mc=675; //mass of coal burnt in kg/hr
C=31600; //lower calorific value(LCV) of coal in kJ/kg
p1=14; //pressure of steam at boiler stop valve in bar
Te1=32; //temp. of feed water entering ec... |
b8d773bdadb7cc9a696e763b91b5a0bbe45aa8f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH11/EX11.14/11_14.sce | 36d4d849b418b9da25a002b4f792f1c7d7028486 | [] | 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 | 730 | sce | 11_14.sce | clear
clc
//initialisation of variables
n= 2 //strokes/sec
dp= 6 //in
ds= 18 //in
ds1=4 //in
l= 20 //ft
l1= 20 //ft
f= 0.008
la= 5 //ft
A= 60 //r.p.m
f= 0.008
w= 62.4 //lb/ft^3
g=32.2
//CALCULATIONS
V= %pi*(ds/12)*n*(dp/12)^2/4
vmp= 2*%pi*A*(ds/24)/60
vmp1= vmp*(dp^2/ds1^2)
hfmax= 4*f*(l-la)*vmp1^2... |
6ff7e246d5df7da931d2c856d69b818afa8992ab | abdfb2db73e5240261372a514baa0c1a7bed7467 | /cudd-3.0.0/nanotrav/ham01.tst | 34680bb7c6278585f334e6cda82bf1739ea432e4 | [] | no_license | steefbrown/ece6740 | 21001ca156e24e23b71d6b719f11010ba4ce2a40 | cefe8dd498c7849546ece98fbd4d70b844f2bd5c | refs/heads/master | 2021-01-01T05:23:01.008122 | 2016-05-09T19:16:56 | 2016-05-09T19:16:56 | 57,227,414 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | tst | ham01.tst | # Nanotrav Version #0.12, Release date 2003/12/31
# nanotrav/nanotrav -p 1 -reordering linear ./nanotrav/ham01.blif
# CUDD Version 3.0.0
|
e72e56f6d37a1877fc32795b8d28a7c224379f16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH9/EX9.2/Exa9_2.sce | 4da62e9720a304603e275df605055864a20815a4 | [] | 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 | 263 | sce | Exa9_2.sce | //Exa 9.2
clc;
clear;
close;
//Given data :
VP=10;//in volt
R=100;//in Kohm
C=1000;//in pF
VBB=20;//in Volts
ETA=VP/VBB;//intrinsic stand off ratio
T=R*10^3*C*10^-12*log(1/(1-ETA));//in sec
disp(T*10^6,"Time period of sawtooth wave in miro seconds : ") |
ac3cbc355223c1a36f8263336f0ea200632478ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH7/EX7.8/7_8.sce | fd1f4e6d8ef633d28f1ebadbd0f374e501b59f48 | [] | 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 | 262 | sce | 7_8.sce | clc;
B=0.9/12/0.15;
b=0.1/2;
A=15.14;
a=0.02
AF=A;
disp(AF,"A/F ratio is:");
%C=.15;
%O=.20;
%N=.65;
twp=B*%C+B*%O+B*%N+b;
C=B*%C/twp*100;
O=B*%O/twp*100;
N=B*%N/twp*100;
H=b/twp*100;
disp(H,N,O,C,"wet volumetric analysis is as follows:");
|
ed5b787e3b2bf2bdf4cbade8193ac90480aa168a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.16/Ex3_16.sce | c9ae3837db6feea85daeda68c4d5c3c85fdcb3f6 | [] | 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 | Ex3_16.sce | clc;
//ex3.16
Vac=24; //volt
Vspk=Vac/0.707; //volt
Vf=0.7; //volt
Vlpk=(Vspk/2)-Vf; //volt
Vdc=Vlpk; //volt
RL=1200; //ohm
IL=Vdc/RL; //Amperes //v=r*i
t=0.00833 //second
C=0.00047 //farad
Vr=(IL*t)/C; //volt
Vdc=Vlpk-(Vr/2); //volt
disp('V',Vdc,"Vdc="); //The answers vary due to round off error
|
2a215b2332843dcf020fcebfdeb259753c6fdb3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH7/EX7.7/Chapter7_Example7.sce | 93ea60a614b3b2c2540bd7759d82d6611d910d25 | [] | 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 | 583 | sce | Chapter7_Example7.sce | clc
clear
//Input data
v=1500//Volume of hall in m^3
A1=100//Absorption of the sound by the hall in m^2 O.W.U or sabines
A2=100//Absorption of the sound by the audience in m^2 O.W.U or sabines
//Calculations
A=A1+A2//Total absorption of sound in sabines
t1=(0.16*v)/A1//Reverberation time of the hall when the ... |
345deb4bf9a2cf9390b8664c019e8eae84c22af0 | 015698d8a0b6c520beca8c5e7e1912ecf9b56f83 | /circle_fitting2.sce | 5c807e37a6c2ec015becad4d721a433eebe396c7 | [] | no_license | saras152/circle_packing | 458c80c02b1441c6badf24f91f60b456ebfe36c3 | 52625c8f76e1bdb1731e7b23d1b54ffd8ad49ada | refs/heads/master | 2021-01-01T18:45:51.611450 | 2017-07-28T07:06:25 | 2017-07-28T07:06:25 | 98,429,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,527 | sce | circle_fitting2.sce | clear
clearglobal
//clc
global polygon
global circle
function draw_circle(c)
theta=linspace(0,2*%pi,16);
x=c.pos(1)+c.radius*cos(theta);
y=c.pos(2)+c.radius*sin(theta);
xstring(c.pos(1),c.pos(2),string(i));
fa=0.15;
fv=0.1;
xarrows([c.pos(1) c.pos(1)+fa*c.accel(1)] ,[c.pos(2) c.p... |
738d9bfd2eba2ff07282a45a148c683a7724b037 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH2/EX2.9/Ex2_9.sce | 36f2bdf7bc258298f520d1e87959130f86d8e27a | [] | 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 | 615 | sce | Ex2_9.sce | clc
//Chapter2
//Ex_2.9
//Given
P=40 //in Watt
V=120 //in Volts
D=33*10^-6 //in meter
L=0.381 //in meter
To=293 // in kelvin
P_radiated=40//in watt
epsilon=0.35
sigma_s=5.6*10^-8 //in W/m2/K4
I=P/V
A=%pi*D^2/4
R=V/I // resistance of the filament
p_t=R*A/L // resistivity of tungsten
p_o=5.51*10^-8 // res... |
2aaafa88095cf3bde248e1e3ec33c91ff1d9f570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH15/EX15.3/S_3.sce | b65e7c2e929d7fa076446d5458abb92d9ac769ce | [] | 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 | 363 | sce | S_3.sce | // sum 15-3
clc;
clear;
P=16*746;
N=3000;
w=2*%pi*N/60;
T=P/w*10^3;
sigy=400;
Ty=sigy/2;
FOS=2;
Ta=Ty/FOS;
d=T*16/(%pi*Ta);
d1=d^(1/3);
r=3;
D=d1+(2*r);
SCF=1.196
Tys=Ta/SCF;
d=T*16/(%pi*Tys);
d2=d^(1/3);
d=14;
D=d+(2*r);
// printing data in scilab o/p window
printf("d1 is %0.2f mm ",d1);... |
f9ff8eeb2ad206999dbe93cd1602bb11d6b027b2 | efd8a524f4cb26e7523ef0e7211ba3ea3b60177d | /tests/test-bash-omit1.tst | 509d7b6ef582492ec751fb4b6f8bfd0b4d55854f | [
"Apache-2.0"
] | permissive | archiecobbs/csvprintf | 2788ee5c236d0e3ea329c927f15464c09ecef118 | 270286b352559219b26127775238331e052150ec | refs/heads/master | 2023-08-03T18:32:23.588637 | 2023-07-31T21:45:54 | 2023-07-31T21:45:54 | 34,139,639 | 38 | 4 | null | 2015-12-05T20:53:45 | 2015-04-17T20:53:56 | C | UTF-8 | Scilab | false | false | 150 | tst | test-bash-omit1.tst | FLAGS='-bi'
STDIN='aaa,PATH,ccc\n"a1","b1","c1"\n"a2","b2","c2"\n'
STDOUT=$'aaa=\'a1\'; ccc=\'c1\';\naaa=\'a2\'; ccc=\'c2\';\n'
STDERR=''
EXITVAL='0'
|
d5f0a9b4eabf4618831c681a6fc21ffe619ae7cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH2/EX2.5/2_5.sce | 0f2e1e31f1ded9663667e8f08ea8ac85d90a6ecd | [] | 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 | 392 | sce | 2_5.sce | clc;
//page no:2-12
//Example 2.5
//Given power= 20 kilowatts and modulation % =75
Ptotal=20;
u=0.75;
ptotal=Pc*(1+(u^2/2));
Pc=Ptotal/(1+(u^2/2));
disp(+'kW',Pc,'Carrier Power is ');
Pc=15.6;
Psb=Pc*(u^2/4);
disp(+'kW',Psb,'Sideband power is ');
//As the power in both sidebands is equal
disp(+'kW',Psb,'Up... |
46fa5eb5558dc5d34447d1848de2f59cbac0c47a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH3/EX3.7/3_7.sce | c3dd969f7412e031013fc8938064d31796b8c9f4 | [] | 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 | 429 | sce | 3_7.sce | //ques-3.7
//Calculating average degree of polymerisation of a polymer sample
clc
//Polymers of DP
a1=400; p1=10;//Percentage of Type-1
a2=500; p2=15;//Percentage of Type-2
a3=600; p3=35;//Percentage of Type-3
a4=800; p4=15;//Percentage of Type-4
a5=1000; p5=25;//Percentage of Type-5
Avg_deg=(a1*p1+a2*p2+a3*p3... |
f6712d2553159ecc6caf3f90cc14af6d8d1b0ab7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH12/EX12.5/ex12_5.sce | 7657aad6ad443ad309023f918749291594831608 | [] | 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 | 452 | sce | ex12_5.sce | //Determine the series and parallel resonant frequencies
clear;
clc;
//soltion
function [z]=prll(r1,r2)//Function for the parallel combination of resistor
z=r1*r2/(r1+r2);
endfunction
//given
L=3;//H
Cm=10*10^-12;//F
Cs=0.05*10^-12;//F
fs=1/(2*%pi*sqrt(L*Cs));
printf("The series resonant frequency... |
ef17a37990c341df3e66ac388de80bb1c95e2eda | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH1/EX1.26/Ex1_26.sce | ca2a953bc0f30e1f95ee86615331b693f3053c6a | [] | 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 | 253 | sce | Ex1_26.sce | clc
//
//
//
//Variable declaration
n=8 //no. of ring
D8=0.72*10**-2 //Diameter of the 8th ring
R=3 //Radius
//Calculations
lambdaa=(D8**2)*10**10/((2*(2*n-1))*R)
//Result
printf("\n The Wavelength is %i Angstrom",lambdaa)
|
31eb79437940d64645bfbe8af0adc0e2e14024f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.77/Ex4_77.sce | 6978ed6bbb0d322b05eade76f7ef4929a8cd9e56 | [] | 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 | Ex4_77.sce | clc;
// Hopkinson's method gave following result for two identical dc shunt machines
v=230; // line voltage
il=30; // line current excluding both field currents
ia=230; // motor armature current
ifl1=4; ifl2=5; // field currents
ra=0.025; // armature current
// from fig 4.85
ig=ia-il; // generator armature... |
9628073fe61bad7cfa9da9ea241397bb2db863e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH3/EX3.2/Ex3_2.sce | 2c7b44726e108490af0ae50268ef69babf42f02d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Ex3_2.sce | //Ex3_2
clc
E = 50*10^3
e = -1.6*10^-19
N = 10^6
F = N*e*E
disp("E = "+string(E)+"az V/m")//value of Electric field applied
disp("e = "+string(e)+"C")//value of eletron charge
disp("N = "+string(N))//total number of charge
disp("F = NeE = "+string(F)+"az N")//force on electron
|
63a19072791453fa0db530f1585966d1a8676527 | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P7 - Interpolation and function approximation/error de interpolacion polinomial.sce | 72f43bccf74af908767d725fd6e230bf52a81571 | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | error de interpolacion polinomial.sce | //|Pn - f(x) | <= PSI (x) f(n+1)(psi(x)) / (n+1)!
//si hallamos el máximo de psi y de f(n+1) en el intervalo en que estamos interpolando, entonces, podemos dar una cota (conservadora)
//si es el polinomio de chebysheb (PSI) entonces tiene el menor mínimo
plot (X,f(X),X,p(X))
|
d5fafd9eaf4b79d4ba58ca37089b529687f5a8f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH11/EX11.13/Ex11_13.sce | 37fc07a379c46692ab86e83dc4ca1834f0ab481b | [] | 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,637 | sce | Ex11_13.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 11 Example 13")
r=0.6;//relative humidity
P=1.013;//total pressure of mixture in bar
R=0.287;//gas constant in KJ/kg K
Ta=(30+273);//room temperature in K
Cp=1... |
7870bb908077118590a00df892a828f4ed341531 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH27/EX27.6/Ex27_6.sce | 09eaf1a32074e3bf60498a7d257a71a665d36a6e | [] | 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 | 854 | sce | Ex27_6.sce | //Variable declaration:
C = 150000 //Capital cost ($)
i = 7/100 //Interest rate
n = 5 //Time (yr)
OC = 15000 //Operating cost ($)
A = 75000 //Annual cost for the old process ($)
//Calculation:
CRF = (i*(1+i)... |
23eb25b73d98c1d7571b280011f13ee58d1ab2af | fc5080a7a45bf85d49f1c431517e8212927894b6 | /mfcc.sci | b6f94d9d06bfe0de802983353fcb685ea4a9a4de | [] | no_license | DanielPokorny/scilab_voice | 8f7ff13903ed0fc16ff117bcfae67d5329c0b501 | ba9a093ccc88b36df6326572ae24f2a34a190f34 | refs/heads/main | 2023-03-12T14:03:22.540802 | 2021-02-20T11:16:48 | 2021-02-20T11:16:48 | 340,635,274 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sci | mfcc.sci | y=wavread("/home/daniel/Projekty/scilab/HHH.wav");
mb(1:40)=0
for offset=1:512:length(y)-1024
x=y(offset:offset+1023)
f=powerspectrum(x)
mb=cat(2,mb,melbanks(f))
end
mbt=mb'
mbg=mbt(1:1000,1:40)
xg=1:1000
yg=1:40
grayplot(xg,yg,mbg) |
ec2b3dd92e587b51b0863493569d9b5514f2d07c | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH14/EX14.16/14_16.sce | 62271e424748c1538f75f678260f46ce34b5feef | [] | 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 | 487 | sce | 14_16.sce | clear;
clc;
//Example - 14.16
//Page number - 486
printf("Example - 14.16 and Page number - 486\n\n");
//This problem involves proving a relation in which no mathematics and no calculations are involved.
//For prove refer to this example 14.16 on page number 486 of the book.
printf(" This problem involves pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.