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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9ed5e3c0ec1d7dfb608b562fc1d84e5f37d684df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH6/EX6.1/Ex6_1.sce | 2793b9b5a19b9c94cefb643535e384850f7a66cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | Ex6_1.sce |
//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 6.1
//OS = Windows 7
//Scilab version 5.5.2
clc;
clear;
//given
eta=0.70;//quantum efficiency
E=2.2*10^-19;//energy of the photons in Joule
Ip=2*10^-6;//photocurrent in A //the value in question is different from th... |
95116e4bb52e04435e093a24bc41d342711c77c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH2/EX2.1/1.sce | 8382e7106b853c3bb2496be86459a3bf17e39555 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | 1.sce | clc
clear
//INPUT DATA
E=80*10^9//Young's modulus of material of piezo electric crystal in Pa
d=2654 //Density of material of piezo electric crystal in Kg/m^3
t=0.1*10^-2//Thickness of piezo electric crystal in m
p=1//for fundamental first overtone
//CALCULATION
f=((p/(2*t))*(sqrt(E/d)))/10^6//Frequency of v... |
d7f3e50703a772d317c8f7086baa40e8755e8faf | b4a784116c78676b155ba6b3f4ba5366881ab800 | /comparaisonDis_Continu.sce | a0a117683e0e40de4aa62138fa9e8d20109546fe | [] | no_license | EmSavalle/Expe-Comportementale | 6d66b5cabdb91c9daab6fdef3fdb6e88e33a95ec | 798821a7c8ff2ea7251c4a09532846f8075f8853 | refs/heads/master | 2023-02-24T18:25:05.071965 | 2021-02-01T09:53:02 | 2021-02-01T09:53:02 | 310,548,136 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,057 | sce | comparaisonDis_Continu.sce |
active_buttons = 1;
button_codes = 1;
begin;
sound {wavefile { filename = "song.wav";};} sound1;
array{
sound { wavefile { filename = "1000ms/audioMosquito0_m5.wav";};} sound0_m5;
sound { wavefile { filename = "1000ms/audioMosquito3_m4.wav";};} sound3_m4;
sound { wavefile { filename = "1000ms/audioMosquito4_m2.wav";}... |
fb631bc620ed9e35196d6b31a0dc9977c5c37b24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH8/EX8.2/example8_2.sce | 1ac2f87457a929d4f1254bf34835a3bb9e5f3fbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | example8_2.sce | //clc()
P = 101.3;//kPa
Per1 = 10;//%
Pa = P * Per1 / 100;// ( a - benzene )
Ps = Pa;//( saturation )
//lnPs = 13.8858 - 2788.51/(T - 52.36)
T = 2788.51 / ( 13.8858 - log(Ps)) + 52.36;
disp("K",T,"Temperature at which saturation occurs = ") |
e68073f4f83810bbc97f0c5517fc7d014e59e468 | af13f4527ded97c22814716149f9b9d5a73648bf | /scilab/contact_point.sci | e56b99ce9d4ea759731fdd27dff97bcb56c10560 | [] | no_license | kirillin/parking-lego-car | 796b19365a3f07e1882e9334d60870f133b05148 | 04db2c1ffee510f383c8c881259222d042b5f79b | refs/heads/master | 2021-09-04T08:57:03.778566 | 2018-01-17T13:49:17 | 2018-01-17T13:49:17 | 110,357,015 | 1 | 0 | null | 2017-11-24T21:58:12 | 2017-11-11T15:36:16 | Python | UTF-8 | Scilab | false | false | 2,231 | sci | contact_point.sci | // for search of contact point of bottom arc and inclined line
function answ = contact_point(point_7, point_4, R)
x_7 = point_7(1);
y_7 = point_7(2);
x_4 = point_4(1);
y_4 = point_4(2);
function [y] = f1(x)
y(1) = (x(1) - x_7)^2 + (x(2) - y_7)^2 - R^2;
y(2) = (x(1) - x_7)*(x_4 - x(... |
a6cc2be63546835df9ef3ecdcd3a9d785e7bd47b | 4649da03878fae55d14dca483bb2bfa2213004e5 | /ais/tags/0.0.1/testaisclient/testhttpxmlamp.tst | 3d4e7fb0fb835f6845486f6b724fc85316d362f7 | [] | no_license | rms1000watt/aiserver | 2fba20a1199e1ae366176bbd9db0ffc12ab671c3 | dbc81369dfc68732aff858a585656f0c7a85b453 | refs/heads/master | 2023-01-01T18:58:15.139028 | 2020-10-30T18:21:13 | 2020-10-30T18:21:13 | 308,709,836 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,589 | tst | testhttpxmlamp.tst | # ais/testaisclient/testxmlhttpamp.txt
# Tests using XML documents via a HTTP port
# NOTES
# 1. See testsuite.tst for more info on constructing tests.
# CHANGE HISTORY (put latest entry at top)
# Version Date Who Change
# 1.0104 9/8/2006 tlw Fix error in protocol for (noop).
# 1.0062 5/17/2005 tlw Test ... |
de88ac2c634324903ff8ca256385e8d4543842b8 | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/FalseNegsForAudioSamples.sci | 1708f9235ca06f17b22c43ea1383a938a064274f | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sci | FalseNegsForAudioSamples.sci | function falseNegs = FalseNegsForAudioSamples()
//tests each audio sample with the associated filter
//falsenegs is the array for which the samples does
//not pass it's associated note filter
falseNegs = zeros(1,48);
for stageIndex = 0:3
for noteIndex = 0:11
audioSam... |
d5de32458355adbf00bca44885a6ad9049e43ce7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH11/EX11.25/Ex11_25.sce | cf6b0ffebfe66cacc20b1db88bbebba244a9adbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,047 | sce | Ex11_25.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 11 - Centrifugal Pumps
//Example 11.25
//To Find the Discharge and Head of the Pump at Condition '2' and '3' and Compare the Power Consumed in all the cases.
clc
clear
//Given Data:-
//At Condition '1'
N1=750; //Speed, rpm
... |
444f9cd724f848ebf64433315b95601920b484e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.40/EX_2_40.SCE | aad93c2105ee8e73d2f1f88eb2f28fd74e5ff468 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | EX_2_40.SCE | // Example 2.39.b: R1 & R2
clc;
clear;
close;
Vcc=5;// Colector voltage in volts
Beta=100;
Vce=2.5;// Collector to emitter voltage in volts
Vbe=0.6;// Base to emitter voltage in volts
R4=0.3;// Resistance in killo ohms
R2=10;// Resistance in killo ohms
Ic=1;// Collector current in mA
Vr4=(1+(1/Beta))*Ic*R4;
... |
6c146c2e077863af451ac5e61c9ab8156b55c7a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH9/EX9.2.b/67ex2b.sce | 33dcd4c4ad43bec30ea49d1d469f71ad5c79e444 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | 67ex2b.sce |
//what inequality is represented on no. line
clear;
clc;
close;
x=string(0:10);
n=string('<'+strcat(x,'---')+'>'); //0 to 10 no. line
n1=string(strsubst(n,'0---1---2---3','_____________'));
mprintf("\n the number line \n %s represents n1<=3 ",n1)
... |
54201c8b06f6ea69a74dadaea8065f1c8f26a265 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH7/EX7.7/ex_7.sce | fd62764933b661d7362c9598102cb47359b5569b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | ex_7.sce | // PG (494)
A = [4 1 0 0;1 4 1 0;0 1 4 1;0 0 1 4]
B = A/4 - eye()
norm(B,'inf')
// Let (I+B = C)
C = eye() + B
inv(C)
// Inverse of (I + B) exists
norm(C,'inf')
// Inverse of A exists.
|
bdd0038743cee67e1d562a29bab9ee5c3384ef0c | 3dbdc1a91ad07ea5fc4c4fa52a6fa2a6870125a6 | /calculo-numerico/residuo-fatorcorrecao.sce | c33d99f29ff3ad569a184651b3656e999dd914fe | [
"Apache-2.0"
] | permissive | geovani-moc/Algoritmos | 226ceea9b599bb1979770ac001f5108a0533bb00 | d2d838c158da62a94946a7af29b24ca7396af34e | refs/heads/master | 2023-01-09T12:40:50.330766 | 2020-11-06T17:46:46 | 2020-11-06T17:46:46 | 256,744,544 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | residuo-fatorcorrecao.sce | clc;
clear;
//A = input("Entre com a matriz A: ");
A=[5 -2 3;-2 10 4;3 4 20]
//b = input("Entre com o vetor b");
b=[31 -10 81]'
//x = input("Entre com o vetor x");
x=[10 11 12]'
r = A*x-b; //residuo
c = A\r; //correcao
while norm(c,'inf')>=10^(-3)
x = x + c;
r = b-(A*x);
c = A\r;
end
disp(x)... |
ff81c0b5bf404dc899df59924bdcc8d197f64767 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH2/EX2.2/ex2_2.sce | 82a5196ec113ad6ce5ad7c505e63d40e9704a9d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | ex2_2.sce | //Determine the conductivity of extrinsic semiconductor
clear;
clc;
//soltion
//given
e=1.6*10^-19;//Coulomb //charge of an electron
ni=1.5*10^16;//per m^3 //concentration
un=0.13;//m^2/Vs //mobility of electron
up=0.05;//m^2/Vs //mobility of holes
Si=5*10^28;//per m^3 ... |
08207aa008e36b3971c5c05137af9edf65fe7788 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH9/EX9.2/Example9_2.sce | af7bf6c61939286ad9d6421adf7997e99a7e61e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,023 | sce | Example9_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 II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 2: CONSTANTS OF OVERHEAD TRANSMISSION LINES
// EXAMPLE : 2.2 :
// Page number 101
clear ; clc ; close ; // Clear the wor... |
25e1fc2c1e3b0e7e6d3b494e4ce852c8ad626b78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH2/EX2.4/Ex2_4.sce | 95272dbf3909495949a0ebeca8df458016972fde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ex2_4.sce | clc;
l=0.02; // air gap length
i1=20; // intermediate current
i2=40; // current during armature movement from open to close position
// from fig 2.11
f1=0.04*i1; // flux linkage during open position at A
f2=1.2+0.03*(i1-20); // flux linkage during close position at D
f3=0.04*i2; // flux linkage during open posi... |
a8f638761aa64beccf1d59e2a3aaa9fce267d909 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH1/EX0.7/EXI_7.sce | 4e0f0cb53a82b710f579d858e04ed61c7cfcf26a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EXI_7.sce | // Grob's Basic Electronics 11e
// Chapter No. I
// Example No. I_7
clc; clear;
// Express the power value of 250-W using the appropriate metric prefix from Table I–2.
disp ('In this case, it is not necessary to use any of the metric prefixes listed in Table I–2. The reason is that 250-W cannot be expressed as a... |
a19169752ea8b00b37e78ec90387ce5c746520b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH22/EX22.3/Ex22_3.sce | 6217589e6a811be643a1f2afc2d38dff330760bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | Ex22_3.sce | //Example22.3
clc
disp("Solution a")
c=3*10^8// Constant in m/s
n=1.458
v=c/n
disp(v,"Velocity in m/s=")
disp("Solution b")
lambda_o=589//in nm
lambda_n=lambda_o/n
disp(lambda_n,"Wavelength in Fused quartz in nm=")
|
d9bdeb77f763b87aea927bf61b1bcc8a08509364 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH12/EX12.4a/eg12_4a.sce | 62d584bddefd02659b63874c721fd5223d3afc9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | eg12_4a.sce | X= [65.2 67.1 69.4 78.2 74 80.3];
Y = [59.4 72.1 68 66.2 58.5];
Z = [X Y];
Z = gsort(Z,'g','i');
[m n]= size(X);
[p q] = size(Z)
T = 0;
for i=1:n
test = X(i);
for j =1 : q
if(test== Z(j))
T = T+ j;
end
end
end
disp(T, "The test statistic is ") |
71176c90306bc020411ecbb04161074f8a5e8af0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.12/Ex15_12.sce | 4d69a26bad94bd114b3d3578a82e833ce7c4f32a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex15_12.sce | //Finding resistivity
//Example 15.12(pg 399)
clc
clear
V=0.05//volume in m^3
l=300//length in m
R=0.0306//resistance of conductor in ohm
rho=R*V/(l^2)//resistivity of conducting material
printf('Thus resistivity of conducting material is %e ohm-m',rho)
|
86b9365b06b3786b5b309e8b7afd1287a83f0bfa | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.25.sce | 9f40663bfb8b4098e8b1ec831efa190d5b0b9a2f | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | Ch_6_Eg_6.25.sce | // A function to calculate the distance between two points.
function [dist]=calc_dist(x1, y1, x2, y2)
dist=sqrt((abs(x2-x1))^2 +(abs(y2-y1))^2);
endfunction
// A function to calculate the area of a triangle
function [a]=calc_area(b, h);
a=.5*b*h
endfunction
// Main program
d=calc_dist(-5,-4,-6,4);
... |
dd7c8a4327794beb4b77f9e11a3ea63abaa8a420 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH5/EX5.3.5/Example5_3_5.sce | 4ee54f5597c327ecb20abd9c3fd36a594f057d40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_3_5.sce | //Example 5.3.5 page 5.10
clc;
clear;
optical_power=-10;
receiver_sensitivity=-41;
total_margin= optical_power-receiver_sensitivity;
cable_loss= 7*2.6;
splice_loss= 6*0.5;
connector_loss= 1*1.5;
safety_margin= 6;
total_loss= cable_loss+splice_loss+connector_loss+safety_margin;
excess_power_margin= total_... |
f8ef778808743062e0f6b4fce7e59b2147596b5a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/metanet/is_connex.sci | 63b39c42cf993991f38113f2eefa9960a0a9fb68 | [
"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 | 538 | sci | is_connex.sci | function res=is_connex(g)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs<>1 then error(39), end
// check g
check_graph(g)
// compute lp, la and ls
ma=prod(size(g('tail')))
n=g('node_number')
if g('directed') == 1 then
// if the graph is directed, get the corresponding undirected one
[lp,la,ls]=m6ta2lpd(..
[matri... |
f30f95585be1834f15999b9edb8afeac346c274e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH3/EX3.6/Ex3_6.sce | e3da8ff85dba8612a3a6fb75875f5cd3e6144ce7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 938 | sce | Ex3_6.sce | clc
//extension of Ex3_1
//uses a userdefined function complexstring
function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
I2=10
V2=1000
r2=1
X11=20 //in o... |
4f798cbf1de72ca2cb911779a7531d6fa6c1e74e | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH18/EX18.1/Example_18_1.sce | 9a438281ada684e76bfbf763db0a25f47686a581 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_18_1.sce | //clear//
clear;
clc;
//Example 18.1
//Given
xF = 0.50;
P = 1; //[atm]
f =0.0001:0.2:1.2;
A = -(1./f-1);
x = [0.01:0.01:1];
for i =1:length(f)
y(i,:) =-A(i)*x+xF/f(i)
end
//From Fig. 18.2
xB = [0.50,0.455,0.41,0.365,0.325,0.29];
yD = [0.71,0.67,0.63,0.585,0.54,0.5];
//From Fig 18.3
T = [92.2,93.... |
8cf15cde1e60f2773c10d988b155bac8ccedce64 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testuint8.sce | b1507a200ae0a8612caadcee16059efef5815298 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | testuint8.sce | 2^4+2^7 // =144
uint8(2^4+2^7) // =144
uint8(2^4+2^7)+uint8(2^4+2^7) // 144+144=32+256
int8(2^4+2^7) //=144-256
int8(2^4+2^7)+int8(2^4+2^7) // =-112-112+256 |
8e919e2d136099e935ea5ca94e6ad41836bd1961 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.11.a/Ex_2_11_a.sce | b6690bcd8508dfe4ad47a0e3222251b2aa20a09a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_2_11_a.sce | // Example 2.11.a;Critical Angle
clc;
clear;
close;
n1=1.50;//Waveguide Refractive Index
n2=1.47;//Cladding Refractive Index
Oc=asind(n2/n1);//Critical Angle
disp(Oc,"CRITICAL ANGLE IN DEGREE")
|
86f978aeed1da6054b30dd7690443f657582fb01 | 9b60b7963181dd94c8d10cdb75a83bc010957e71 | /taf_monitor_code/taf_monitor/tests/acceptance/11-military_cloud_height_thresholds.tst | 1abe5c0fc7ff5ccc2ca502543138ec2de205512c | [] | 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 | 3,241 | tst | 11-military_cloud_height_thresholds.tst | {
"EGWC 150800Z 1509/1518 18005KT 9999 BKN040 TEMPO 1510/1511 BKN020 TEMPO 1511/1512 BKN010 TEMPO 1512/1513 BKN006 TEMPO 1513/1514 BKN004 TEMPO 1514/1515 BKN002 TEMPO 1515/1516 BKN001": {
"TAF base conditions cover METAR - cloud BKN040": {
"metar": "EGWC 150850Z 18005KT 9999 BKN040",
... |
db44babe624e617a1958ee0431ae07a3c2e4469e | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.18.a/example118a.sce | 3c487489acbc0d76cb77882972185b68c0d224cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | example118a.sce | //Example 1.18a
clc;
t0=1;
T=10;
for t=1:T
x(t)=2*%pi*t/T;
y(t)=sin(x(t));
end
inputshift=sin(x(T-t0));
outputshift=y(T-t0);
if(inputshift==outputshift)
disp('THE GIVEN SYSTEM IS TIME INVARIANT')
else
disp('THE GIVEN SYSTEM IS TIME VARIANT');
end |
2ea64eb5cb7d3e7f30e6675816d3aa3cea5017a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.17/Ex4_17.sce | d49dae65ccdba8987a03312374123451c6677de7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | Ex4_17.sce | clc;
// table is given in question for plotting magnetising curve
if1=[ 0 0.2 0.4 0.6 1 1.4 1.8 2 ];
Ea=[ 6 40 80 120 194 246 269 274];
plot(if1,Ea);
xlabel('If');
ylabel('Ea');
title('magnetising curve')
v=230; // rated voltage of generator
p=10000; // rated power of generator
n=1500; // rated speed of gene... |
6551a0c59e49cca3e10db7481bafd2cdf3ae0d99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH8/EX8.8/Ex8_8.sce | 1b30c86f51bbf8397a0b767bbfb59d8102ef5971 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Ex8_8.sce | clear;
clc;
h = 120;// feet
d = 5;// feet
h1 = 49;// feet
p = 42;// lb. per square foot
c = 0.6;
//p = k*sqrt(x)
k = p/sqrt(h1);
M = integrate('18*x^(3/2)','x',0,120);
printf('Bending moment at the foot of the chimney is, M = %d lb-ft',M);
//there is an error in the answer given in text book
|
cc2a102110390e0239cc3d9782a1d53989b97fbb | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/characterization/char_gateDAC/data_gateDAC_chip11_ivdd60V.sce | 146c18004b430bd9051f45a4812e48bd96eaefb2 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | data_gateDAC_chip11_ivdd60V.sce | //hex Voltage(V)
gate_dac_ivdd60V_m=[
hex2dec('00') 1.723515;
hex2dec('10') 1.9572763;
hex2dec('20') 2.1740012;
hex2dec('30') 2.3736837;
hex2dec('40') 2.5257375;
hex2dec('50') 2.7175537;
hex2dec('60') 2.8975775;
hex2dec('70') 3.1020637;
hex2dec('80') 3.1732837;
hex2dec('90') 3.382145;
hex2dec('A0') 3.4548361;
hex2dec('... |
d8bdb416610cc11f95c233fc123d936fe3e15b91 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/fminsearch/FletcherPowell.sce | b3b4971dd07814cb3693dd91e8c2284568f08470 | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,732 | sce | FletcherPowell.sce | // This is an example for unconstraint nonlinear problems.
// Ref:R.fletcher and M.J.D Powell, A Rapidly Convergent Descent Method for Minimization Algorithms, Computer journal, Vol. 6, pp. 163-168, 1963
//Example:
//f(x1,x2,x3) = 100*((x3 - 10*theta(x1,x2))^2 + (sqrt(x1^2 + x1^2) - 1)^2) + x3^2
//theta(x1,x2) = (atan... |
b3240d9f9ee83a608b42d017e9bfb0e771fab867 | 9d0b35317cf9c6572724be7e2da4949f71a200bc | /Interpolación newton diferencias divididas.sce | b57f9749d68b4568f77d775fa4cd1c1564d45245 | [] | no_license | stephany-rivera/Metodos-numericos | ef225f7b8f134c673a245a400454e14f01b0a71d | 17961c6a2b5cffea57e5a7f4f4d3d2abc336b9cf | refs/heads/master | 2022-12-18T16:34:39.143127 | 2020-09-27T05:27:57 | 2020-09-27T05:27:57 | 298,887,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,129 | sce | Interpolación newton diferencias divididas.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[180,17],'figure_size',[800,700],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','v... |
f6b1d8cedd2dcbfc2ed54650857a6f4387167b5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.36/1_36.sce | aed0e22295aaa1c80516c31eb585f084cb480e5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,406 | sce | 1_36.sce | clc
clear
//Input data
P1=1.5;//Pressure at the inlet of the low pressure compressor in bar
T1=300;//Temperature at the inlet of the low pressure compressor in K
P5=9;//Maximum pressure in bar
T5=1000;//Maximum temperature in K
P=400;//Net power developed by the turbine in kW
Cp=1.0;//Specific heat of air at co... |
ea5cdce4616c606166a4f914e15643e0fc2e05b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.7/Ex12_7.sce | 440b372661e1faca45a92dcc77a42bd92649361f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Ex12_7.sce | //Chapter 12
//page no 442
//given
clc;
clear all;
fb=2.5; //in Gb/s
Lmax=50; //in km
dL=0.4; //in nm
D=1/fb/10^9/dL/10^-9/Lmax/10^-12*10^-9;
printf("\n Maximum allowable dispersion,D = %0.0f ps/nm-km",D);
|
a92f6bc9aa92a0d012ed1ea9c383dbef98dcaa37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH4/EX4.4/Ex4_4.sce | 55223945705a203a362979ea686a3c04ee550bb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,115 | sce | Ex4_4.sce | // Example 4.4
clear all;
clc;
// Given data
ratpower = 1075; // Output rated electrical power in MWe of the reactor
delpower_yr = 255000; // Net output power delivered in one year in terms of MWd
time_refuel = 28; // Number of days the plant was shutdown for refuelling
t... |
a6f0a39b8a429e2c483dc9912b42d18f344ee8ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH1/EX1.6/Ex1_6.sce | b1eb7ae8c0f4b337e27ca1ea0c4190922a486fba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 791 | sce | Ex1_6.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex1_6.sce.
clc;
clear;
t=[0:0.0001:4];
x=length(t);
p=ones(1,x);
for n=1:x;
if t(n)<=2
v(n)=3;
i(n)=10;
p(n)=v(n)*t(n)*i(n);
el... |
0eb41566173e1d438ec8f90784abc0c87ac8a7d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH1/EX1.7/Ex1_7.sce | 11246f2c5356d6bbaa3468308aae8e32202fc1f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | Ex1_7.sce | // Chapter 1
//Power vin dBW
//page 17
//Example no 1-7
//Given
clc;
P=120; //in Watt
P1=10*log10(P);
printf("\n The ordinary power gain %.1f dBW \n",P1); //Result
|
d2a0d0b495b930964c078d7a46a90cd164ff151d | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH4/EX4.19.1/4_19_1.sce | 1568843466950a3bda45e492b06096bc9ad653aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | 4_19_1.sce | clc;
// page no 146
// prob no 4_19_1
//An avalanche diode source is given with excess noise ratio is 14 dB
enr=14;
To=290;//Room temp in K
y=9;//Y-factor is 9 dB
//converting dB in power ratio
ENR=10^(enr/10);
Y=10^(y/10);
//From def of ENR the hot temp is
Th=To*(ENR+1);
disp('K',Th,'The value of hot temp... |
896bcd1c4ad90875c3fbf330667b33806e76037d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH12/EX12.2/12_02.sce | a68f92a2876bc045dbe22d624ca88256ce8e4078 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 12_02.sce | //Chapter 12, Problem 2
clc;
Ic=100*10^-3; //emitter current
Ie=102*10^-3; //collector current
Ib=Ie-Ic; //calculating base current
printf("Value of base current Ib = %d mA",Ib*1000);
|
78c409ece93f0faa808b0d0671cd82b5ecf02c59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH2/EX2.16/Ex2_16.sce | 1932eb4126c48f3ec9ce2e4093572b6e8c579142 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_16.sce | //caption:Find(a)arithmetic mean(b)deviation of each value(c)algebric sum of deviation(d)average deviation(e)standard deviation
//Ex2.16
clc
clear
close
x1=10//first reading
x2=11//second reading
x3=9//third reading
x4=10.5//fourth reading
x5=9.5//fifth reading
n=5//number of reading
x=(x1+x2+x3+x4+x5)/n
di... |
bc8b01b01182f01541e2ca5d4149b611e6e83402 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH11/EX11.2/11Ex2.sce | 5aa2e6ab1c9c27a557b9d177d936757d7fe8f957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | 11Ex2.sce | //Ex 2
clc;
clear;
close;
cp=490;
sp=465.50;
loss=cp-sp;
lossPercent=(loss/cp)*100;
printf("The loss is %d percent",lossPercent);
|
b49c29d4c00c0e8a622233ea4562e308537d27d9 | e1527120156f72705816c6f6071227e65c579308 | /kernel/gradients.sci | ce9ff38677a1e182aa8f8d916841f9fd8672c309 | [] | no_license | bhuepping/scilab_collaborative_filtering | 583e0a7b01ca9d53fe0e5f9346947bccd03b9229 | 39966976b862196c836e7d04bca26ebe27e25632 | refs/heads/master | 2021-01-22T12:13:02.121309 | 2012-05-31T21:41:08 | 2012-05-31T21:41:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,330 | sci | gradients.sci | function [user_gradient,item_gradient] = gradients(ratings,users,items,lambda)
nf = size(users,1);
nu = size(users,2);
ni = size(items,2);
nr = size(ratings,1);
// regularization part of the gradients:
user_gradient = 2*lambda*users;
item_gradient = 2*lambda*items;
// for each user:
// (this can cert... |
21a130c8d76960981be1091d44b08701e77c7480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH13/EX13.02/13_02.sce | 41d091396267a29ff1b8267fc84ecbac9d14459e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | 13_02.sce | //pathname=get_absolute_file_path('13.02.sce')
//filename=pathname+filesep()+'13.02-data.sci'
//exec(filename)
//Steam entering at pressure(in bar):
p1=10
//Pressure at which steam leaves(in bar):
p2=6
//Cross-section area of exit of nozzle(in cm^2):
A2=20
//From steam tables:
h1=3478.5 //kJ/kg
s1=7.7622 //k... |
d07514b49d1010c5b1bb48cb10cde02ad4740773 | 9c54bbe2cf25166ee1e39824b798850f5133ba4a | /features/dftmpfun.tst | 7b62e2b1601736bd5da126bbb73ea70fe039e807 | [] | no_license | johanlindberg/clips | a9d00aaa0295c21bd1b182856867d8433a979822 | c23c558819ebf54651b241c7acade5c433e0c781 | refs/heads/master | 2021-01-19T12:08:55.993518 | 2013-07-07T11:37:57 | 2013-07-07T11:37:57 | 11,181,538 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | tst | dftmpfun.tst | (unwatch all)
(clear)
(setgen 1)
(dribble-on "dftmpfun.out")
(batch "dftmpfun.bat")
(dribble-off)
(clear)
(open "dftmpfun.rsl" dftmpfun "w")
(load "compline.clp")
(printout dftmpfun "dftmpfun.bat differences are as follows:" crlf)
(compare-files dftmpfun.exp dftmpfun.out dftmpfun)
(close dftmpfun)
|
5729385ace5aa5e5023b658be05f47ae48da8648 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH4/EX4.2/Example42.sce | 5fd4b897db6a59974e9d8c7c8ff6516bc825b637 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 996 | sce | Example42.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 4, Example 2")
disp("Slip factor: sigma = Cw2/U2")
U2 = 370;
sigma = 0.9;
Cw2 = sigma * U2
disp("The absolute velocity at the impell... |
19d0ac0b2364f460b677b7ac9e19a166a7c1fe19 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Setunitlen.sci | 84ea4d603b5280621c8d5ff25b45e4a1281f49be | [] | 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 | 1,424 | sci | Setunitlen.sci | // 08.12.06
// 08.12.18
// 09.02.20
// 09.02.27
// 14.03.05 MARKLEN
// 17.03.19 VL=[] => VL="";
function Out=Setunitlen(varargin)
global FID XMIN XMAX YMIN YMAX ULEN
global MilliIn MARKLEN MARKLENNow PenThickInit;
if length(varargin)==0
Out=ULEN;
disp(ULEN);
return;
end;
Ul=varargin(1);
Dx... |
bc9d6311cae694b2d613ce81b38a5c2ed3fb19bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH14/EX14.6/EX14_6.sce | 24df19d45d19ef60fe60b5e2c60e497a041f9952 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | EX14_6.sce | //Example14.6 // determine the duty cycle of the switching regulator circuit
clc;
clear;
close;
T =120 ; //msec // total pulse time
// T = ton + toff ;
ton = T/2 ;
// The duty cycle of switching regulator circuit is given by
d = ton/T;
disp('The output voltage of switching regulator circuit is = '+string(d)+... |
e5d5d315e42b12aed260ca841db34aa67de13ca7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH9/EX9.17/9_17.sce | 114f85e136e68384e860ae7d2753aad8c9751794 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_17.sce | clc
//Initialization of variables
hf=1187.2 //Btu/lbm
p2=100 //psia
//calculations
t=328 //F
u2=hf
disp("from steam table,")
t2=540 //F
p2=100 //psia
dt=t2-t
//results
printf("Rise in temperature = %d F",dt)
|
2a6ca9b9a6a719aa65fd4b4f5770d106ac825420 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH4/EX4.4/ex4_4.sce | dbdb73d3e748e160e1df8dcf4750b41d3af8a6dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | ex4_4.sce | //Exam:4.4
clc;
clear;
close;
Z_1=+2;
Z_2=-2;
r_Mg=0.65;//radius of Mg++ ion
r_S=1.84;//radius of S-- ion
r=r_Mg+r_S;//net radius(in Angstrom)
R=r*10^(-10);//net radius(in meter)
e=1.6*10^(-19);
E_o=8.854*10^-12;
pi=22/7;
F=-Z_1*Z_2*e^2/(4*pi*E_o*R^2);//force of attraction between ions(in Newton)
disp(F,'... |
39428216cca21acb680a28ba3f5bcd22bcbbba31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH4/EX4.4/ex4_4.sce | b2dcce44efaf0253d3cabab0aadd20780ba4a08d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | ex4_4.sce | // Exa 4.4
format('v',7);clc;clear;close;
// Given data
t1 = 83.33;// in ms
V_R = 100;// in mV
Vi = 100;// in mV
fc = 12;//clock frequency in kHz
fc = fc* 10^3;// in Hz
Digitaloutput = round(fc*t1*(Vi/V_R)*10^-3);//digital output in counts
disp(Digitaloutput,"The Digital output in counts is");
|
d76e405f6038786b82caab0a58d50e03d7162970 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH11/EX11.14/Ex11_14.sce | eecb7c8b82f276eaf1f21ecd5cc4f035e259bcea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 927 | sce | Ex11_14.sce | // Example 11_14
clc;funcprot(0);
// Given data
m_w3=10000;// kg/min
T_ain=20;// The temperature of air at inlet in °C
phi_1=50;// Humidity in %
T_aout=32;// The temperature of air at exit in °C
phi_2=98;// Humidity in %
T_win=40;// The temperature of water at inlet in °C
T_wout=25;// The temperature of water ... |
c9be0f52152228ee4df8c019f5e1a9a60b898789 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH9/EX9.4/9_4.sce | 42d84144de3afc5f450bffa316bf6da3b632f6d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 9_4.sce | clc
//Intitalisation of variables
clear
m= 4 //gms
p= 6.4*10^-4 //atm
T= 27 //C
R= 0.082 //lit atm deg^-1 mole^-1
//CALCULATIONS
M= R*(273+T)*m/p
//RESULTS
printf ('Molecular weight of polymer = %.1e gms',M)
|
18004803a993a00c4fe46d3846de145eea4fb2ff | f78a758dc17a311b355e12366d1315f7a9c2b763 | /ISO/ISO 7637-2 2011/5.6.2 Test pulse 2b 5.tst | 64694255135ad386e8cf6a6d49f2046c03be9701 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | tst | 5.6.2 Test pulse 2b 5.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE AUTOTEST>
<AutoTest version="2.0.0" wavetype="2">
<Pulse>Pulse 2b</Pulse>
<Title>Level IV 24V</Title>
<Organization>ISO</Organization>
<Standard>ISO 7637-2 2011</Standard>
<Item>5.6.2 Test pulse 2b</Item>
<Count>10</Count>
<sy... |
437e4ef6be6bd81d755414ca5559289794d602fe | e806e966b06a53388fb300d89534354b222c2cad | /macros/imhistmatch.sci | 0792aefd6734d6bb31875d4dce126c0ace672dbe | [] | 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 | 518 | sci | imhistmatch.sci | function [outputImg]=imhistmatch(inputImage,refImage,varargin)
[lhs rhs]=argn(0);
if rhs>3
error(msprintf(" Too many input arguments"));
end
inputList=mattolist(inputImage);
refList=mattolist(refImage);
select rhs
case 2 then
outputList=opencv_imhistmatch(inputList,r... |
67809901aeaaad35a16f2a63b76bbb6c27d8d887 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH5/EX5.7/ex5_7.sce | 3e1a2c7918520fe41a23db4ca72e93fcb4e9b267 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | ex5_7.sce | clc;
F=150; //F in lb
s=10; //distance in ft
t=5; //time in sec
P=(F*s)/t; //Power in ft.lb/sec
disp(P/550,"Power in hp = "); //displaying power in hp |
ac0e89acb7f028c92f4018260217e28bc867d6fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH10/EX10.6/ex10_6.sce | c2a31adfbffe8ad3a7ef1319005651a99a789a0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,332 | sce | ex10_6.sce | //define the S-paramters of the transistor at resonance frequency
s11=1.1*exp(%i*(170)/180*%pi);
s12=0.4*exp(%i*(-98)/180*%pi);
s21=1.5*exp(%i*(-163)/180*%pi);
s22=0.9*exp(%i*(-170)/180*%pi);
s=[s11,s12;s21,s22];
//define oscillation frequency
f0=8e9;
w0=2*%pi*f0;
//define parameters of the dielectric re... |
2f68f08d487150cd8893ea8cac81899f40184e27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH2/EX2.3/Ex_2_3.sce | 6863c06331a5395b6f2a8461edd73a98b39fadf5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | Ex_2_3.sce | //Optical Fiber communication by A selvarajan
//example 2.3
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
//given
ncore=1.505//refractive index of core
nclad=1.502//refractive index of cladding
V=2.4//v no. for single mode
lambda=1300e-9//operating wavelength in m
//to find
NA=sqrt(ncore^2-ncl... |
395e7e23274355537b66489ad92465cc6aadbb15 | 1cbce41ea16b5485d0ee930bccdf43682a8db11b | /release/linux-cortexm-1.11.0/projects/performand/data/datalog-all105/p.sce | 1e6a75dffe2c0ee1f4cca1cadbd471848c2a8020 | [] | no_license | jpabb7/performand.k70.2 | 4db203348d7b4ddb0cca09eebb888490cf75c647 | df7220c3a05942c01a2b52493eaedfc2ef18199b | refs/heads/master | 2021-05-28T12:43:08.008574 | 2014-02-13T09:29:09 | 2014-02-13T09:29:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,942 | sce | p.sce | // Read datalog-all files and extract and plot features
clear;
clc;
clf();
fd = mopen('/home/rasmus/performand.k70.2/release/linux-cortexm-1.11.0/projects/performand/data/datalog-all105/datalog-all105.0.txt', 'r');
linecounter = {1,1,1,1,1,1,1,1,1,1};
magXaxis = zeros(2, 5000);
magYaxis = zeros(2, 5000);
magZaxis = z... |
0691b462c842daf61d058883f848703aa3d7a6e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH27/EX27.1/Ex27_1.sce | 19dfb96beafddc617210883298eb307ce108745c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex27_1.sce | //Example 27.1
m=3;//Third-order constructive interference
d=0.01*10^-3;//Distance between slits (m)
theta=10.95;//Diffraction angle (deg)
lambda=d*sind(theta)/m;//Wavelength (m)
printf('Wavelength = %0.1f nm',lambda/10^-9)
//Answer varies due to round off error
//Openstax - College Physics
//Download for free ... |
29613a7a4b15e9c07a9e27b2ee962a193da6b376 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH9/EX9.10.13/exa9_10_13.sce | a44ac45cce96e2cfb2c163ec85e468a586efb4ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | exa9_10_13.sce | //caption:obtain_time_response
//example 9.10.13
//page 397
syms t;
A=[0 1;-2 0]
x0=[1 1]'
[r c]=size(A);//size of matrix A
//since exp(At)=I+A*t+(A*t)^2/2+(A*t)^3/3+...
I=eye(r,c)
p=I+A*t+(A*t)^2/2+(A*t)^3/3
x=p*x0;
disp(x(1,1),"time response of the system,x1(t)=");
disp(x(2,1),"time response of the system... |
18b09b7b7b0217ca15aaff65af9dbc99dcab3c03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH8/EX8.1/Ex8_1.sce | 45c8ab5f7a714a76bb4b033a8bff99c53cf4c1f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,002 | sce | Ex8_1.sce | // Problem 8.1,Page no.206
clc;clear;
close;
k=1 //KN/m //stiffness of spring
P=45 //N //Maximum Load
sigma_s=126 //MPa //Max shear stress
L=4.5 //cm //Lenght of spring
G=42 //GPa //Modulus of rigidity
//Calculations
//sigma_s_max=16*P*R*(%pi*d**3)**-1 //Max shear stress
//After substituting values in above equati... |
23fa1b979eba53b971f34576752034755da83d88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH11/EX11.6/ex_11_6.sce | 41467a747ffb304bf1afeeb9f95dd5f54a315709 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | ex_11_6.sce | //Example 11.6: Current
clc;
clear;
close;
//given data :
format('v',8)
ix=200;//amperes
r=0.02;//in ohms
x=poly(0,"x");
p=-19+12*x+0*x^2;//
y=roots(p);//km
ipx=ix*(3-y);//in amperes
inx=2*ix;//in amperes
it=ipx+inx;//in amperes
disp(it,"current through negetive booster in amperes is")
|
1b7edc731203e69a31b367fae9a7e5641d7e14d2 | a90555c1b25caa293679dea7166187dc891e4b3b | /laboratrona4.sce | 5a28af43cb89a3274733e2ee438f17f45d9c31a6 | [] | no_license | MukMak/laboratory_works | 298ed8cb941f5bf1c2ac6a8e90bd7ac566acfc6e | 2e637ac262d9ed91ea755b094aedd97a11c3a9a4 | refs/heads/master | 2021-09-10T06:46:59.773963 | 2018-03-21T20:19:43 | 2018-03-21T20:19:43 | 119,851,079 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | laboratrona4.sce | clear
clc
clf
x = [-3:0.25:3]
disp (x)
y1 = sqrt(1 + x.^2 ./(1 + x.^2))
y2 = 2 .*abs(cos(x))
plot(x,y1,'LineStyle','--','Color','r','Thickness',3,...
'Marker','s','MarkerEdgeColor','b','MarkerFaceColor','y',...
'MarkerSize',8)
plot(x,y2,'LineStyle','-','Color','g','Thickness',3,...
'Marker','o','MarkerEdgeColor','r','... |
1f1b6025855f1aec2c24d4272dfb17789668d4fe | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Utility/PIL_nest_loop.sci | 302215f62d350bfebb0b285ddfe19c7cd3e7bc1e | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,206 | sci | PIL_nest_loop.sci | // **** Purpose ****
// generate the index of a dynamic nested for loops
// **** Variables ****
// [loop_mat]: n x 2, integer
// <= describes the range of each loop
// ex:[2,5;3,7;1,5] means 2:5, 3:7, 1:5
// [loop_index]: n x m, integer
// => the index of each loop
// **** Version ****
// 05/01/2014 first built
// ... |
a4722af579b401c6e584569f431c7bc91bb31cdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH13/EX13.2/Ex13_2.sce | 1276604bca290dc56b5a3c9f97336478f10da1cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Ex13_2.sce | //Initilization of variables
m=5 //kg
s=12 //m
v=4 //m/s
vo=0 //m/s
g=9.8 //m/s^2
mu=0.25
//Calculations
//Using the kinematic equations of motion
a=(v^2-vo^2)/(2*s) //m/s^2
//Using Newtons Principle
N1=g*m //N
P=m*a+mu*N1 //N
//Result
clc
printf('The value of P is %fN',P)
|
7aecaa603e340f4215f7411e5a8f7f355dfe4ca5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH7/EX7.7/Ex7_7.sce | 64f355e5556de2cdcdf4522f55dd84ed84fc27b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | Ex7_7.sce | clc
//to calculate de Broglie wavelength
V=100 //potential difference in volts
lambda=12.25/sqrt(V)
disp("de Broglie wavelength of any electron is lambda="+string(lambda)+"angstrom")
|
05a50718bc6b35cba19743a81ef6889b954a239b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH2/EX2.7/Ex2_7.sce | 6262bde8310e96e0695ce9d87201b80313daa21f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,237 | sce | Ex2_7.sce | clc
// Given that
thetaF= 1540 // Temperature of mould face in degree centigrade
thetaO = 28 // Initial temperature of mould in Degree centigrade
L= 272e3 // Latent heat of iron in J/Kg
Dm = 7850 // Density of iron in Kg/m^3
Cs = 0.67e+3 //Specific heat of iron in J/Kg-K
C = 0.376e3 //Specific heat of copper in J/Kg-K... |
b28c53618031767f86cd5154e832c1baeb1efbf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH23/EX23.1/1.sce | 6d66f2d0d902b7b536e496569b47feae2be14034 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | 1.sce | clc; funcprot(0); //Example 23.1
//Initializing the variables
Q = [0:7:56];
H = [40 40.6 40.4 39.3 38 33.6 25.6 14.5 0];
n = [0 41 60 74 83 83 74 51 0];
N1 = 750;
N2 = 1450;
D1 = 0.5;
D2 = 0.35;
//Calculations
Q2 = Q*(N2/N1)*(D2/D1)^3;
H2 = H*(N2/N1)^2*(D2/D1)^2;
xlabel("Q (m3/s)");
ylabel("H (m of wat... |
a73d49d8ecd6deca458634a47127031f574ca904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /287/CH18/EX18.5/Exa18_5.sci | 52ae69ddd1b4f3d2d08a7841d29a3036c9db0af4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Exa18_5.sci | ////Determine the traffic intensity during the eight-hour period and the busy hour
n = 11;
t = 8;
Cd1 = 3+10+7+10+5+5+1+5+15+34+5;
Cd2 = 34+5;
CAR2 = 2;
CAR1 = n/t;
Hbar1 = Cd1/(n*60);
Hbar2 = Cd2/(CAR2*60);
I1 = CAR1 * Hbar1 ;
I2 = CAR2 * Hbar2 ;
disp(I1*36, 'Traiffic Intensity (in CCS)')
disp(I2*3... |
f0aea71facc6b3a6526274773a14d3281dda9007 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_MarsProject/test_bol.sci | f630d1c43368c353645ea3ebd5c4599732520dd7 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,436 | sci | test_bol.sci |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\MarsProject\Sub\SUB_general.sci");
sf=T_scene_create;
sss=T_getscene;
sss.ambientlightcolor=color(0.3,0.3,0.3);
sss.VolumeShadowAdd(0,color(0,0,0,0.5),0.0002,20);
bol=sf.add("sphere");
bol.color=color(1,0.5,0.5);
bol.radius=0.5;
b... |
bfad19c60c35f4fc79ef676ce30eb2d311213375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH5/EX5.10/5Ex10.sce | d44f4374ce7c13593a74d07ca082e8b83f9cb795 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | 5Ex10.sce | //chapter 5 Ex 10
clc;
clear;
close;
//let the value to be found out be x
x=((13/12)^2-1)*144;
mprintf("x=%.0f",x);
|
a68256464539f3fd826da83776b3f52cbce351fa | 940067908a620ecf3af07168e750cd30769047e4 | /AlgorithmeInterpolationDifiCro.sci | d05bd79e58e8ab6a11d01044a0926eef9b9dbd6c | [
"MIT"
] | permissive | davidfotsa/Numerical_Methods_With_Scilab | 9bada60e6feba012fa7a52ce0e0ea85a40afd0d4 | a3c731888b8a7a77f0d851210bc62e00e348ace9 | refs/heads/main | 2023-08-01T13:11:14.528993 | 2021-09-28T04:19:38 | 2021-09-28T04:19:38 | 407,939,339 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sci | AlgorithmeInterpolationDifiCro.sci | //Algorithme Interpolation Newton differences finies croissantes
funcprot(0);
function f=factoriel(n)
f=1;
if (n>1) then
for i=2:n
f=f*i;
end;
end;
endfunction;
function c=combinaison(k,n)
c=0;
if (k<=n) then
c=factoriel(n)/(factoriel(k)*factoriel(n-k));
end;
endfunction;... |
66c50e4e070c5b15616a4cfe4962389b285b20a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH2/EX2.17/Ex2_17.sce | 2e20d010b1f9913c6f1dcd7344b7a963f0c0114d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | Ex2_17.sce | //Exa 2.17
clc;
clear;
close;
// given :
sigma=0 // conductivity in mho/m
f=0.3 // frequency in GHz
f=0.3*10^9 // frequency in Hz
omega=2*%pi*f // angular frequency in rad/sec
// formula : Gamma=sqrt(%i*omega*mu*(sigma+%i*omega*epsilon))=%i*omega*sqrt(mu*epsilon)
epsilon_0=8.854*10^-12 // permittivity in free... |
f8f241d0345181ea122d55ec960e4fa62e939ffa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH5/EX5.17/Ex5_17.sce | f6af43f48cff48de6e74fe47a40c73c2e3c304cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex5_17.sce |
clc
//initialisation of variables
Te=400 //F
Ti=80 //F
Cp=0.24 //lbm
v=300 //ft/sec
r=2000 //lbm/min
p=54 //lbf/in^2
T1=778//F
R=42.4//ft^2
W=Cp*(Te-Ti)+(v^2)/(2*p1*T1)//Btu/lbm
We=W*r/R//hp
T=Ti+460 //R
T1=Te+460 //R
hi=129.06 //Btu/lbm
he=206.46 //Btu/lbm
p1=32.17//in^2/ft^3
//CALCULATIONS
w=he-hi... |
3732de4c5813e0b2a7f4dbb9da401e1c185c176c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH15/EX15.1/15_1.sce | 16ecac39ad161aae7966967de75df59ee43e02fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | 15_1.sce | clc
//initialisations
c=8
h=3
t=5
//CALCULATIONS
a=factorial(8)/(factorial(3)*factorial(5)*2^8)
//results
printf(' \n probability of 3 heads and 5 tails= % 1f ',a)
|
d5fd2689d5592d772949f7999c72f61bc8dc49cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH1/EX1.10/Ex1_10.sce | 976d44253b8517948c45e1982344846c7b32bc56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | Ex1_10.sce | clear
//
// Variable declaration
T_f=3// The temperature of fluid in °C
T_wi=11.5// The temperature of water at inlet in °C
T_wo=6.4// The temperature of water at outlet in °C
A=420// The surface area in m**2
U=110// The thermal transmittance in W/(m**2 K)
// Calculation
delT_max=T_wi-T_f// The maximum temperature di... |
3d4709c65f4c80a3fd91e49ff1c56ff669140754 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.3/Ex5_3.sce | 74fa8e87801387cd8734c2f23b9f43b72dde8ef2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ex5_3.sce | // Scilab Code Ex5.3: Page-284 (2008)
clc; clear;
b = 2.898e-003; // Wein's constant, m-K
T = 3000 + 273; // Temperature of the source, K
lambda_m = b/T; // Wavelength of maximum intensity of radiation emitted from the source, m
printf("\nThe wavelength of maximum intensity of radiation emitted from the s... |
7f15d0218854b74c73677f0e62d39c10301f68f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH18/EX18.07/18_07.sce | 0fe86458a8ba3b66015d3800021b8dd49b9daba3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | 18_07.sce | //Problem 18.07: For the op amp shown in Figure 18.8, R1 = 4.7 kohm and R2 = 10 kohm. If the input voltage is- 0.4 V, determine (a) the voltage gain (b) the output voltage
//initializing the variables:
Vi = -0.4; // in Volts
R1 = 4700; // in ohms
R2 = 10000; // in ohms
//calculation:
A = 1 + (R2/R1)
Vo = ... |
d21d00f05e65531c4b196b83734ccf74bf297fe5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH5/EX5.6/Ex5_6.sce | c0a4cbdae382ddbdd7edf086e32ad33042d60ba0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Ex5_6.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex5_6.sce.
clc;
clear;
l=2.5e-3;
A=200e-4;
phi=0.015; //flux in weber
mew_r=1;
mew_not=4e-7*%pi;
mew=mew_r*mew_not;
R=l/(mew*A);
F=phi*R;
printf("\n... |
ae96998f5792db1c57636ba8b674a2189536ab8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH3/EX3.11/Exa3_11.sce | 26545c7a5fface064490a92f57639cc737f4c089 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | Exa3_11.sce | //Exa 3.11
clc;
clear;
close;
//Given data :
//Let Material Dispersion, lambda^2*(d^2n/dlambda^2)=a
a=0.03;//in ns
deltaTau_s=15;//in nm
lambda=1.3;//in um
lambda=1.3*10^3;//in nm
c=3*10^8;//speed of light in m/s
c=3*10^5;//speed of light in Km/s
//Part (a)
Dmat=a/(lambda*c);//sec/nm-Km
Dmat=Dmat*10^12;//... |
3d2acd1353266750d571a743a76156e1c5d8590d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH3/EX3.3/3_3.sce | b8ab8b1ceab844d91ed688a704cd63150072d193 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | 3_3.sce | clc
//Initialization of variables
V1=1.735*10^-4 //ft^3
v1=0.016080 //ft^3/lbm
h1=70.61 //B/lbm
P1=100 //psia
V2=1 //ft^3
//calculations
u1=h1-P1*v1*144/778
m=V1/v1
v2=V2/m
vf2=0.01613
vfg2=350.3
x2=(v2-vf2)/vfg2
hf2=67.97
hfg2=1037.2
h2=hf2+x2*hfg2
P2=0.9492
u2=h2- P2*144*v2/778
Q=m*(u2-u1)
//resul... |
0ae74abf75acf636fb38edd2bf41e7553e207aad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH5/EX5.18/ex5_18.sce | 26f15cf5a0593969e7e93ecad52e237cdea6c0cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sce | ex5_18.sce | clc;
p1=50; // Pressre of steam at diffuser inlet in kPa
T1=150; // Temperature of steam at diffuser inlet in degree celcius
V1=180; // Velocity of steam at diffuser inlet in m/s
A1=1000; // area of diffuser inlet in cm^2
V2=90; // Velocity of steam at diffuser outlet in m/s
p2=1; // Pressre of steam at diffuser ... |
96bccb4b7dcc2f65fa666b25abd467792bbec5b8 | 3bcfc8f144183ca138cf2dd8e0924ac604844109 | /codebrowser/refs/llvm..DebuggerKind..SCE | 85e8472599181be01102984f93cc77c3384e07c1 | [] | no_license | kanihal/kanihal.github.io | 85497ef521e3829dde69dc75e3b72d476fb7ddea | 4d70f20407fb4da5b34e35ccae8751b9b85f34bb | refs/heads/main | 2021-05-02T14:24:03.709895 | 2020-11-14T09:11:10 | 2020-11-14T09:12:22 | 24,152,425 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | llvm..DebuggerKind..SCE | <dec f='include/llvm-7/llvm/Target/TargetOptions.h' l='96' type='3'/>
<doc f='include/llvm-7/llvm/Target/TargetOptions.h' l='96'>// Tune debug info for SCE targets (e.g. PS4).</doc>
|
82c0c320d0305f79cf7d0f2495bb598bb6d89758 | f5f41d427e165a46b51c8b06f6c2010b4213033a | /Scilab/19mcmi23jan17program4.sce | e445b09bf7a546fbab9c7eda55d7071941ffdf56 | [] | no_license | rissuuuu/IT_LAB | a40f6ea5311f5d8012364cfa3d3ad37d83be3afd | 8d0f44a2b8b20ed1101c34a5cb263e6229c200cc | refs/heads/master | 2021-01-03T05:06:49.877644 | 2020-02-12T07:42:44 | 2020-02-12T07:42:44 | 239,934,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | 19mcmi23jan17program4.sce | clf();
b=4;
a=2;
x=a+(b-a).*rand(1,1000,'uniform');
histplot(1000,x)
xlabel("Number of samples");
ylabel("Range of values of uniformly generated data");
title("Uniformly distributed data in the range to b");
|
e4fb35cb5ed6e351b79769f4f9e52fc96e1a2640 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH3/EX3.4/Ex3_4.sce | dae511432b66f7259db25dd8cb31cb8e4f6fb754 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 943 | sce | Ex3_4.sce | clear all; clc;
//This numerical is Ex 3_2S,page 44.
V_r1=2.26
U_1=6.36
V_r2=1.01
U_2=19.2
//let x=tan(beta_1)
x=V_r1/U_1
printf("\n The value of ß_f1 is equal to %0.3f degrees",x)
beta_f1=(atan(x))*180/%pi
printf("\n Thus the value of ß_f1 is %0.1f degrees",beta_f1)
V_1=V_r1
W_1=(U_1^2+V_r1^2)^0.5
p... |
b41d0a29cb7bdb4458d570d662de5844c061b318 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.16/ex16.sce | c01728a6a08238ee89cdef8bc7f655d8ec3ab626 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 85 | sce | ex16.sce | clear
clc
A=[0 1 2;1 2 3;2 3 4]
B=[1 -2;-1 0;2 -1]
disp("AB= ")
A*B
disp("BA= ")
B'*A |
ca9c562e671d1f1dfb8be57e2fdc70acd0b1d155 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.32/EX3_32.sce | ad54359ee99d62c8212911749ab4c36ff724a0d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sce | EX3_32.sce | //EXAMPLE 3-32 PG NO-193
Vry=400+%i*0;
Vyb=-200-%i*346.41;
Vbr=-200+%i*346.410;
I1=14.74-%i*7.3;
I2=2.105-%i*10.94;
Ir=I1;
disp('i) CURRENT (Ir) is in rectangular form = '+string (Ir) +' A ');
Iy=I2-I1;
disp('i) CURRENT (Iy) is in rectangular form = '+string (Iy) +' A ');
Ib=... |
08cda5e0761432fcc4aa5875b19896f42c0156fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH4/EX4.4/Ex4_4.sce | 409498d7325939eedf5bdaafd1b096be8ff2bde6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Ex4_4.sce | // SAMPLE PROBLEM 4/4
clc;clear;funcprot(0);
// Given data
m=20;// kg
u_z=300;// m/s
g=9.81;// m/s^2
m_a=5;// kg
m_b=9;// kg
m_c=6;// kg
theta=45;// degree
s=4000;// m
x=3;// m
y=4;// m
r=5;// m
h_a=500;// m
// Calculation
t=(u_z*(y/r))/g;// The time required for the shell to reach P in s
h=u_z^2/(2*... |
cd84162017ac06e564deb140a1abf7f71e33999c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH5/EX5.3/Ch05Ex3.sce | b1bacbd2c917c7c9275c15f0e7dab1d7f337712c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Ch05Ex3.sce | // Scilab Code Ex5.3: Page-177 (2006)
clc; clear;
n_Na = 2.65e+22; // electronic concentration of Na, per cm cube
k_F = (3*%pi^2*n_Na)^(1/3); // Fermi wave vector, per cm
printf("\nThe fermi momentum of Na = %4.2e per cm", k_F);
// Result
// The fermi momentum of Na = 9.22e+07 per cm
|
28a2d5ccddf3560f450e9ddc978648f5f45f2cfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH24/EX24.1/Example24_1.sce | 5368764ff134ad351574369efe9e286a53bab468 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | Example24_1.sce | exec('degree_rad.sci', -1)
//Given that
R = 1 //(say)
E = 1 //(say)
A = 1 //cuve surface area of cylinder(say)
//Sample Problem 24-1
printf("**Sample Problem 24-1**\n")
flux = E*A + (-E*A) + E*A*cos(dtor(90))
printf("The net flux passing through the cylinder is equal to %fN.m^2/C", flux) |
bf5a7f8e3b7406ba95861578f5857c121a6278c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH12/EX12.1.5/example12_5.sce | 0a57d1e5f5bda11ac7e9ab832720e29bf999a0f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | example12_5.sce | //example 12.5
clc; funcprot(0);
// Initialization of Variables
l=25;
g = 9.81;
pi=%pi;
rhos=2690;//density of ore
emin=0.6;
emax=0.8;
//calculation
Pmax=rhos*(1-emin)*g*l;
disp(Pmax,"The maximum pressure drop in (N/m^2):");
Pmin=rhos*(1-emax)*g*l;
disp(Pmin,"The minimum pressure drop in (N/m^2):"); |
7e8e2956a281d5c4c504cf9553795d67b9d1a60f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH1/EX1.12/1_12.sce | 41ab014b9c4adad441cb6f9765883fbe9eb6fa74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 1_12.sce | clc
//initialisation of variables
w= 62.4 //lb/ft^3
a= 60 //degrees
l= 18 //ft
b= 4 //ft
W= 8000 //lb
//CALCULATIONS
P= w*b/(sind(a)*2)
h= ((b/(12*(sind(a))^3))*(sind(a))^2/(b/(sind(a)*2)))+0.5
h1= (1-h)/sind(a)
x= ((l*W)/(h1*P))^(1/3)
//RESULTS
printf ('Level of water = %.2f ft ',x)
|
a2f83253dee10093921d1d577783e07f4b70af5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.11.1/Ex4_11.sce | a9152485831a9936f8cff42851fa7ea5e33df670 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_11.sce | clc
clear
//At 20 degree Celcius
Cpw=4.187; //in kJ/kg
Tw=20;
H1=Cpw*Tw;
//At 8 bar condition
m=4; //mass in kg
Cps=2.1; //in kJ/kg
Tsat=170.4+273; //in K
Hg=2769.1; //in kJ/kg
Tsup=200+273; //in K
H2=Hg+(Cps*(Tsup-Tsat));
Q=m*(H2-H1);
printf('... |
ab5ee74ac099c0b1de8f216f5b01ce4ac42e9acf | e176c804d3e82d065a9c9635dad92da21c1483a9 | /libs/writepbm.sci | 2eb0d2cb2d1bcbe87b2c08e359777cb9d23b3ff8 | [
"MIT"
] | permissive | Exia-Aix-2016/ExoLife | 38f7d5e54a1fd26333f19d99a8b63f0d64cc4c4c | a88d4bc3b852f8a85b6c8cc0979ced29fb28b751 | refs/heads/master | 2021-09-07T01:47:04.742247 | 2018-02-15T11:57:47 | 2018-02-15T11:57:47 | 120,471,380 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sci | writepbm.sci | // writing image PGM RAW (8 bits) (PBM)
// usage: writepbm(img,'image.pbm');
function writepbm(image,filename)
fd=mopen(filename,'wb');
s=size(image);
mputl('P5',fd);
mputl(string(s(1)),fd);
mputl(string(s(2)),fd);
mputl("255",fd);
mput(image,'uc');
mclose();
endfunction
|
0f25ae354a33ab60f5723b526e84b8ea38e8fe16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH7/EX7.5/example7_5.sce | d55d17ef3390cb79580f5dd95221201091dc4bd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | example7_5.sce | clc
// Given that
A = 0.05// amplitude in meter
T = 10 * %pi // time period of s.h.m. in sec
// Sample Problem 5 on page no. 7.24
printf("\n # PROBLEM 5 # \n")
v = A * (2 * %pi / T)
a = A * (2 * %pi / T)^2
printf("\n Standard formula used \n v = A * (2 * pi / T). \n a = A * (2 * pi / T)^2. \n ")
printf("\n Maximum vel... |
4eb8c9e49dbaf5a88d20b6279ea8d7d7399c2f8e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/intsplin.man.tst | 0fab7e3f551b0f103df2a4d1688480e9a5fc0b5c | [
"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 | 47 | tst | intsplin.man.tst | clear;lines(0);
t=0:0.1:%pi
intsplin(t,sin(t))
|
0ff52fbcbb16f4b2e51e9abde245d7bedd218ef7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH9/EX9.33/Example9_33.sce | 54c9c3785871f27348537b95a8af0b807ea899fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | Example9_33.sce | //clear//
//Example9.33:Unilateral Laplace Transform:Time Shifting Property
//x(t) = exp(-a(t+1)).u(t+1)
syms t s;
a = 2;
X = laplace('%e^(-a*(t+1))',t,s);
disp(X)
//Result
//%e^-a/(s+a)
|
e432fc4529f156838df03636d5c99d6ae97e6df4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.63/ex2_63.sci | 05d08ed047ccc4fca0086f6d6c7f2d1037f6b44e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sci | ex2_63.sci | //Chapter 2,Ex2.63,Pg2.79
clc;
disp("Refer to the diagram shown in the figure")
A=[-1 1;12 0]
B=[2;55]
I=A\B
printf("\n I1=%.2f A \n",I(1))
printf("\n I2=%.2f A \n",I(2))
printf("\n In=%.2f A \n",I(2))
//Calculation of Rn
Rn=12*4/(12+4)
printf("\n Rn=%.0f ohms \n",Rn)
//Calcuation of Il
Il=6.58*Rn/(Rn+8)
... |
d8bc6b52725bf4757b2ab4220998a73018426bd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH1/EX1.4/1_4exam.sce | 5f6bc69c0e96e1245070b8750629616548287a98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | 1_4exam.sce | //Engineering and Chemical Thermodynamics
//Example 1.3
//Page no :27
clear ; clc
//From Ideal gas law we have v=(R*T)/P
//Given data
P = 1.4 ; //[MPa]
P_low = 1 ;//[MPa]
P_high = 1.5;//[MPa]
//At T=333*C from interpolation we have
v_cap_P1_5 = 0.18086 ;//[m^3/kg]
v_cap_P1 = 0.27414 ;//[m^3/kg]
//Mo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.