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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3ff67d00ab822e0cd9550bc0c959c44c9aeaf3ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH5/EX5.1/ex5_1.sce | 28b74e15df791e7ff6f874f4d507905e5c7c8e9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | ex5_1.sce | // Example 5.1, page no-310
clear
clc
//(i)
d=75*10^-3
a=3.141*d^2/4
v=760*10^-3
Q=v*a
Q=Q*10^3
printf("(i)\nVolume Flow Rate Q=%.3f *10^-3 m^3/sec",Q)
rho=1000
W=rho*Q*10^-3
printf("\n(ii)\nMass Flow rate W=%.3f kg/sec",W)
|
deb55b53aed8db50584d75b54f9f4037b30e6eb2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/percent/%rip.sci | 00512834bd41cfb797224ce40949aa4904f632c6 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sci | %rip.sci | function f2=%rip(i,j,f2,n)
// f2=%rip(i,j,f2,p) insertion
//
if type(i)==10|type(j)==10 then
error(21)
end
[l,c]=size(n),
if size(i)<>[-1,-1]; l=maxi([l,maxi(i)]); end;
if size(j)<>[-1,-1]; c=maxi([c,maxi(j)]); end;
d=ones(l,c);
n(i,j)=f2(2),d(i,j)=f2(3)
f2(2)=n;f2(3)=d;
|
776276e89ba06da280f71ec505c1ab0365c0d1a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH16/EX16.5/Chapter16_example5.sce | b1313adf397406cd1ff142918c12396e373754f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Chapter16_example5.sce | clc
clear
//Input data
n=(1/6)//Efficiency
T=82//Temperature to which the sink is reduced in K
//Solving two equations
//5T1=6T2
//2T1=3T2-246
A=[5 -6
2 -3]//Coefficient matrix
B=[0
-246]//Constant matrix
X=inv(A)*B//Variable matrix
//Output
printf('The temperature of the source is %3.0f K \n The ... |
1c0072076bd60e9ec63fe14e6f6376af5dd9c958 | 2ed4900de7e171a2d0fe5536f55027a22d1d56d7 | /library.sce | e033afb92ddeb5c62db941de32b3eecb63fcc989 | [] | no_license | lucasgamaleri/Ternium_picking_centradores_trendanalyst | 352d98bb4e039d9bbec34225c1635abf30f6fd79 | da489444965af8e88bab590f031020fabc8e75f4 | refs/heads/master | 2022-12-06T15:45:44.578951 | 2020-08-24T20:08:41 | 2020-08-24T20:08:41 | 279,302,213 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,062 | sce | library.sce | function buscar_bobina(n)
scf()
plot(long_centro_db(:,n),cpildesp_db(:,n),'r-')
plot(long_salida_db(:,n),c6desp_db(:,n),'b-')
xlabel('metros')
ylabel('Desplazamiento de chapa')
legend(['Centrador de piletas';'Centrador 6'])
title('BOBINA # '+string(n))
endfunction
function bb ... |
29d8304f0dec95ae68f948c9e7b3771bf9833e6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH6/EX6.4/Example6_4.sce | 6e25d41c4bdc8ceea1d7cfb7c4572da5fa216370 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Example6_4.sce | //Chapter-6,Example6_4,pg 6-64
Vd=2
Tb=2*10^-3//time base
Vd=2
Nd=3
Vpp=Nd*Vd
Vm=Vpp/2
Vrms=Vm/sqrt(2)
Hd=2//horizontal occupancy
T=Tb*Hd
f=1/T
printf("RMS value of voltage\n")
printf("Vrms=%.2f V\n",Vrms)
printf("frequency of voltage across resistor\n")
printf("f=%.2f Hz",f)
|
5c0127a779a83eb40f11c4a77c398cac425fdf57 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_P._V._Naik_710.zip/Engineering_Physics_P._V._Naik_710/CH6/EX6.6/6_6.sci | a0fe83d0577aea04de19b362d0b4f3d87a69e918 | [] | 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 | 317 | sci | 6_6.sci | errcatch(-1,"stop");mode(2);;
;
//To determine the refractive index of material surface
ip=52; //angle of polarization
mew=tand(ip) //refractive index of the material surface
printf("The refractive index of the material surface is %f",mew);
exit();
|
7a5cc18e2bc95406233f8a7e5dfeb2c6c0639264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.19/example4_19.sce | 3a86fa487df2a08fb794ba5277ab87b6a010e4cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | example4_19.sce |
//example4.19
//calculate fi index and time of rainfall excess
clc;funcprot(0);
//given
T=[1:1:9]; //time from start
r=[0.7 1.4 2.4 3.7 2.9 2.6 1.7 0.8 0.5]; //increamental rainfall
R=9.3; //total run-off
s=0;
for i=1:9
s=s+r(i);
end
ti=s-R;
//first trial
tr=9; //assumed
fi1=ti/tr... |
08ef5e5d885097caeebee4da8ace32b5a3bdc2fe | 8d84f0f9896b6d830524723e9edec1c30f50cc7b | /Unit 1/Guassian elemination.sce | 3b98f4c6c7ab1625755bad967cb922224da8e1b8 | [] | no_license | saveri1205/Linear-Algebra | 29a40be2c04213cec652cee72ce14411ab0eeb9a | 0d2b0b23bbb9f693f4c1b4e34a1b434378ab3e18 | refs/heads/master | 2021-01-01T13:23:18.102349 | 2020-06-03T10:50:23 | 2020-06-03T10:50:23 | 239,297,246 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | Guassian elemination.sce | clc;clear;close;
A=[2,4,6;3,-2,1;4,2,-1],b=[0;2;3]
A_aug=[A,b]
a=A_aug
n=3
for i=2:n
for j=2:n+1
a(i,j)=a(i,j)-a(1,j)*a(i,1)/a(1,1);
end
a(i,1)=0;
end
for i=3:n
for j=3:n+1
a(i,j)=a(i,j)-a(1,j)*a(i,1)/a(2,2);
end
a(i,2)=0;
end
x(n)=a(n,n+1)/a(n,n);for i=n+1:-1:1
... |
1f6035378839cb4dbedeb9bfd7dcff758f896dd6 | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/NekMesh/Tests/Gmsh/v2.2/varopti_cube_sphere.tst | c4fdb7f0ecc9eaadda51d2634144d20ee43a54ea | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 746 | tst | varopti_cube_sphere.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Variational optimiser test on all tet cube/sphere</description>
<executable>NekMesh</executable>
<parameters>varopti_cube_sphere.msh varopti_cube_sphere-out.xml:xml:test -v -m varopti:hyperelastic:numthreads=2:maxiter=5:nq=4</parameters>
<files... |
cefef405e6cddea183d0394c067e5376d18c2ff1 | 19ba35741abeefce1e69482bfe706700a7c4fe54 | /fourier.sci | fa4cfae8a2d174d48f9e5105a9c5e9ee36c7ac4e | [
"MIT"
] | permissive | swarlesbarkely/SciLab_Functions | 3c3be10d2025c06aa59bdc985d31239d59860d96 | f97d45ee7c2e574041a7b2845e6aad3bfbb76dad | refs/heads/master | 2021-01-17T11:28:57.829853 | 2017-06-06T01:20:01 | 2017-06-06T01:20:01 | 33,019,021 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sci | fourier.sci | //**********************************************************************
// Plots the frequency contents of the given signal
//**********************************************************************
function fourier (t, y)
SampleRate = 1 / (t(2) - t(1));
N = size (t, '*');
y = fft (y) * 2 / N;
Freq = Sa... |
c4d05d79e9e718c4719f6541e7763ca7675888c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH1/EX1.15/ex_1_15.sce | c7e3f3443a4e78a41ef8f04d178f2a27c452388c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | ex_1_15.sce | //Example 1.15 // flim thickness
clc;
clear;
//given data :
u=1.5;//referactive index of oil
i=30;// incident angle in degree
i=i*%pi/180;//to convert in radian
n=8;//8th dark band
w=5890D-10;// wavelength in m
r=sqrt(1-(sin(i)/u)^2);//cos of received angle
t=n*w/(2*u*r);//formula of thickness
t=t*1D3;//to c... |
a3b68dc7be896bf7101fe1078e01742fe64a0b34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH4/EX4.21/Ex4_21.sce | 116ca2f96f1eb16add8d93a4ba9344ddc71fa228 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Ex4_21.sce | clc
// Given that
w = 25 // Width of mild steel block in mm
d= 0.05 // Depth of cut in mm
D = 200 // Diameter of the wheel in mm
N = 3000 // Rpm of the wheel
f =100 // Feed velocity of table in mm/min
C = 3 // No of grits in mm^-2
rg = 15 // In mm^-1
// Sample Problem 21 on page no. 248
printf("\n # PROBLEM 4.21 # \n"... |
529cc7869282a2ff05a59f7087f7a2b3ee7bae97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH9/EX9.8/8.sce | 7b62b1a252de4a23df8853d002d146045691704a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8.sce | clc
clear
//INPUT DATA
X=0.1*1.6*10^-19//difference between energy and fermi energy in J
T=300//temperature in k
KB=1.38*10^-23//Boltzmann's Constant in m^2 Kg s^-2 k^-1
//CALCULATION
f=1-1/(1+exp(X/(KB*T)))//The probability of unoccupancy by an electron at room temperature
//OUTPUT
printf('The probabilit... |
01c62ca92d96393ce90ae1392f1d4ab96088a80c | 61129043aed87983b640a33b1c260316043fa570 | /drawing/primitives/cylinder.sci | 58ef52e260456af278de06bceb1ce94e860f8e52 | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,935 | sci | cylinder.sci | // =============================================================================
// gfx4scilab - drawing
// dgerod@xyz-lab.org.es
// =============================================================================
function [Cyl] = dw_Cylinder_create(Height, Radius, T)
Cyl = 0;
if rt_ishomog( T ) == %T ... |
8c302cc034e16d36f8af69fa51d047ba0f427d24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH3/EX3.3/3.sce | 19c933ab410685d4ffcb3391e7e3b0c5e757c476 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | 3.sce | //Variable declaration
T1=500+273; //temperature(K)
T2=1000+273; //temperature(K)
f=1*10**-10; //fraction
//Calculation
x=(T1/T2);
y=(log(f));
w=(x*y);
F=exp(w); //fraction of vacancy sites
//Result
printf('fraction of vacancy sites is %0.3f *10**-7 \n',(F*10**7)) |
cb3caa2661751d441f35c95a9e9ec6df9a057743 | dabaa151dd30205dd92a6844c0cd61cf046fb8fe | /Comparator16Bit/Comparator16Bit.tst | 2f3841574e402218bdea7b470dcc8a2e8dc9aa15 | [] | no_license | hakesh729/Project_hack | 627ef8260f81dbc971bb5371839523daac4a2646 | a1ea76fa612bbe4515863495922167bb4c65c418 | refs/heads/main | 2023-01-13T13:37:09.828021 | 2020-11-27T06:05:39 | 2020-11-27T06:05:39 | 316,411,714 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | tst | Comparator16Bit.tst | load Comparator16Bit.hdl,
output-file Comparator16Bit.out,
output-list x%B1.16.1 y%B1.16.1 z%B1.1.1;
set x %B1110101011111111, set y %B1010101010101010,
eval, output;
set x %B1111111100000000, set y %B1111111100000000,
eval, output; |
b75c700e80ba3528ae4118570fc46feb6d82eff4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.41.1/Ex3_41.sce | af0722512cf69331a23dce30f59de4c3fccae86e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_41.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
T1=25+273;
T2=145+273;
m=2;
R=267;
G=1.4;
Cv=R/(G-1);
printf('The value of ... |
a0fcce0d0a59dc5dbcbb9198b2722e9c80635093 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH4/EX4.24/Ex4_24.sce | 612f89e29083e746940e8f1f42625fc302f8c1f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_24.sce | clc;
clear;
t=3 //thickness of air cell in cm
delta_myu=0.000230 //difference in pressure
lambda=5.46*10^-5 //wavelength in cm
//calculation
change_in_path=t*delta_myu // change in one way path in cm
n=(2*change_in_path)/lambda
mprintf("The no of fringes passing through the field of view is = %d",n)
|
fe22eef9b0a53e56cdadb54c880d9dd584fd8ba1 | f61fc5f9d8415f72e01ba3158422f55376e459db | /session/papyros/stages/u2t/artwork/search_glow.sci | 3d1e653cd7f0aefe02198831b6dbbba8e95941c7 | [] | no_license | JosephMillsAtWork/u2t | 58c226eb15710affeceb41a747ca031dbaf0e5ca | b0f0f6de19ea21648cfd692f6f8afd8b60565fc9 | refs/heads/master | 2021-01-10T16:39:13.317851 | 2016-01-27T23:01:35 | 2016-01-27T23:01:35 | 50,544,130 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sci | search_glow.sci | border.left: 32
border.top: 30
border.bottom: 32
border.right: 33
source: search_glow.png
horizontalTileRule: Repeat
verticalTileRule: Repeat
|
da46681ad9550e668331130c0786d44d8193ba96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH6/EX6.5/ch6_5.sce | 3e06f2dcaace1339d428cab743ff25bfb03f8aa7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | ch6_5.sce | //To determine the corona characterstics
clear
clc;
D=1.036;// conductor diameter(cm)
d=2.44;//delta spacing(m)
r=D/2;//radius(cm)
Ratio=d*100/r;
j=r/(d*100);
Rat2=sqrt(j);
t=26.67;//temperature
b=73.15;// barometric pressure
mv=.72;
V=63.5;
f=50;//frequency
do=3.92*b/(273+t);//do=dell
vd=21.1*.85*do*r*l... |
f91e3ba3175fd0dc4ba747a33bf8fca36637735a | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /examples/electronics/IdealSwitch/postStep.sce | 2df55605dad3d0feecc878cf60d40c3ae701b4fd | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 67 | sce | postStep.sce | X_alpha = nextX;
L_alpha = nextL;
h_alpha = nextH;
g_alpha = nextG; |
3edf903dc7554cbadcadffea29b314e84ecbe767 | 9b60b7963181dd94c8d10cdb75a83bc010957e71 | /taf_monitor_code/taf_monitor/tests/acceptance/15-civil_tests.tst | 4536854479a1e7252d91e01d9ecb15167da614a9 | [] | no_license | alanyon/python | 577773100eac269750925c1f924edc51060ca865 | cbfe0f34fe61ed0495572fa05ea6bf4293ef15bb | refs/heads/master | 2023-07-13T17:27:59.555648 | 2021-08-09T15:59:08 | 2021-08-09T15:59:08 | 393,341,633 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | tst | 15-civil_tests.tst | {
"EGTE 181339Z 1815/1818 30006KT 9999 BKN045": {
"Known cloud failure": {
"metar": "EGTE 181450Z 27006KT CAVOK",
"test time": "20200618T1500Z",
"expected": "EGTE TAF bust by cloud"
}
},
"description": "Tests for cases highlighted as failing."
}
|
19c447faf8f6a001e8998c016777f6ecf9554e6b | 80fc9b7a10b546c9071b974c5328180e74ee1c5d | /TP1/Exercise2.sce | f46250f59aaf50e54db4572ec7cf1d5325d3b956 | [] | no_license | ASokem/TP_MAP101 | a443ddbd656d63918dd5caad3ce89418d02c0123 | b87d45faea6bc793161bae2238bd6489e5d9ede5 | refs/heads/main | 2023-08-10T20:42:07.377878 | 2021-09-29T09:15:34 | 2021-09-29T09:15:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Exercise2.sce | M1 = [1:1:7;3:1:9;5:1:11;7:1:13]'
M2 = [ones(3,2) zeros(3,3); 5*ones(2,2) -2*ones(2,3)]
M3 = [ones(1,8);linspace(1,8,8);linspace(1,8,8)^2]
M4 = [zeros(10,20);ones(10,20); 2*ones(10,20)]
disp(M1)
disp(M2)
disp(M3)
disp(M4)
|
e275afc6ba05fe8ed7f7616a26b9c79f982a2fb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH12/EX12.8/ex12_8.sce | 08ab33eed034ace526bfe874975d148d1e85d8ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | ex12_8.sce | clc;
ln_piCH4=-0.0323;
pi_CH4=0.9683;
p=6895; // Pressure in kPa
T=104.4; // Temperature in degree celcius
a=0.784;
f_CH4=pi_CH4*a*p; // Faguacity
disp("kPa",f_CH4,"The Required Faguacity = ");
|
2b9578d8c0026ae2e450b5347471e0e8c2cb9cb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.1/EX8_1.sce | da64c8db41615dd9241fad6a42031da701d45502 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | EX8_1.sce | //EXAMPLE 8-1 PG N0-510
L=0.02; //INDUCTANCE
C=4*10^-6; //CAPACITOR
Z=200;
Fc=1/(%pi*(L*C)^0.5);
Z0=(L/C)^0.5;
Z1=(%i*2)*%pi*Z*L;
Z2=1/(%i*2*%pi*Z*C);
Z0*(%pi)=[(4*Z1*Z2*Z2)/(Z1+4*Z2)]^0.5
F1=2000;
Z11=%i*%pi*F1*L;
Z22=1/(%i*%pi*F1*C);
Z01=[(4*Z11*Z22*Z22)/(Z... |
0a02f812adfe0b88bbf7bab82e03246c17fdbbd0 | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/sessao03.sce | 4352721179396e4cac2c2ac904271cfde2200674 | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | sessao03.sce | mode(7);
// Primeira sessao no Scilab (parte 3)
// define de um sistema linear na forma de espaco de estados
A = [-1,0;1, 2]; B = [1,2;2,3]; C=[1,0];
S1 = syslin('c', A, B, C)
// transformacao em funcao de transferencia
ss2tf(S1)
// define um sistema linear como uma matriz de transferencia
R = [1/s, s/(1+s), s^... |
f86c90158f3bd8937a05bc073bf942c15dc53b71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH3/EX3.03/3_03.sci | 6f16893af3c1375b76478c53f03252d12403e56d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sci | 3_03.sci | //laplace//
syms t s;
disp(%e^(-3*t),"g(t)=");
y1=laplace('%e^(-3*t)',t,s);
disp(y1,"G(s)=")
disp(%e^(-4*t),"r(t)=");
y2=laplace('%e^(-4*t)',t,s);
disp(y2,"R(s)=")
disp(y1*y2,"G(s)R(s)=")
|
dc61ae02a617011a61bb5f3c01b00d12b9d25001 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH9/EX9.11/Ex9_11.sce | 915002eadac6b632326e49cc86d11142ff1f59f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | Ex9_11.sce | // exa 9.11 Pg 273
clc;clear;close;
// Given Data
d=26;// mm
L=0.25;//m
F=300;// N
mu=0.14;// coefficient of thread friction
p=5;// mm (for normal series)
dc=d-p;// mm
dm=d-p/2;// mm
l=2*p;// mm
alfa=atand(l/%pi/dm);// degree
fi=atand(mu);// degree
To=F*L;// N.m (Torque applied by the operator)
//Tf=W*dm/2*tand(alfa... |
6757b95cd401437f23bd1e7a305f34166094958b | d6c6e5351a55752775a06471ab1e767b959dba02 | /Taller 4b/macros/capture.sci | 40d713d2c6268f7a08b13f029facb38caab5c295 | [] | no_license | hectornauta/Repoduino | f0a685840d7484f78ddb40c1704ce0d7d174aa41 | 05229fc5d70ecc4bd45102cbb02703cb912a5d14 | refs/heads/master | 2020-08-06T09:07:22.888804 | 2019-12-09T13:17:44 | 2019-12-09T13:17:44 | 212,917,573 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sci | capture.sci | function [data, field_names] = capture(arduino)
// Devuelve una lista de estructuras que contienen los datos capturados
// Ej: [captura_1, captura_2, ..., captura_n]
if arduino <> -1 then
try
serial_entry = readserial(arduino)
catch
disp("Arduino desconectado, finaliz... |
8f42950a43e374fef72c25221035609dec0dda29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH2/EX2.9/2_9.sce | c779315a771a74554945026838a7dc9692fdd2ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | 2_9.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 2.9
//evaluation of a integral
//given data
//function of x=(2*x^2)+(3*x)+5)
//limit=3 to 6
//calculation
y=integrate('((2*x^2)+(3*x)+5)','x',3,6)
disp(y,'value of the given integral is')
|
2803c922b7554c5be906ef3d5a12a027624834e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH2/EX2.5/Ch02Ex5.sce | 239ecc75f05c7cc3e3883b92442de1e0d7438ae3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,070 | sce | Ch02Ex5.sce | // Scilab code Ex2.5: Pg 39-40 (2008)
clc; clear;
R1 = 10; // Resistance, ohm
R2 = 20; // Resistance, ohm
R3 = 30; // Resistance, ohm
// Part (a)
// Since in sreies combination, the equivalent resistance of the circuit is the sum of the individual resistances pre... |
04a7a51bf55d1be2b2e6a0efb8cce35f705614cb | e806e966b06a53388fb300d89534354b222c2cad | /macros/arrowedline.sci | efbe94eecf953760ad5cd00b79d40232fafa60a1 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sci | arrowedline.sci | function[dstImg] = arrowedline(srcImg, x1, y1, x2, y2, R, G, B, varargin)
[lhs, rhs] = argn(0)
srcMat = mattolist(srcImg)
select rhs
case 8 then
out = arrowedline(srcMat, x1, y1, x2, y2, R, G, B)
case 9 then
out = arrowedline(srcMat, x1, y1, x2, y2, R, G, B,varargin(1))
case 10 then
out = arrowedl... |
9ab45b84e590a27795c029419d6a0ecb7e828efc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH4/EX4.14/14.sce | 2d4255664c2a2d79ad88c04a9906282b6282c738 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,018 | sce | 14.sce | clc
clear
//input data
k=1.3 //Adiabatic constant
R=466 //Gas constant in J/kg-K
P1=0.345 //Static Pressure at entry in Pa
T1=312 //Static Temperature at entry in K
C1=65.5 //Entry velocity in m/s
q=4592 //The heat transferred per unit mass flow in kJ/kg
//calculation
a1=sqrt(k*R*T1) //Sound velocity in m... |
5b092591fb6c3223d7a795fd00b4884149c45fd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH6/EX6.1/6_1.sce | dccb532fa52b2cf8c9aada7e83cecefb817f3ba0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | 6_1.sce | clc
//initialisation of variables
T= 25 //C
R= 0.0821 //li-atm per mole per degree
M= 0.5 //m
n= 2
m= 0.680
V= 1 //lit
//CALCULATIONS
P= R*(273+T)*M*n*m/V
//RESULTS
printf (' osmotic pressure= %.2f atm',P)
|
7d899a5ac32114bdd8a610d5ba8252168222fe3d | 7f9ab87a132b59ca9ac947540e642d403d42786d | /asser_nxt.sci | c333a4d1198e28aa5f4c373c6ca84d2521d434dd | [] | no_license | tchamelot/NeXTurret | da7f2a231455370c75a83c20f407e596c73cb355 | afd450bbb4e873ec219df7e2541b7f9e4290336d | refs/heads/master | 2020-05-23T07:56:53.912960 | 2017-09-28T11:18:29 | 2017-09-28T11:18:29 | 80,470,998 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,261 | sci | asser_nxt.sci | //Script Scilab pour correcteur PID pour moteur de NXT
clear
clc
xdel(winsid())
//Mesures expérimentales en boucles ouvertes
ymes = [0 4 8 13 19 25 32 39 46 54 62 70 77 85 93 101 109 117 125 133 141 149 157 165 173 182 190 198 206 214 222 230 238 246 254];
tmes = [0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0.22... |
ef6a8f88ca2a9f24cf54c403d4758bc886ca20be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH7/EX7.10/7_10.sce | 28f697b0f092ea6246b27e6ee5ab86f57052ed00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | 7_10.sce | //To calculate the magnetic moment and saturation magnetisation
AW = 157.26; //atomic weight
d = 7.8*10^3; //density, kg/m^3
A = 6.025*10^26; //avagadro number
mew0 = 4*%pi*10^-7;
N = d*A/AW; //number of atoms 1 kg contains
g = N/10^3; //number of atoms 1 g contains
mew_B = 7.1; //bohr... |
2860a1796f0aab693037694f7c9edb90960c8e26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH2/EX2.36.a/ex_2_36_a.sce | 6a6bb7cfcc6f2e24c6c0677476007f3b2f8b0d7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | ex_2_36_a.sce | //example 2.36(a)//
//subtraction of hexadecimal number//
clc
//clears the screen//
clear
//clears already existing variables//
x=hex2dec('3F')
//hexadecimal to deciimal conversion//
y=hex2dec('5C')
z=x-y
//subtraction//
t=z*-1
t1=dec2hex(t)
//answer in hexadecimal form(modulus)//
t2=bitcmp(t,8)
//comple... |
befe44bf52f72570aa7f74e5eacbb1ae745a4b9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH6/EX6.13/Example6_13.sce | 61e23dc6495c34ab435ba0162d1ebcd7f27098e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | Example6_13.sce | clear;
clc;
// Example: 6.13
// Page: 220
printf("Example: 6.13 - Page: 220\n\n");
// This problem involves proving a relation in which no mathematics and no calculations are involved.
// For prove refer to this example 6.13 on page number 220 of the book.
printf(" This problem involves proving a relatio... |
2462f4d10ed61639d9d9bd089da7cb14c3ec6649 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH6/EX6.12.d/EX6_12_D.sce | f72fa4c192327c02d00d3a80df3732b5cb8c8d29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | EX6_12_D.sce | //EXAMPLE 6.12.D
clear;
clc;
x1 = [1,1,1,1];
x2 = [2,2,2,2];
a = 1;
b = 1;
A=2
B=3;
for n = 1:length(x1)
x3(n) = a*x1(n)+b*x2(n);
end
for n = 1:length(x1)
y1(n) = A*x1(n)+B;
y2(n) = A*x2(n)+B;
y3(n) = A*x3(n)+B;
end
for n = 1:length(y1)
z(n) = a*y1(n)+b*y2(n);
end
count = 0;
for n =1:length(y1)
if(y3(n)== z... |
7821cd10e53c106291956c4d5138d3077f43b043 | 75e8de13b449936c15072e897be26dfe860bf5f4 | /data/samples-plus.sci | 74059fdc663eabe9ea321620cc5cfbec67a989fc | [
"LicenseRef-scancode-public-domain"
] | permissive | MyFreertosLab/my_motors_test | 98888702fd22774611b5c01f65d5c3938feb2838 | 2e059c196ec7be0ebd7ac9bd4f8c96585d1da169 | refs/heads/master | 2023-05-13T08:33:44.999855 | 2021-06-03T19:04:42 | 2021-06-03T19:04:42 | 373,610,906 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,660,970 | sci | samples-plus.sci | A=[
52.00000, 11744, 936, 11736, 856, 11736, 952;
52.00000, 11744, 936, 11736, 856, 11736, 952;
52.00000, 11744, 936, 11736, 856, 11736, 952;
52.00000, 11744, 928, 11736, 856, 11736, 952;
52.00000, 11744, 928, 11736, 856, 11736, 952;
52.00000, 11744, 928, 11736, 856, 11736, 952;
52.00000, 11744, 928, 11736, 856, 11736,... |
9ac4512083fbd399492b45bb588ea59c7f5bc5ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH1/EX1.21/1_21.sce | 941e73c35309f65d2054f7217309cad5f65e4d0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | 1_21.sce | //clc();
clear;
//To determine the slit width
theta=15; //angle in degrees
lambda=6500*10^(-8); //wavelength in centimetres
n=1;
a=(n*lambda)/sind(theta);
printf("slit width illuminated by white light is %f cm",a);
|
250497d2ca97db53fee57e30405ab5677577d8e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH15/EX15.6/Ex15_6.sce | e361b37054a432428ba3208db4cf8695766dfb28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,094 | sce | Ex15_6.sce | // Initilization of variables
t=1 // seconds
pi=3.14
// Calculations
// From the equations of r and theta given we find 1st & 2nd derative and substitute t=1sec Here we consider the 1st derative as r_1 & theta_1 and so on...
r=(1.25*t^2)-(0.9*t^3) // m
r_1=(1.25*(2*t))-(0.9*(3*t^2)) // m/s
r_2=2.5-(0.9*3*(2*t)) ... |
a4d51cc4a3c7e88f1dffc277fe741e1b566526af | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q02e.tst | 764f5c92af52c13efdc57b0cb8eb6ce197669bd3 | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | tst | q02e.tst | 0
0.20
aabbaab 1
aaaa 1
aabbababaab 1
aabaabaa 1
aaa 0
bbba 0
abaababa 0
bbaabbba 0
|
322f95c6e907f2046370a9fd2e5bff8a562bd0df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH5/EX5.2/Ex5_2.sce | 79e44233ab3d8fea51f15cb02a20bd05a2c0a2ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | Ex5_2.sce | sigma_cc=5//in MPa
sigma_sc=190//in MPa
Asc=6*0.785*20^2//six 20 mm dia bars, in sq mm
b=250//width, in mm
D=400//depth, in mm
Ag=b*D//in sq mm
Ac=Ag-Asc//in sq mm
P=sigma_cc*Ac+sigma_sc*Asc//in N
mprintf("Permissible load on the column = %f kN\n", P/10^3)
//design of links
dia=20/4//in mm
//as this is less ... |
8089186d8a6f187ba79c3c011051c43c8a529c31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.6/Ex_2_6.sce | 44938121289cd548b5d5ef9e3479ade8f92ac3df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Ex_2_6.sce | // Example 2.6:Core Diameter
clc;
clear;
close;
n1=1.55;//Waveguide Refractive Index
n2=1.48;//Cladding Refractive Index
h= 1.55;// Wavelenght in micrometers
NA=sqrt(n1^2-n2^2);// Numerical Aperture
a= (2.405*h)/(2*%pi*NA);// Core radius
d=2*a;// Core Diameter
disp(d,"Core Diameter in micro meter")
|
d6c9ba612202e7249ebe67d12d6e56263ad3d35a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH3/EX3.b.107/Ex3b_7.sce | 2e9cfc41facadd3bf54ff3ded8bc9ed30899346a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | Ex3b_7.sce | // Scilab Code Ex3b.7: Page-165 (2008)
clc; clear;
// For half reduction in intensity
I_ratio = 1/2; // Intensity ratio
theta = acosd(sqrt(I_ratio)); // Angle of rotation of polaroid, degree
printf("\nFor half reduction in intensity, the angle of rotation = %d degree", theta);
// For one-fourth reduction in... |
f76e1a5b2934f51d4a6ef786ed46fa7939253ce1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH6/EX6.7/Ex6_7.sce | 0ea6d5b7fd8a29f8c21d4add7b20e72d58457f77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,689 | sce | Ex6_7.sce | //Example 6.7
//Computation of velocity error constant Kv from Bode plot
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function and its bode plot
K=10;
s=poly(0,'s');
Gs=syslin('c',(K)/(s*(s+1)));
//The bode plot... |
c9cc14fe9567247eb98fa1af443acba73c371757 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH3/EX3.8/Ex3_8.sce | 8eb3829018d3f702b92d5e3be0829cde2f93ec33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | sce | Ex3_8.sce | // Problem 3.8,Page no.58
clc;clear;
close;
//R_a+R_c=25 //KN //R_a,R_b are reactions at supports A and C respectively
L_ab=2 //m
L_bc=3 //m
//Calculation
//From F.B.D,we get
//dell_L_AB=(R_a*L_AB)*(A*E)**-1 //Elongation of portion AB
//dell_L_BC=(R_c*L_BC)*(A*E)**-1 //Compression of portion BC
//After simplifying... |
ecd32ee04d786964f4d2c953a0486be2af02f01e | dacb210e4fc5dbb894a8358ca5b425e801829c17 | /Finite Difference, PDE, one-way wave/forTbacS.sce | 4777fa19082173415b5f479344c57c8d7e83be35 | [] | no_license | amiedemmel/Diff-Eq-Projects | ba0fe0a45cee568b65b2b508bd55d193668f7a14 | 7edbd8a46aec2df62990c8fb11365498cb583335 | refs/heads/master | 2020-05-30T04:10:56.223423 | 2015-05-08T15:50:50 | 2015-05-08T15:50:50 | 35,286,857 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,127 | sce | forTbacS.sce | clear u u1 u2 u3 tr x x1 nu
col=['-+b'; '-+g'; '-+r'; '-+c'];
iter=1;
flag=1;
lambda=input('lambda : ');
while(flag)
h=input('Enter space step h : ');
k=lambda*h;
ax=-1;
bx=3;
at=0;
bt=2.4;
n=(bt-at)/k + 1;
m=(bx-ax)/h + 1;
//True Solution for comparison
t=2.4;
x=ax;
... |
0cf05633cfbfc84b3b351eb825b0ea16acadb30b | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/metanet/concomp.sci | 462a9a6cd40b46e8636b075b74a684ca4270a4e5 | [
"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 | 107 | sci | concomp.sci | function ns=concomp(i,g)
[lhs,rhs]=argn(0), if rhs==1 then g=the_g, end
[l,nc]=connex(g)
ns=concom(i,nc,g)
|
168485a74c3fbe3460b0ef34855a5583bd4639d3 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Viper Ground Plaza.sce | d2aad322fa4640273d4c9f8f0c97a7c1db58a94d | [] | 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 | 74,070 | sce | Viper Ground Plaza.sce | Name=Viper Ground Plaza
PlayerCharacters=Aimer
BotCharacters=Bot Rotation.rot
IsChallenge=true
Timelimit=100000.0
PlayerProfile=Aimer
AddedBots=Bot Rotation.rot
PlayerMaxLives=0
BotMaxLives=9
PlayerTeam=1
BotTeams=2
MapName=viperplaza.map
MapScale=8.0
BlockProjectilePredictors=false
BlockCheats=true
Invi... |
21e0b544cfbf8a7a30e85f903dc080fd83e2ded9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH9/EX9.8/Ex9_8.sce | c5d15553ce2f1fd2e015a725355fd126e58e0e0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,384 | sce | Ex9_8.sce | clc;
N=6000; // Speed in rpm
Del_rise=20; // Stagnation temperature rise in kelvin
wf=0.93; // Work done factor eff_c=0.89; // Isentropic efficiency of the state
c1=140; // Inlet velocity in m/s
p01=1.01; // Ambient pressure in bar
T01=288; // Ambient temperature in kelvin
M1=0.95; // Mach number
Cp=1.005; // ... |
ac50b6ce8fd9a30adca28452b28e36a3be67bfcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH16/EX16.3/Ex16_3.sce | 4d71fd2563922b358a1c0fbf5d33d02171df87ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Ex16_3.sce | clc;
close();
clear();
//page no 521
//prob no. 16.3
d=240000*1.609; //in km
//part a
f=100; //frequency in MHz
alfa1_dB=20*log10(f)+20*log10(d)+32.44; //dB
mprintf('(a) The path loss is %.2f dB\n',alfa1_dB);
//part b
f=1; //frequency in GHz
alfa1_dB=20*log10(f)+20*log10(d)+92.44; //dB
mprintf(' (b)... |
46e52c051dfc5342e1614735a0293db85075756f | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH3/EX3.15/ex3_15.sce | 0c7ec461e43ce9e038be0ff819afd9a757598781 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | ex3_15.sce | //Example 3.15
clc
//Use of Relational operators with simple integer variables
i=1;
j=2;
k=3;
a=i<j;
disp(a,"(i < j )");
a=(i+j)>=k;
disp(a,"(( i + j ) >= k )");
a=( j +k ) > ( i + 5);
disp(a,"(( j + k ) > ( i + 5) )");
a=k <>3;
disp(a,"(k <> 3)");
a=j==2;
disp(a,"(j =... |
88eab0a7c9b996bb6c7515b9555a833fc191d8fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH6/EX6.15/6_15.sce | 7cae55cb31cb92c29482a688a97a1baee17e5cc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | 6_15.sce | //Screw jack parameters
p=10 //mm
d=50 //mm
W=6000 //N
theta=atand(p/(%pi*d)) //degree
fi=atand(0.05) //degree
R=300 //mm
P=(d*W*tand(theta+fi))/(2*R) //N
VR=(2*%pi*R)/(p)
MA=W/P
eta=MA*100/VR //percent
//torque required to keep the load from descending
T=(50*600*tand(3.6426-2.8624))/2 //N-mm
prin... |
6dd65bd644715c8ed425818a7c3f682324f6fb94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH5/EX5.26/Ex5_26.sce | 0aef1363fd12c429ef2db99707050e3ba3dad889 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | Ex5_26.sce | //Example 5_26
clc;
clear;
close;
format('v',6);
//given data :
I0=80;///micro A
t=125;//degree C
T=t+273;//K
Eta=1;//for Ge
VF=0.2;//V
VT=T/11600;//V(Volt equivalent of temperature)
///Part(a) In forward direction
Rac=VT/(I0*10^-6)*exp(-VF/Eta/VT);//ohm
disp(Rac,"(a) Dynamic Resistance in forward diecti... |
4ed8355401f03e1b6ee3e705a3517ea4a0ecd49d | 0ee3956f6556727a09cf2b2e537af1f13f1b342b | /Deprecated/SaliPrac.sce | 015ee7a6d05f2d198eca869ea64c499381b6b3eb | [
"MIT"
] | permissive | hipercog/PSICAT | 4827373578759fbc4861e1d487b070c17f291c71 | 27fa2f2b5b842a82f429bb3bac659a48306a2828 | refs/heads/master | 2022-02-18T22:44:40.617504 | 2019-10-21T13:51:40 | 2019-10-21T13:51:40 | 41,426,010 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,844 | sce | SaliPrac.sce | /**
DESCRIPTION: SCENARIO RUNS A BLOCKED EXPERIMENT OF PRIMED KANIZSA SHAPES
Author : Ben Cowley
Created: 01-05-2012
Modded : 28-06-2012
*/
scenario = "Saliency";
write_codes=true; # Write all codes to parallel port (for EEG acquisition)
pulse_width=16; # Seems to work fine
default_font_size = 20;
default... |
4a6d68e040be8f43c149d8e495d45c777a75d835 | 449d555969bfd7befe906877abab098c6e63a0e8 | /53/CH4/EX4.3/example_3.sce | e9d0793d662e5a3d6df67064b3eacde27590a1c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 794 | sce | example_3.sce | //Trans-resistance Rtf in Kohms
Rtf=(-10);
//given
R1=20;//in Kohms
R2=5;
Rc=1;
//transistor parameters in kohms
hie=1;
hfe=0.1;
//feedback fraction Bg
Bg=1/Rtf;
R=(-Rtf);
//input resistance ri in ohms
a=(R1*R2*hie)/((R1*R2)+(R1*hie)+(R2*hie));
ri=(a);
//Output resistance in ohms
ro=1000*Rc;
b=(R1*R2)/... |
7d7da27e4e07cb4f880559ce20b33a0eea9c2f34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH14/EX14.5/14_5.sce | 6b498696cb7998ed5566d3512521862c9ac9f7ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | 14_5.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 14.5
//calculation of the gain in the surface energy
//given data
R=10^-2//radius(in m) of the drop
n=1000//number of droplets formed
S=.075//surface tension(in N/m) of the water
//calculation
//volume of origina... |
1992430b55683e19cb6c07798a5e9b647cb7db6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH9/EX9.6/example9_6.sce | d0bba456554adc6dc3f2ebfed7de3ca13d490bf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | example9_6.sce | //clc()
F = 1000;//kg
Psolute1 = 20;//%
Psolute2 = 80;//%
//taking solute balance
L3 = F * Psolute1 / Psolute2;
//taking total material balance
V = (F -L3) / 3;
//for first effect, total balance gives,
L1 = F - V;
//solute balance gives,
Psolute3 = F * Psolute1 / L1;
//For second effect, total balance gives... |
955e071c8f9b1231a0184f7c32bec6965effdea4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.52/52.sce | 18da48a90f2f3e4a6a17489f8400eb58ea39a2df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | 52.sce | clc
m=0.08; //kg
p=2*10^5; //Pa
V=0.10528; //m^3
h1=2706.3; //kJ/kg
h2=3071.8; //kJ/kg
v1=0.885; //m^3/kg
v2=V/m; //m^3/kg
disp("(i) Heat supplied")
Q=m*(h2-h1);
disp("Q=")
disp(Q)
disp("kJ")
disp("(ii) Work done")
W=p*(v2-v1);
W_total=m*W/10^3;
disp("Total work done = ")
disp(W_total)
disp("kJ"... |
af2e13fe9afe139a2c3c11d6bf7c9ca8ecf40503 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH5/EX5.4/Ex5_4.sce | 72a2e5d2636d51c2cb827dbdb242e6d83abd0896 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | Ex5_4.sce | clc;
T1=300; // Inlet air temperature to the compressor in kelvin
p1=1; // pressure at state 1 in bar
T2=475; // Temperature at discharge in kelvin
p2=5;// Pressure at state 2
T5=655; // Temperature after heat exchanger in kelvin
T3=870+273; // Temperature at he turbine inlet in kelvin
T4=450+273; // Temperature... |
3f5e9ffee53fa19c3a0c25c5c0d3324f5a16c672 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Fortnite Close.sce | a68e175af44e9c8bf5c8d21060774730e80933a2 | [] | 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 | 18,195 | sce | Fortnite Close.sce | Name=Fortnite Close
PlayerCharacters=Fortnite
BotCharacters=Fortnite.bot;Fortnite.bot;Fortnite.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=
AddedBots=
PlayerMaxLives=0
BotMaxLives=
PlayerTeam=0
BotTeams=
MapName=
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=fals... |
055aef4e8f72ab54d5a48050732eaf031b7a423d | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mlink_profile_data_get.sci | 41f4afcce882a100fe997c63a3ed26dc6409c842 | [
"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 | 307 | sci | mlink_profile_data_get.sci | function [data, result] = mlink_profile_data_get(connection_id, sample_count)
[data, result] = call("sci_mlink_dsp_profile_get",..
connection_id, 1, "i",..
sample_count, 3, "i",..
"out",..
[sample_count, 1], 2, "i",..
[1, 1], 4, "i");
endfunction
|
99afdf3825ec9812c05a1c3a8f7abf955e008b62 | 132b4ac959b21691290ffeefbc31eefe24500a25 | /a8/a8/test1.tst | 7cc6198e84270f2f1b68fbdc29ea5ec842d769fe | [] | no_license | HanlonsStraightRazor/cs310 | df790b8c10b1ebb942313b4a620fd3ce655a075b | 0a053116659eb65ffacb9bf410774e31b17e8fbd | refs/heads/master | 2023-03-12T22:35:35.357502 | 2021-03-02T20:47:48 | 2021-03-02T20:47:48 | 343,901,992 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | tst | test1.tst | load Larc.hdl,
set RAM4K[0] %X8101, // 1.
set RAM4K[1] %X8202, // 2.
set RAM4K[2] %X8303, // 3.
set RAM4K[3] %X9FFF, // 4.
set RAM4K[4] %XF000; // 5. R1 <- 1
// 6. R2 <- 2
// 7. R3 <- 3
... |
bd533f46e282b2d48e6d5fc7b33905f3e1369469 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/percent/%rcs.sci | 41489ee55520f8b402ab5e39c80fa4599b89afa1 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sci | %rcs.sci | //<f>=%rcs(f,m)
// %rcs(r,m) calcule la concatenation en ligne d'une matrice de fractions
//rationnelles et d'une matrice de scalaires
//!
[p,q]=size(m)
f(2)=[f(2),m]
f(3)=[f(3),ones(p,q)]
//end
|
57dde5e3fff6422698f66b5cd0a0bdf296129418 | 592b1b7dfaefd62d755737ac7b6e81f44f7786ba | /4b Program for solving linear system of equations using Gauss Seidel method..sce | aadb3fac878dc6773f0863014e683b9ed8ac1187 | [] | no_license | muitnet/Numerical-and-Statistical-Methods-sem2-fybscit-mumbai-university | 841143b72d52229c68bcd0666ed10c844c02f507 | 2d1c638b881f3e418a982baa02632effd03ae5fe | refs/heads/master | 2021-01-19T07:23:05.463429 | 2017-04-07T11:54:24 | 2017-04-07T11:54:24 | 87,540,712 | 6 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 4b Program for solving linear system of equations using Gauss Seidel method..sce | function [X]=gaussseidel(A, n, N, X, b)
L=A;
U=A;
D=A;
for i=1:1:n
for j=1:1:n
if j>i then L(i,j)=0;
D(i,j)=0;
end
if i>j then U(i,j)=0
D(i,j)=0;
end
if i==j then Ls(i,j)=0;
end
end
end
for k=1:1:N
X=(D+L)^-1*(-U*X+b);
disp(X)
end
endfunction
A=[2 -1 0; -1 2 -1; 0 -1 2]
b=[7;1;1]
N=3;
n=3;
X=[0... |
be435e3163aba598c38bbcae053d7ea3d2df567f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH4/EX4.3/Ex4_3.sce | 98f37eb365df897685411705c9dbc016d6c32ff3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_3.sce |
clc
//initialisation of variables
p=1250//Btu per lb
E=1075//Btu per lb
f=4290//lb per hr
d=290//hp
h=33000//ft
t=778//R
t1=60//sec
//CALCULATIONS
H=f*(p-E)//Btu per hr
W=(d*h*t1)/t//Btu per hr
Q=H-W//Btu per hr
//RESULTS
printf('The radiation loss per hour from the engine=% f Btu per hr',Q)
|
944dc983f1de331f9efde5ccd09354832825abbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH3/EX3.22/Ex3_22.sce | d2c4e7c703f2fac3bfc193ebb0848bfcd3e78121 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Ex3_22.sce |
// Examle 3.22
// From the diagram (3.40b) Apply KCL to node a
// will get { (va-0)/2+ (va-vb)/3 = 5 }............(1
// Similarly apply KCL at node b
// will get { (vb-va)/3+ vb-0)/4 = -6 }............(2
// After ... |
9ab3f4a1f9bb7834cc9f01fd2055627558bdb7ff | db719ae90d19be4c228e1cc4209c3271c9c72eaa | /MissionU1.sce | c79aaf6c860a37ecc4e24c770d59b1ff2acd4b02 | [] | no_license | Cedric-M/Projet_Scilab_Imagerie | 9a51a12cf70ef820a158630a2b0c29c5f1ad4f08 | 13c62cddd8e1969a61864a332fae21457e8afdf7 | refs/heads/master | 2021-01-22T20:12:42.509435 | 2017-03-17T09:33:57 | 2017-03-17T09:33:57 | 85,294,028 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | MissionU1.sce | //MissionU1
function missionU1(imgU1)
disp("Résultat de la mission U1 :")
display_gray(imgU1);
endfunction
|
48279b56b97edfc362a5aa95a268ba29557ecbc9 | 53778997e85ff3cab79b1f1f7bb3fa048643c381 | /CEC2013/CMADE-BBComp3 Darwinian/results.tst | 867c87eb4f58b10d453fdfdec653cf99a9da4a92 | [] | no_license | Jagorius/EvolutionAlgorithms | a4d8230f2699b4c02a48f48db089be4380569f27 | 7d6c3ee50ce902b1bb4bf48f3c337d146205eb5e | refs/heads/master | 2021-04-12T02:11:13.844126 | 2019-03-19T23:06:36 | 2019-03-19T23:06:36 | 30,813,509 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,432 | tst | results.tst | Loading required package: iterators
Loading required package: parallel
[1] "CEC2013 N=1 D=10 --> Mean: 0 Worst: 0 Best: 0 Sd: 0"
[2] "CEC2013 N=2 D=10 --> Mean: 0.00826086295241308 Worst: 0.414156936080417 Best: 0 Sd: 0.0579787349310936" ... |
0d3f7ea1cf9fdb89e60525675cfc87569f06c20c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH10/EX10.7/ch10_7.sce | 42d8f87f89ef92712afca5c9100480a535e156d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | ch10_7.sce | clear;
clc;
V_l=400;
V_ml=sqrt(2)*V_l;
m=6;
f=50;
w=2*%pi*f;
L=.0012;
I=40;
disp("for firing angle=0deg");
a=0;
V_or=(V_ml*(m/%pi)*sin(%pi/m))*cosd(a);
V_omx=V_or-3*w*L*I/%pi;
V_rms=V_omx/sqrt(2); printf("rms value of load voltage=%.2f V",V_rms);
disp("for firing angle=30deg");
a=30;
V_or=(V_ml*(m/... |
4adc9ff46b8911189adbee55560c594746ae18ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH6/EX6.2/2.sce | f17479e565c687b77552cd79eb793b3d2e5d1c31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | 2.sce | clc
clear
//input
T=100 //rise in temperature
i=2.7 //current
t=950 //time taken
mc=0.15//mass of calorimeter
cy=3*10^3//specific heat capacity of y
cc=2*10^3//specific heat capacity of calorimeter
my=160*10^-3//mass of liquid
//calculation
v=((my*cy)+(mc*cc))*T/(i*t)//law of conservation of heat
//output
... |
eaed805c324499ef915a8f130e89189a6fb14c95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH5/EX5.1.b/Example5_1b.sce | eca43d709a2a811729c0c15a02dadeb20421f31e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 901 | sce | Example5_1b.sce | clear;
clc;
//Example 1.2
//Caption : Program to find transistor currents for npn transistor after adding resistor to circuit.
//Given Values
//Silicon Transistor
B=100; //Beta
Ico=20; //in nA
Rc=3;
Ico=20; //in nA
Rb=200;
Re=2;
Vbb=5; //in V
Vcc=10; //in V
Vbe=0.7; //in Active region
//... |
6158f3e28c78503f291607c80ba2bc66356c432d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH8/EX8.5/Ex8_5.sce | 107ec37192efa4185fe015fadbae52449fd3e9ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Ex8_5.sce | //example-8.5
//page no-246
//given
//according to the given conditions in the ques the graph can be drawn as shown in fig 8.12
//the given temp 576.9 degees celcius is just below the eutectic temp 577 degres celcius
//from the graph, we can have the following values
C_beta_e=100
C_e=1.65
C_0=10
//hence weight... |
ddf8ffaba283ed5928989feee41977b43e88c740 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH1/EX1.6/Ex1_6.sce | 1b18337d95c3fb966bd1e6d21d4165ad401fa7be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_6.sce | // Exa 1.6
//Data taken from Eg 1.4 as stated
clc;
clear all;
// Given data
x1= 49.7;
x2= 50.1;
x3= 50.2;
x4= 49.6;
x5= 49.7;
n= 5; // number of x values
// solution
X_mean= (x1+x2+x3+x4+x5)/5; // Arithmatic Mean
d1= x1-X_mean;
d2= x2-X_mean; // deviation from each value
d3= x3-X_mean;
d4=x4-X... |
e925ba6ec05f3ffc3bc0f87ff10e70aaaa37d966 | b34461c9ddff1ba130b67023d6e568ada42830dc | /scripts/dilatation.sci | 491efbd2fb2e9f75a304964aaf174a2512629789 | [] | no_license | AdrienKegler/Projet-Exolife | f72287fdc41a07b88f03b8346dafab93b4539b07 | 249f0861dc4ba3f2a7639ea60b7d12b45e717933 | refs/heads/master | 2020-05-25T14:05:45.213740 | 2017-03-17T09:16:20 | 2017-03-17T09:16:20 | 84,937,694 | 0 | 0 | null | 2017-03-15T10:15:55 | 2017-03-14T10:45:25 | Scilab | UTF-8 | Scilab | false | false | 877 | sci | dilatation.sci |
function image_out=dilatation(matrice,structure,centre_x,centre_y)
SizeX = size(matrice,"r");
SizeY = size(matrice,"c");
image_out= zeros(SizeX,SizeY);
SizeX_struct = size(structure,"r");
SizeY_struct = size(structure,"c");
for i = 1:SizeX,
for j = 1:SizeY,
if (matrice(i,j) ==... |
02640e4da70a6d36840cfa05c150a6ee7898dc7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH3/EX3.5/Chapter3_Example5.sce | a89a6c55508592e5fb3448cc9589ea284cd43bbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,114 | sce | Chapter3_Example5.sce | clc
clear
//Input data
C=86;//The composition of carbon in the fuel by weight in percentage
H=14;//The composition of hydrogen in the fuel by weight in percentage
e=1.25;//Equivalent ratio
o=32;//Molecular weight of the oxygen
co=44;//Molecular weight of the carbondioxide
c=12;//Molecular weight of the carbon
... |
3dc0fa1aae99dbff7fa591715c860f7c4c274ac9 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/ChEn/chen12.tst | d9c56aea9622083105751624f766d043119ed910 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,155 | tst | chen12.tst | 东恩
东多
东特
丰塞卡
乌伦
乌尔索
乌齐
乌多
乌利
乌里扬诺夫
乌德
乔瓦尼
乔内
亚历杭德罗
亚历山德罗
亚历山德里亚
亚维科利
亚辛
亚丁
优素福
兰科维奇
兴登堡
冈
凯塞尔斯
凯末尔
别尔
别尔斯基
别达
别洛夫
卡冈诺维奇
卡尔达诺
卡尔马
卡尔海因茨
卡尔尼
卡尔沃
卡尔洛夫
卡尔姆
卡约
卡苏
卡萨尔
卡萨斯
卡斯塔涅达
卡捷琳娜
卡西姆
卡杜
卡特纳
卡尼亚
卡巴纳
卡梅
卡雷
卡利奥
卡里姆
卡列夫
卡佩
卡佩特
卡拉尔
卡拉扬
卢萨卡
卢巴
卢德
吕
吕内
吕德
图尔
图多尔
图波列夫
图莱
图雷
图利
图哈切夫斯基
图拉
图德
宁
宾克
尘
帕卡尔
帕尔西
帕尔多
帕尔梅
帕维尔
帕索
帕申
帕切科
帕泰... |
a9bd7b1d3a522e3a82184ef8b7abffce2a3ba59f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH41/EX41.2/Example41_2.sce | c697e3d7f1ac0255baa8c3c4856f8e7203cca68a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,298 | sce | Example41_2.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 3: ELECTROLYTIC AND ELECTRO-METALLURGICAL PROCESSES
// EXAMPLE : 3.2 :
// Page number 748
clear ; clc ; close ; // Clear the ... |
3324fd2ca96a2853daee160eeb44cc28567a3d73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH4/EX4.17/Ex4_17.sce | a25d45cd6d27200881cbb5c18320194772acc025 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_17.sce | //Caption: sampling rate,quantizing level
//Example 4.17
//page no 194
//Find sampling rate,quantizing level
clear;
clc;
r=36000;
fm=3.2*10^3;
fs=2*fm;//Nquest rate
v=r/fs; //r=v*fs signaling rate
v=floor(v);
q=2^v;
fs1=r/v;
disp(q,"quantizing level q=");
disp(fs1/1000,"sampling rate fs=");
disp("kHz... |
ed2d511672cae23ad770f04242e38b13268b1ac9 | c0ea72a2b7f0d595aae5a90ccc20f711888f0001 | /LeastSquares.sce | 6cf6c13c94b26c49c29d39a472903833b8de509f | [
"Apache-2.0"
] | permissive | TANYA-CHAN/Linear-Algebra-Codes | 4e94e9e0ab066f07a514d1086645375d552d932b | 69a0a7c05f19702614f85620e9ea5c947c08f28a | refs/heads/main | 2023-04-14T22:58:10.479315 | 2021-04-22T17:55:13 | 2021-04-22T17:55:13 | 360,629,255 | 5 | 0 | Apache-2.0 | 2021-04-22T17:52:41 | 2021-04-22T17:32:03 | Scilab | UTF-8 | Scilab | false | false | 298 | sce | LeastSquares.sce | //Solve Ax = b by least squares where A=(1 0,0 1,1 1) b=(1,1,0)
clear;
close;
clc;
A= [1 0;0 1;1 1];
disp('A=',A);
b=[1;1;0];
disp ('b=',b);
x=(A'*A)\(A'*b);
disp (' x.',x);
C=x(1,1);
D=x(2,1);
disp('C=',C );
disp('D=',D );
disp( ' The line of best fit is b=C+Dt ') ;
|
dc82d4df71ce5dadd82e6f551fab846cd9d36fa8 | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp2/inverse.sci | 3703e411076381497de4beb0769b9ead0c224c27 | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sci | inverse.sci | function [B] = inverse(A)
[m,n] = size(A)
if (m ~= n)
error("MATRICE NON CARREE !");
end
I = eye(n,n)
B = zeros(n,n)
for i=1 : n
B(:,i)=resolLU(A,I(:,i))
end
endfunction
|
c31225a7455422417e8b04dabb10f1595381871c | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2lp/allpasslp2lp.sci | e6cde24ce4877c65158dccaca2512240e0694e95 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,378 | sci | allpasslp2lp.sci | function [AllpassNum,AllpassDen] = allpasslp2lp(Wo,Wt)
// Allpass filter for lowpass to lowpass transformation
//
//Calling Sequence:
//[AllpassNum,AllpassDen] = allpasslp2lp(Wo,Wt) returns the numerator, AllpassNum, and the denominator, AllpassDen, of the first-order allpass mapping filter for performing a real lowpas... |
659b7c203fa0a1a5c655d2886ec95a7422a0c7e7 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_cloud/builder.sce | 30c6f4cea7a5ee80a2437b1b6fb8c659cf2d69e5 | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,559 | sce | builder.sce | // Copyright (C) 2008 - INRIA
// Copyright (C) 2009-2011 - DIGITEO
// This file is released under the 3-clause BSD license. See COPYING-BSD.
mode(-1);
lines(0);
function main_builder()
TOOLBOX_NAME = "Machine_Learning";
TOOLBOX_TITLE = "Machine_Learning";
toolbox_dir = get_absolute_file_path("builder.... |
3564f0339ad4a3cd9e65fa238ebc1ebfee6aca42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH2/EX2.2/Ex2_2.sce | 5ba524c47bd00e05e45efec25b4ef9e219915f78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | Ex2_2.sce | //Chapter-2 Ex-2.2 Pg-2.18
clc
clear;
disp("refer to the Figure-2.19 given ")
disp("from the characteristics at point P, Vf=0.7V,If=60mA")
Vf=0.7;
If=0.06;
Rf=Vf/If;//DC forward resistance
printf("\n DC forward resistance Rf : %.2f ohm\n",Rf)
disp("as the forward voltage changes from P to Q")
delta_Vf=0.77-.7... |
889fc7e14a42a04b1bd31b00194f752d66c793d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH3/EX3.10/Ch03Ex10.sci | 68e13f7ca651d89fbaea87fbc323f5703d740789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sci | Ch03Ex10.sci | // Scilab code: Ex3.10 : Momentum of proton: Pg: 81 (2008)
U = 1.6e-010; // Kinetic energy of proton, joule
h = 6.624e-034; // Planck's constant, J-s
m = 1.67e-027; // mass of proton, kg
v = sqrt(2*U/m); // Velocity of proton, m/s
p = m*v; // Momentum of proton, kg m/s
printf("\nThe momentum of pr... |
0d538424c4b546b62f445e60006403c446e2fe79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH3/EX3.2/Ex3_2.sce | 4dc0683d49c29e7e831cb9b37418e309bd8b5e67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | Ex3_2.sce | clc
//to calculate wavelength of light
//in a diffraction pattern due to single slit, minima is given by e*sintheta=m*lambda
//since theta is very small, sintheta is approximately equal to theta
//theta=Y/d
e=0.014 //width of slit in cm
d=200 //distance in cm
m=2
Y=1.6 //in cm
lambda=Y*e/(d*m)
disp("waveleng... |
36c7d5fe23164ae806f4c179174d17f520fc0716 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH5/EX5.17/ex5_17.sce | 27dbe683f3298d3527e29894d794be39f759be3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | ex5_17.sce | // Example 5.17, page no-316
clear
clc
r=150
v=120
Q=4*v*r
printf(" Volume flow rate Q=%d cm^3/min = %d litres/min",Q,Q/1000)
|
fcdca99ab890841b7ef296e9572a03a016b4bf8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH3/EX3.13/example3_13.sce | f9c8992c4c15f209d950e24a5ebbe84ba30b61d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 741 | sce | example3_13.sce |
//example 3.13
//compare the efficiency
clc;funcprot(0);
//given
ql=20; //discharge in left branch
Al=20000; //culturable area in left branch
Bl=120; //Base period in left branch
Il=0.8; //intensity of rabi in left branch
qr=8; //discharge in rigth branch
Ar=12000; ... |
176b50a86d0e5d68ce161259a0810a5eb3267bbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH5/EX5.13/Ex5_13.sce | 305213f39397d6a1379fafc352c5652954ee6260 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 842 | sce | Ex5_13.sce | clc
//variable Initialisation
Vm=400 //Terminal Voltage Of Motor In Volt
F=50 //Supply Frequency
P=6 //Number Of Pole
R1=1.5 //Resistance Of Motor in Ohm
R2=1.5 //Resistance Of Motor in Ohm
X1=2.5//Reactance in Ohm
X2=2.5//Reactance in Ohm
Nr1=900 //Speed Of Rotor In RPM
Nr2=400 //Speed Of Rotor In RPM
//S... |
4842e26f13ed3d18ce8051d361ac37a97d7d3ef6 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Setpt.sci | a3b86b0199aaf22cb68a1c117d184a3b4fb637c1 | [] | 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 | 273 | sci | Setpt.sci | //
// 09.02.27
function Setpt(varargin)
global TenSize TenSizeInit;
Nargs=length(varargin);
if Nargs==0
Tmp=TenSize/TenSizeInit;
Tmp=round(Tmp*100)/100;
disp(Tmp);
return;
end;
Size=varargin(1);
TenSize=TenSizeInit*Size;
endfunction;
|
1e4b243fbca6785c9bcc2038cead3cf9923a33e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH16/EX16.13/13.sce | d79742a9e14bf4b4e51ffd750d1cdbdc1bb3c766 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | 13.sce | clc
M=3; //Mach number
d=0.2; //m
p_nozzle=7.85; //kN/m^2
T_nozzle=200; //K
y=1.4;
A=%pi/4*d^2;
disp("Reservoir pressure =")
p_res=p_nozzle*(1+((y-1)/2*M^2))^(y/(y-1));
disp(p_res)
disp("kN/m^2")
disp("Reservoir temperature =")
T_res=T_nozzle*(1+((y-1)/2*M^2));
disp(T_res)
disp("K")
disp("Throat ar... |
8e1332e5f782565739970dbe34b9947a3cc75880 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH6/EX6.1/Ex6_1.sce | 504333ec2fe9cec6489b84e6e13ad7e4702815c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_1.sce | //Example 6.1//
s=300*10^6;//Pa //pascal //strain
a=0.0043;// From the figure
E1=s/a
mprintf("E1 = %e GPa= 70GPa ",E1)
mprintf(" (As G= 10^9)")
//The 0.2% offset construction gives
mprintf("\nY.S. =410MPa")
//The maximum for the stress stain curve gives
mprintf("\n T.S = 480MPa")
ef=0.08;//percent //the s... |
9687dbae6a6ca041c74d973c9c387aad005031f0 | 3cec51e4eebaeffa5b4d6731706f8125de835990 | /pruebaGrafFrecuencia.sce | 2a11de8f75b15e956b800ff842f4035dcdec1072 | [] | no_license | anmartinezdi/Signal-and-systems | f719f5c18d373bd91ad8fd8364ecf028e560e8a6 | 806c391e857a57743d5638e4cc19b7dbc498ac10 | refs/heads/master | 2021-01-20T04:47:43.027187 | 2017-05-03T04:15:37 | 2017-05-03T04:15:37 | 89,734,957 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | pruebaGrafFrecuencia.sce | [y,Fs,b]=wavread('PruebaFrec.wav');
y=y(1,:);
T=1/Fs; // Tiempo de muestreo.
L=length(y); //Longitud de la señal.
t=(0:L-1)*T; //Vector de tiempo.
NFFT=2^nextpow2(L); //Siguiente potencia de 2 de la longitud de 'y'.
Y=fft(y); //Aplica Transformada de Fourier... |
4a790afd74a45548ff17aac2b9bd93bf6a17788d | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH4/EX4.11/Example4_11.sce | 3dbd8aefdae2f5ae6e26ed5118ee5411cd5d9a55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 980 | sce | Example4_11.sce |
clear;
clc;
printf("\t Example 4.11\n");
D1=0.03; // outer diameter, m
T1=358; //hot water temperature, K
t1=0.0008; //thickness of fins, m
D2=0.08; // diameter of fins, m
t2=0.02; // spacing between fins, m
h1=20; // convection coefficient, W/(m^2*K)
h2=15; //convection coefficient with fins, W/(m^2*K)
... |
50d596c51393a48f3c35c02c27a088e5fbfddcf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH6/EX6.1/example1.sce | 7a63f8316f9090b9c72ad111f30afc715587d57a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,611 | sce | example1.sce | clc
clear
//input data
P00=3//The pressure at which air is received in bar
T00=373//The temperature at which air is received in K
rt=0.5//The rotor tip diameter of turbine in m
rh=0.3//The rotor exit diameter of the turbine in m
b=0.03//The rotor blade width at entry in m
b11=60//The air angle at rotor entry in... |
b0a99474543f350b78b1a022a6303815662c8f37 | 6aa7e38b0ca90fe7359bd05dbdeba87474bfbdfa | /MIT1.sci | 2d29dc408e6826a9d3e0ab71b82d12e670a165f9 | [] | no_license | abhinavraj12345/Scilab | 499afc50bd193fe0bda82ed298d3e8078a547941 | 9530d862984d58ca91bf7d55298381e268141e54 | refs/heads/master | 2020-04-15T16:07:57.545456 | 2019-06-13T06:56:25 | 2019-06-13T06:56:25 | 164,821,631 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sci | MIT1.sci | clc
clear
[y,Fs]=wavread("C:\Users\Abhinav Raj\Downloads\OnceUponaMidnightDreary.wav");
sound(10*y,Fs)
t=(0:length(y)-1)*1/Fs
plot(t,y)
title("Speech Signal Waveform")
xlabel("Time in seconds")
ylabel("Amplitude")
|
82de9910042446eab5e0ce0576032b35a36ec1c6 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Ptne.sci | f6452897d583b038b19d783df0a139f7d90e27d4 | [] | 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 | 221 | sci | Ptne.sci | //
// 10.01.13
function Out=Ptne(varargin)
global XMIN XMAX YMIN YMAX
if length(varargin)==0
Out=[XMAX,YMAX];
else
G=varargin(1);
XM=max(G(:,1));
YM=max(G(:,2));
Out=[XM,YM];
end;
endfunction
|
0ca531a4ba99464606e391088d3ebf96aef178ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH5/EX5.6/Example5_6.sce | 731e197917a5223e07713fef85f7b5e09c03ad1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Example5_6.sce | exec("degree_rad.sci", -1)
//Given that
g = 9.8 //in m/s^2
m = 15 //in kg
//from FBD
T = m *g
//Sample Problem 5-6
printf("**Sample Problem 5-6**\n")
//we have-
//T1cos(28) - T2cos(47) = 0
//T1sin(28) + T2sin(47) = T
//therefore
mat_1 = [cos(dtor(28)),-cos(dtor(47));sin(dtor(28)),sin(dtor(47))]
mat_2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.